svn commit: r570874 - /ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r570874 - /ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml

jonesde
Author: jonesde
Date: Wed Aug 29 10:34:36 2007
New Revision: 570874

URL: http://svn.apache.org/viewvc?rev=570874&view=rev
Log:
Changed state/province drop-down to not have prefix before state abbreviation, makes it possible to use the first letter to jump in the list; also changed to have states and provinces intermixed rather than separated for easier finding

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=570874&r1=570873&r2=570874&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Wed Aug 29 10:34:36 2007
@@ -278,12 +278,8 @@
         <field name="USER_CITY" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field>
         <field name="USER_STATE" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required">
             <drop-down allow-empty="true">
-                <entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonState}: [${geoId}] ${geoName}">
-                    <entity-constraint name="geoTypeId" value="STATE"/>
-                    <entity-order-by field-name="geoId"/>
-                </entity-options>
-                <entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonProvince}: [${geoId}] ${geoName}">
-                    <entity-constraint name="geoTypeId" value="PROVINCE"/>
+                <entity-options entity-name="Geo" key-field-name="geoId" description="${geoId} - ${geoName}">
+                    <entity-constraint name="geoTypeId" operator="in" value="STATE,PROVINCE"/>
                     <entity-order-by field-name="geoId"/>
                 </entity-options>
             </drop-down>