Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml?rev=729636&r1=729635&r2=729636&view=diff==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml Sat Dec 27 07:16:04 2008
@@ -122,13 +122,13 @@
</call-map-processor>
<if-compare value="USA" operator="equals" field="parameters.CUSTOMER_COUNTRY">
<if-empty field="parameters.CUSTOMER_STATE">
- <set field="tempErrorMessage" value="State is missing, and is required for an address in the United States." />
+ <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/>
<field-to-list field-name="tempErrorMessage" list-name="error_list"/>
</if-empty>
</if-compare>
<if-compare value="CAN" operator="equals" field="parameters.CUSTOMER_COUNTRY">
<if-empty field="parameters.CUSTOMER_STATE">
- <set field="tempErrorMessage" value="State is missing, and is required for an address in Canada." />
+ <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/>
<field-to-list field-name="tempErrorMessage" list-name="error_list"/>
</if-empty>
</if-compare>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml?rev=729636&r1=729635&r2=729636&view=diff==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml Sat Dec 27 07:16:04 2008
@@ -161,13 +161,13 @@
</call-map-processor>
<if-compare value="USA" operator="equals" field="parameters.USER_COUNTRY">
<if-empty field="parameters.USER_STATE">
- <set field="tempErrorMessage" value="State is missing, and is required for an address in the United States." />
+ <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/>
<field-to-list field-name="tempErrorMessage" list-name="error_list"/>
</if-empty>
</if-compare>
<if-compare value="CAN" operator="equals" field="parameters.USER_COUNTRY">
<if-empty field="parameters.USER_STATE">
- <set field="tempErrorMessage" value="State is missing, and is required for an address in Canada." />
+ <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/>
<field-to-list field-name="tempErrorMessage" list-name="error_list"/>
</if-empty>
</if-compare>