I hope to have a look at your issue tomorrow...

Jacques

Le 02/06/2015 15:39, Peter Arnold a écrit :
Hi All,

I am working on a new customization for Chile based on OFBiz 14.12.

I created a new Geo Data set for Chile containing so far the administrative
regions.

My data set looks as follows:

     <Geo abbreviation="CL-02" geoCode="CL-02" geoId="CL-AN"
geoName="Antofagasta" geoTypeId="STATE"/>

     <Geo abbreviation="CL-09" geoCode="CL-09" geoId="CL-AR"
geoName="Araucanía" geoTypeId="STATE"/>

     <Geo abbreviation="CL-15" geoCode="CL-15" geoId="CL-AP" geoName="Arica y
Parinacota" geoTypeId="STATE"/>

     <Geo abbreviation="CL-03" geoCode="CL-03" geoId="CL-AT"
geoName="Atacama" geoTypeId="STATE"/>

     <Geo abbreviation="CL-11" geoCode="CL-11" geoId="CL-AI" geoName="Aysén"
geoTypeId="STATE"/>

     <Geo abbreviation="CL-08" geoCode="CL-08" geoId="CL-BI" geoName="Biobío"
geoTypeId="STATE"/>

     <Geo abbreviation="CL-04" geoCode="CL-04" geoId="CL-CO"
geoName="Coquimbo" geoTypeId="STATE"/>

     <Geo abbreviation="CL-06" geoCode="CL-06" geoId="CL-LI"
geoName="Libertador General Bernardo O'Higgins" geoTypeId="STATE"/>

     <Geo abbreviation="CL-10" geoCode="CL-10" geoId="CL-LL" geoName="Los
Lagos" geoTypeId="STATE"/>

     <Geo abbreviation="CL-14" geoCode="CL-14" geoId="CL-LR" geoName="Los
Ríos" geoTypeId="STATE"/>

     <Geo abbreviation="CL-12" geoCode="CL-12" geoId="CL-MA"
geoName="Magallanes" geoTypeId="STATE"/>

     <Geo abbreviation="CL-07" geoCode="CL-07" geoId="CL-ML" geoName="Maule"
geoTypeId="STATE"/>

     <Geo abbreviation="CL-RM" geoCode="CL-RM" geoId="CL-RM" geoName="Región
Metropolitana de Santiago" geoTypeId="STATE"/>

     <Geo abbreviation="CL-01" geoCode="CL-01" geoId="CL-TA"
geoName="Tarapacá" geoTypeId="STATE"/>

     <Geo abbreviation="CL-05" geoCode="CL-05" geoId="CL-VS"
geoName="Valparaíso" geoTypeId="STATE"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-AN" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-AR" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-AP" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-AT" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-AI" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-BI" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-CO" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-LI" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-LL" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-LR" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-MA" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-ML" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-RM" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-TA" geoAssocTypeId="REGIONS"/>

     <GeoAssoc geoId="CHL" geoIdTo="CL-VS" geoAssocTypeId="REGIONS"/>

When I set the country on following screen to Chile:

https://127.0.0.1:8443/partymgr/control/editcontactmech?partyId=Company
<https://127.0.0.1:8443/partymgr/control/editcontactmech?partyId=Company&con
tactMechId=9000> &contactMechId=9000

the dropdown for State/Province should show all Chilean regions. However
currently no region is shown and the dropdowns only value is “No
States/Provinces exist”.

Does anybody have an idea why the dropdown is not populated with the regions
created with above data set?

I would appreciate your help on this issue.

Regards,

Peter



---
Este mensaje no contiene virus ni malware porque la protección de avast! 
Antivirus está activa.
http://www.avast.com

Reply via email to