On 06/27/2011 06:01 AM, [email protected] wrote:
Author: sascharodekamp
Date: Mon Jun 27 11:01:06 2011
New Revision: 1140103

URL: http://svn.apache.org/viewvc?rev=1140103&view=rev
Log:
State dropdown only finds states and does not include county information 
(https://issues.apache.org/jira/browse/OFBIZ-4270) - I added a separte Entity 
which defines all countries which should show their states in the drop down 
list. It also checks states recursivly, to list all states (i.e.) for GB.


Orig Msg: 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.

Modified:
     ofbiz/trunk/framework/common/data/GeoData.xml
     ofbiz/trunk/framework/common/entitydef/entitymodel.xml
     ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonWorkers.java

Modified: ofbiz/trunk/framework/common/entitydef/entitymodel.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/entitydef/entitymodel.xml?rev=1140103&r1=1140102&r2=1140103&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/framework/common/entitydef/entitymodel.xml Mon Jun 27 11:01:06 
2011
@@ -178,6 +178,15 @@ under the License.
          <key-map field-name="geoTypeId"/>
        </relation>
      </entity>
+<entity entity-name="GeoWithState" package-name="org.ofbiz.common.geo" 
default-resource-name="CommonEntityLabels"
+        title="">

And the title would be?

ps: Just because this is my only comment on this commit, doesn't say anything about the rest of the changes. I was doing some greps in the code base, fixing other entitydef titles, and saw this one, and thought I should respond directly to the commit.

Reply via email to