Author: jacopoc
Date: Sat Oct 21 09:47:13 2006
New Revision: 466425
URL:
http://svn.apache.org/viewvc?view=rev&rev=466425Log:
converted deprecated minilang operations to the set operation.
Also fixed some bad (not valid) minilang code.
Modified:
incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml
incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml
Modified: incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml?view=diff&rev=466425&r1=466424&r2=466425==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml (original)
+++ incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml Sat Oct 21 09:47:13 2006
@@ -31,9 +31,8 @@
<check-errors/>
<call-service service-name="updatePassword" in-map-name="context">
<default-message resource="SecurityextUiLabels" property="loginmapprocs.password_successfully_updated"/>
- <result-to-field result-name="updatedUserLogin" map-name="dummyServiceResultMap"/>
+ <result-to-field result-name="updatedUserLogin" field-name="updatedUserLogin"/>
</call-service>
- <field-to-env env-name="updatedUserLogin" map-name="dummyServiceResultMap"/>
<session-to-field field-name="userLogin"/>
<if-compare-field map-name="userLogin" field-name="userLoginId" operator="equals" to-map-name="updatedUserLogin" to-field-name="userLoginId">
<field-to-session field-name="updatedUserLogin" session-name="userLogin"/>
Modified: incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml?view=diff&rev=466425&r1=466424&r2=466425==============================================================================
--- incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml (original)
+++ incubator/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml Sat Oct 21 09:47:13 2006
@@ -98,7 +98,7 @@
<if-empty field-name="fromDate" map-name="newEntity">
<now-timestamp-to-env env-name="nowTimestamp"/>
- <env-to-field env-name="nowTimestamp" field-name="fromDate" map-name="newEntity"/>
+ <set from-field="nowTimestamp" field="newEntity.fromDate"/>
</if-empty>
<create-value value-name="newEntity"/>