Author: jleroux Date: Mon Jul 1 12:19:49 2013 New Revision: 1498406 URL: http://svn.apache.org/r1498406 Log: A patch from Arpit Singh Pandya for "Added missing cancel/done link on Party Attribute page." https://issues.apache.org/jira/browse/OFBIZ-5253
While navigate from Party profile page to create Party Attribute, there is no back option. Added missing cancel/done link on Party Attribute page. Not available in trunk and 12.04, not sure about other versions. Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml?rev=1498406&r1=1498405&r2=1498406&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml Mon Jul 1 12:19:49 2013 @@ -553,6 +553,11 @@ under the License. <auto-fields-service service-name="updatePartyAttribute" map-name="attribute"/> <field name="partyId"><hidden value="${partyId}"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + <field name="cancelLink" title=" " widget-style="smallSubmit"> + <hyperlink target="${cancelPage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId"/> + </hyperlink> + </field> </form> <!-- Party Content Form --> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?rev=1498406&r1=1498405&r2=1498406&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Mon Jul 1 12:19:49 2013 @@ -341,6 +341,7 @@ under the License. <set field="labelTitleProperty" value="PartyAttribute"/> + <set field="cancelPage" from-field="parameters.CANCEL_PAGE" default-value="viewprofile"/> <set field="partyId" from-field="parameters.partyId"/> <set field="attrName" from-field="parameters.attrName"/> <entity-one entity-name="Party" value-field="party"/>