[ https://issues.apache.org/jira/browse/OFBIZ-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4797. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Tom, A slightly modified version of your patch is in trunk at r1326397 Your 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; > eCommerce Edit Contact Information use Dependent drop-downs > ----------------------------------------------------------- > > Key: OFBIZ-4797 > URL: https://issues.apache.org/jira/browse/OFBIZ-4797 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Environment: demo-trunk > Reporter: Tom Burns > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-4797 eCommerce Draft.patch, OFBIZ-4797 eCommerce > Draft.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira