Commit Graph
21879 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 99a623be20 When I enter values in "New Password" and "Verify Password" fields without entering value in "Current Password" field then system is accepting new password without any error.
Correct flow should be : System should ask user to enter "Current Password". 
Thanks Amit for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996563 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 14:54:37 +00:00
Jacques Le Roux 71b5c1f8d3 Minor changes in the Example component.
Also changes from CommonPartyID to CommonPartyId (following our rules)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996476 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 09:59:08 +00:00
Bruno Busco 63e4c236d0 Deleted requests and view-maps no longer used. (Fixes errors reported in logs using the ArtifactInfo screen)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996323 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 14:46:20 +00:00
Jacques Le Roux ce170647e1 Fix a wrong copy/paste from a custom application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996145 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:32:18 +00:00
Ashish Vijaywargiya 7126bb1f03 For now reverting my commit r995384 as it was creating issues for others.
Very soon I will get back here with better fix, till then I will maintain patch for my own work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996122 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 11:21:42 +00:00
Jacques Le Roux 303c7be08c I missed this file in r993527 (1st pass on Example component clean-up)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996121 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 11:20:27 +00:00
Bruno Busco 6aa252df3b Added UiLabels resources loading in Porlets.
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Scott Gray f88b8cc2c3 Fix for OFBIZ-3434, rss feeds need any parameters to be included in the url and not posted in a form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996079 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:12 +00:00
Scott Gray 98198000c7 Fix target typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996078 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:06 +00:00
Scott Gray 74097de4be Fix for OFBIZ-3832, adding a forum entry causes an illegal argument exception. The problem was that one of the parameters passed to a Math.min(int, int) call was actually a String and the call-class-method doesn't attempt to convert arguments, it possibly should but I didn't change that here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996069 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:24:12 +00:00
Scott Gray 7521b01612 Content search execution code was incorrectly located within an if block, preventing the search from executing if no features were selected. Resolves OFBIZ-3927
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996057 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:34:09 +00:00
Scott Gray a8753bd854 Corrected usage of Lucene API to be compatible with our current version (2.4.1), partially resolves OFBIZ-3927
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996056 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:34:02 +00:00
Scott Gray 424a7a1550 OFBIZ_FILE dataResourceType doesn't resolve component style locations, using LOCAL_FILE instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996055 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:53 +00:00
Scott Gray b06da51278 Remove the target mime check for text/plain when writing text, previously any target type other than text/html or text/plain would always receive an empty string as output
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996054 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:48 +00:00
Scott Gray e125415317 Generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996053 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:40 +00:00
Scott Gray d15f054082 Correct direction when searching for content to index, the direction is non-intuitive but I've left it as is for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996052 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:31 +00:00
Scott Gray d0cbebbd41 Add SUB_CONTENT to the list of contentAssocTypeIds to look for when indexing content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996051 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:16 +00:00
Bruno Busco a31968aaf0 Ooops...swapped two lines in previous commit. Sorry...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995981 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:49:47 +00:00
Bruno Busco dcfaf5e4d7 Added UiLabels resources loading in Porlets.
All Portlet screens should always load all needed UI resources since they can be rendered in different PortalPages that cannot be aware of what resources are needed.
This change will allow to eliminate all UI label resources loading in MyPortal decorators so that MyPortal will not depend on so many other components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:43:37 +00:00
David E. Jones e5f21b084b Commented out changes from Jacques in 993508, these assumed that the autocompleter field was a name which breaks all fields that are meant to be IDs; if that change is improved so use the description-field-name attribute this should not happen, but for now leaving this out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995846 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 16:14:29 +00:00
Jacques Le Roux 653f7d372d To keep things consistent with r966202 and while at it I have also handled the action/event couple in HtmlFormRenderer.java.renderDateTimeField()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995771 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 12:30:11 +00:00
Scott Gray d72ba2672d Remove commented debug statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:37 +00:00
Scott Gray b0e084508a Simplify method by passing a default value to UtilProperties.getPropertyValue(...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995719 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:29 +00:00
Scott Gray 30aff06401 Formatting fixes, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995716 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:26:51 +00:00
Scott Gray aea24f851c Correct a couple of copy/paste errors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995715 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:26:43 +00:00
Scott Gray 8c91d61ece Generics markup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995704 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 08:53:18 +00:00
Bruno Busco 033bc9b63e Moved TabBar menus in the pre-body section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995695 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 08:15:37 +00:00
Jacques Le Roux d689474ae1 Update the copyright date in NOTICE file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995687 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:25:47 +00:00
Jacques Le Roux 84fb49d051 A patch from Wai "missing request-maps for search related buttons" (https://issues.apache.org/jira/browse/OFBIZ-3929) - OFBIZ-3929
Missing request-maps in ordermgr controller.xml:
clearSearchOptionsHistoryList
setCurrentSearchFromHistory
setCurrentSearchFromHistoryAndSearch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995686 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:13:41 +00:00
Jacques Le Roux 4734a1a5b6 Changes all PermSize default values from 128 to 512. It's anyway a Max, so no worries and less troubles. On the demo server we use 512 for both instances
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995580 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:32:44 +00:00
Jacques Le Roux 8796a24839 A patch from Gil Portenseigne "Error while creating a facilityContactMech if no purpose is given" (https://issues.apache.org/jira/browse/OFBIZ-3928) - OFBIZ-3928
Gil: When creating a new facility contactMech, a facilityContactMechPurpose is automatically created, even if there is no contactMechPurposeTypeId is given in parameters.
The problem is that it's impossible to create a FacilityContactMechPurpose without purpose, and contactMechPurposeTypeId is optional in service parameters. 

JLR: so it makes sense if we don't want to change the service definition (ie make contactMechPurposeTypeId mandatory).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995453 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:04:14 +00:00
Ashish Vijaywargiya 4f8585623a Fixing bug of reading node name. When we read first child element of the response of any third party integration for example ups etc, node name can't be read using "node.getLocalName()". So changing node.getLocalName() --> node.getNodeName().
Thanks Vivek for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995384 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:32:28 +00:00
Jacopo Cappellato b1141209c3 Refactored and improved the way the information about inventory items created by a production run is retrieved in the form; also added the status of the inventory: this fixes a functional bug where defective inventory items were shown together with valid ones and it was not possible for the user to figure out if the planned quantity for the production run was fulfilled or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995330 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:41:44 +00:00
Jacopo Cappellato e9245919a4 Fix for a rather important functional bug: dependent production runs were always created when a production run is created manually (and not from requirements etc.); in my opinion this should never happen, but I understand that it can be useful in some rare occasions, so I have added the option to select if mandatory production runs have to be created or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995325 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:35:24 +00:00
David E. Jones b69664a9d6 Fixed two issues: renderDisplayField macro was missing the title attribute, implemented the multi-position single forms, for a maximum position of 2 anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995313 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 04:35:26 +00:00
Adam Heath be51724bc6 Expose actions variable to other code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995207 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:48 +00:00
Adam Heath 5ee6d42aef Move duplicated code that has one screen widget calling another screen,
into a global helper method.  Eventually, this method will be altered to
be able to 'change' which screen is actually included, based on various
conditions at runtime.  This will be used to eventually support partial
ajax page updates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995206 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:42 +00:00
Adam Heath b5b019e4fe DecoratorSection was already fetching its name attribute from the
element; so call getName() on it, instead of fetching the attribute
locally.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995205 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:36 +00:00
Adam Heath 87a61d524f Remember the node's systemId, startColumn, and startLine, and use them
in a default toString() implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995204 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:31 +00:00
Adam Heath 3b4793f968 Enable tracking of xml node positions when reading documents.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995203 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:24 +00:00
Adam Heath 32fd7f2533 Add systemId to xml node location tracking; this is based on the
docDescription passed in, which in normal cases is the URL.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995202 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:18 +00:00
Adam Heath f8f89ac3c8 Add ReturnHeader.supplierRmaId, an informational header, to provide a
field to support tracking of rmas by suppliers.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995201 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:12 +00:00
Adam Heath 556d795264 On view enitity ProductFeatureAndAppl, and relations to the 2 member
entities, ProductFeature and ProductFeatureAppl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995200 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:07 +00:00
Adam Heath a372e64111 Add a missing attribute, recurringAmount, for service
updateFeatureToProductApplication.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995199 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:02 +00:00
Adam Heath 923bf9d8ff Fix several overly wide screens in specialpurpose/ecommerce:
1: product detail hard-coded the width of the image, even if the actual
image was smaller.
2: products with surveys(gift card purchase) were overly large, which
caused them to float below the left content.
3: the header on productcategory listings had background lines that
overflowed underneath the left and right columns.

The ecommerce app is now closer to something we'd actually show a real
customer, in its default configuration.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995198 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:02:58 +00:00
Jacques Le Roux f5012cfbf8 1st pass on Example component clean-up
I began to clean and make things consistent for lookups (in order to demonstrate the new Name/id mechanism) but then I realized that it should use Example entity and not Party. I will change that later and will remove all out-of-framework dependencies in the Example component 

* I have added an example of the new Name/id mechanism
* I removed deprecated snippets in ExampleForms (some were already commented out) and used rather LookupExampleFeature enhanced with autocomplete
* In FormWidgetExampleForms.xml I tried to clean things for the autocomplete in the 1st lookup, but I thing there is an issue when more than one name field is retrieved. It does not behave consistently, try for a Person and a PartyGroup for instance...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993527 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 20:46:32 +00:00
Jacques Le Roux dec4ab2572 Introduces a very simple mean to set a dependent Id field when using a Name field as a lookup (the fields must have the same prefix, eg: partyName, partyId).
It uses the description (Id) shown with the Name. Hence the Lookup screen must be set in order to show a description in the autocomplete part. 
It seems this is not always easy notably when you need to show at least 2 parts for the Name (eg Person). 
At least it easy to set and it works well for simples case for now (eg PartyGroup)

I did not find another way since Ajax.Autocompleter can't update another field. 
The alternative would be navigation to the next hidden field, at least it would avoid the mandatory Id/Name pair. 
But it's more difficult to demonstrate in Example component


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993508 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 19:55:49 +00:00
David E. Jones d5ef229814 For response -> redirect-parameter element added value attribute so you can specify a static value to include in the redirected URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993489 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 19:27:07 +00:00
Erwan de Ferrieres cd6c9502c2 OFBIZ-3912 -- Impossible to check DB by webtools https://issues.apache.org/jira/browse/OFBIZ-3912 -- A patch from Nicolas Malin\n DatabaseUtil needs a GenericHelperInfo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993407 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 16:02:38 +00:00
Erwan de Ferrieres 0b8998e9e1 Missing French uiLabel for FormFieldTitle_decoratorContentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993401 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:51:54 +00:00