[
https://issues.apache.org/jira/browse/OFBIZ-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Burns updated OFBIZ-4797:
-----------------------------
Attachment: OFBIZ-4797 eCommerce Draft.patch
Need a second pair of eyes.
This patch follows the pattern of other implementations of the "dependent drop
down" but does not display the State/Province field correctly. The first
State/Province on the list is displayed when the recorded State/Province is
expected.
For example:
Login as DemoCustomer
Select the Profile tab
In "Contact Information" > "Postal Address" > Click "Update"
Select "United Kingdom" from the "Country Postal address" drop down
Select any value after the first value from the "State/Province" drop down
Say "Catithnees"
Click "Save"
Expect "State/Province" = "Catithnees"
Actual "State/Province" = "Anglesey/Sir Fon"
Click Profile
Note: In Postal Address GB-CTHN and GBR. The change was saved but is not
being displayed in the detail display.
Also Note: The term "requestName" is used by both editcontactmech.ftl for the
form target as well as a dependent drop field name. To resolve the conflict in
"editcontactmech.ftl" "reqName" replaces "requestName".
The patch includes some println's for debugging.
> 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
> Attachments: 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