Author: jleroux
Date: Fri Jun 28 16:46:18 2013
New Revision: 1497839
URL: http://svn.apache.org/r1497839
Log:
A patch from Arpit Singh Pandya for "Cancel/Done is not working correctly on
Create User Login page." https://issues.apache.org/jira/browse/OFBIZ-5252
When we navigate on create user login page from party profile on clicking
"Create New" link in User Name(s) Section, "Cancel/Done" is not working
correctly on Create User Login page. partyId is missing with link. It is not
working on trunk and 12.04, not sure about other versions.
jleroux: 11.04 is concerned, 10.04 is OK
Modified:
ofbiz/trunk/framework/common/widget/SecurityForms.xml
Modified: ofbiz/trunk/framework/common/widget/SecurityForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/SecurityForms.xml?rev=1497839&r1=1497838&r2=1497839&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/SecurityForms.xml (original)
+++ ofbiz/trunk/framework/common/widget/SecurityForms.xml Fri Jun 28 16:46:18
2013
@@ -76,7 +76,11 @@ under the License.
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}"
widget-style="smallSubmit"><submit button-type="text-link"/></field>
- <field name="cancelLink" title=" "
widget-style="smallSubmit"><hyperlink target="${cancelPage}"
also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field>
+ <field name="cancelLink" title=" " widget-style="smallSubmit">
+ <hyperlink target="${cancelPage}" also-hidden="false"
description="${uiLabelMap.CommonCancelDone}">
+ <parameter param-name="partyId"/>
+ </hyperlink>
+ </field>
</form>
<form name="AddUserLoginSecurityGroup" type="single"
target="${addUserLoginSecurityGroupURI}"
@@ -108,7 +112,11 @@ under the License.
<field name="groupId" title="${uiLabelMap.CommonSecurityGroupId}"
widget-style="required" tooltip="${uiLabelMap.CommonRequired}"><text size="20"
maxlength="20"/></field>
<field name="description"
title="${uiLabelMap.CommonDescription}"><text size="60"
maxlength="250"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSave}"><submit
button-type="button"/></field>
- <field name="cancelLink" title=" "
widget-style="smallSubmit"><hyperlink target="${cancelPage}"
also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field>
+ <field name="cancelLink" title=" " widget-style="smallSubmit">
+ <hyperlink target="${cancelPage}" also-hidden="false"
description="${uiLabelMap.CommonCancelDone}">
+ <parameter param-name="partyId"/>
+ </hyperlink>
+ </field>
</form>
<form name="EditSecurityGroup" type="single" target="updateSecurityGroup"
default-map-name="securityGroup">