Author: jleroux
Date: Tue May 4 09:07:19 2010
New Revision: 940779
URL:
http://svn.apache.org/viewvc?rev=940779&view=revLog:
A patch from Atul Vani "No Message for duplicate login name"
https://issues.apache.org/jira/browse/OFBIZ-3468 - OFBIZ-3468
Modified:
ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
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=940779&r1=940778&r2=940779&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 Tue May 4 09:07:19 2010
@@ -96,7 +96,7 @@ under the License.
<set field="userLoginExistsMap.userLoginId" from-field="userLoginContext.userLoginId"/>
<find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/>
<if-not-empty field="existingUserLogin">
- <set field="tempErrorMessage" value="${uiLabelMap.PartyUserNameInUse}"/>
+ <property-to-field field="tempErrorMessage" property="PartyUserNameInUse" resource="PartyUiLabels"/>
<field-to-list field="tempErrorMessage" list="error_list"/>
</if-not-empty>
</if-not-empty>