[ 
https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sascha Rodekamp updated OFBIZ-4270:
-----------------------------------

    Attachment: OFBIZ-4270-DependentDropdown.patch

Hi Jacques, Hi Sam, 

i modified the getAssociatedStateList method. To recursively get all provinces.

It would be great if you check the result.

When we want to hide the country box for specified countries, the developer has 
to define a list of these countries in the screens which could be interpreted 
when the country is changed. Not sure if this is an good idea.

Any suggestions?



> State dropdown only finds states and does not include county information
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-4270
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4270
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Sam Hamilton
>            Assignee: Sascha Rodekamp
>            Priority: Minor
>         Attachments: OFBIZ-4270-DependentDropdown.patch
>
>
> If you are on this page 
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer select 
> USA from the country drop down and it will display all the USA states, 
> similarly it works just fine for Spain but if you try once again with either 
> United Kingdom or France it will show "No States/Provinces exist". 
> Both UK and France have Counties saved in the datamodel but the form does not 
> lookup in the correct location as they are not defined as State. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to