bother printing the thrown exception; this is a standard situation,
where the required jar may not have been downloaded, and the
instrumenter not compiled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327252 13f79535-47bb-0310-9956-ffa450edef68
The relationship between lead owner and lead company is not expired when converting the lead.
The reason is that as the partyRelationship which is to be expired is looked up the party group information is taken from partyGroupPartyId, which does not exist.
The correct variable to use is partyGroupId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326503 13f79535-47bb-0310-9956-ffa450edef68
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.
After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.
jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>
The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326397 13f79535-47bb-0310-9956-ffa450edef68
This is the catalog of the XML schema of OFBiz for Eclipse. Just import it and this will avoid Eclipse to go to the web for checking the xml files against their schema.
jleroux: I decided to commit, because it's a very little file and add some interesting help to Eclipse devs. For instance when disconnected and also makes sure you use the schema version corresponding to checked out code.
I added a comment about its use in the file itself and a link to wiki
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326300 13f79535-47bb-0310-9956-ffa450edef68
Per the servlet specification, the web.xml file should allow an optional <distributable/> node to indicate that the application is clusterable. Currently, OFBiz does not respect this setting and assumes all applications should be distributed if any cluster configuration is provided in the ofbiz-containers.xml file. As a result, if, for example, the DeltaManager is enable, all applications attempt to cluster and communicate via DeltaManager.
The expected and proper functionality is to check the individual application's web.xml file for the <distributable/> node and only use the DeltaManager if found; otherwise the StandardManager should be used for sessions.
jleroux: replaced some tabs, reformatted, added a comment about <distributable/> in the *-containers.file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326064 13f79535-47bb-0310-9956-ffa450edef68
In order to use these engine and event rather than the one that uses JSR223:
* for services (service definition): set the engine to "groovy" rather than "script"
* for events (event element in the controller): set the event type to "groovy" rather than "script"
The main advantage of using them is that it is possible to attach a debugger to the Groovy methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325253 13f79535-47bb-0310-9956-ffa450edef68
Description
In SFA "Create New Account" does not implement dependent drop downs for Country/State.
This is not consistent whith the behavior in the Account update form which uses Country/State dependent drop downs.
To Reproduce:
In SFA select Accounts
Select "Create New Account"
Expect: "State" values to be limited to values valid for the selected country.
Actual: "State" values include all values in stateProvinceGeoId regardless of the selected Country.
After Improvement:
State values will be filtered based on the value selected in "Country Geo Id"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325136 13f79535-47bb-0310-9956-ffa450edef68
If someone wants to change the admin password or port, he would have to change currently many files (-- build.xml, various .bat and .sh --). In order to avoid this error-prone pratice, I suggest to centralize the definition of the admin kay and port at 2 single points: the framework/start/src/org/ofbiz/base/start/start.properties and the
framework/start/src/org/ofbiz/base/start/jetty.properties
jleroux: in config.java I also changed
String adminPortStr = getProp(props, "ofbiz.admin.port", "0");
adminKey = getProp(props, "ofbiz.admin.key", "NA");
to
String adminPortStr = getProp(props, "ofbiz.admin.port", "10523");
adminKey = getProp(props, "ofbiz.admin.key", "so3du5kasd5dn");
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324989 13f79535-47bb-0310-9956-ffa450edef68