Author: jleroux
Date: Wed Apr 1 06:23:45 2009 New Revision: 760791 URL: http://svn.apache.org/viewvc?rev=760791&view=rev Log: Securing URLs, link element in screens and menus : 12th set + tabs to 4 spaces Modified: ofbiz/trunk/applications/accounting/widget/GlScreens.xml ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml Modified: ofbiz/trunk/applications/accounting/widget/GlScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlScreens.xml?rev=760791&r1=760790&r2=760791&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlScreens.xml Wed Apr 1 06:23:45 2009 @@ -253,8 +253,16 @@ </container> </container> <container style="screenlet-body"> - <link text="${uiLabelMap.AccountingDuplicateAccountingTransaction}" style="buttontext" target="copyAcctgTransAndEntries?revert=N&fromAcctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}"/> - <link text="${uiLabelMap.AccountingRevertAccountingTransaction}" style="buttontext" target="copyAcctgTransAndEntries?revert=Y&fromAcctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}"/> + <link text="${uiLabelMap.AccountingDuplicateAccountingTransaction}" style="buttontext" target="copyAcctgTransAndEntries"> + <parameter param-name="revert" value="N"/> + <parameter param-name="fromAcctgTransId" from-field="acctgTransId"/> + <parameter param-name="organizationPartyId" from-field="organizationPartyId"/> + </link> + <link text="${uiLabelMap.AccountingRevertAccountingTransaction}" style="buttontext" target="copyAcctgTransAndEntries"> + <parameter param-name="revert" value="Y"/> + <parameter param-name="fromAcctgTransId" from-field="acctgTransId"/> + <parameter param-name="organizationPartyId" from-field="organizationPartyId"/> + </link> <section> <condition> <if-compare field="acctgTrans.isPosted" operator="equals" value="Y"/> @@ -314,9 +322,15 @@ </container> <container style="screenlet-body"> <container> - <link text="${uiLabelMap.AccountingCompleteAcctgTransFields}" style="buttontext" target="completeAcctgTransEntries?acctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}"/> + <link text="${uiLabelMap.AccountingCompleteAcctgTransFields}" style="buttontext" target="completeAcctgTransEntries"> + <parameter param-name="acctgTransId" from-field="acctgTransId"/> + <parameter param-name="organizationPartyId" from-field="organizationPartyId"/> + </link> <link text="${uiLabelMap.AccountingVerifyTransaction}" style="buttontext" target="postAcctgTrans?acctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}&verifyOnly=Y"/> - <link text="${uiLabelMap.AccountingPostTransaction}" style="buttontext" target="postAcctgTrans?acctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}"/> + <link text="${uiLabelMap.AccountingPostTransaction}" style="buttontext" target="postAcctgTrans"> + <parameter param-name="acctgTransId" from-field="acctgTransId"/> + <parameter param-name="organizationPartyId" from-field="organizationPartyId"/> + </link> </container> <container> <include-form name="EditAcctgTransEntry" location="component://accounting/widget/GlForms.xml"/> Modified: ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml?rev=760791&r1=760790&r2=760791&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml Wed Apr 1 06:23:45 2009 @@ -194,13 +194,19 @@ </condition> <widgets> <screenlet title="${uiLabelMap.CommonEdit} ${uiLabelMap.ProductConfigs}"> - <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions?configItemId=${configItemId}&configOptionId=${configOptionId}"/> + <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions"> + <parameter param-name="configItemId" from-field="configItemId"/> + <parameter param-name="configOptionId" from-field="configOptionId"/> + </link> <include-form name="CreateProductConfigProduct" location="component://product/webapp/catalog/config/ConfigForms.xml"/> </screenlet> </widgets> <fail-widgets> <screenlet title="${uiLabelMap.CommonAddA} ${uiLabelMap.ProductConfigs}"> - <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions?configItemId=${configItemId}&configOptionId=${configOptionId}"/> + <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions"> + <parameter param-name="configItemId" from-field="configItemId"/> + <parameter param-name="configOptionId" from-field="configOptionId"/> + </link> <include-form name="CreateProductConfigProduct" location="component://product/webapp/catalog/config/ConfigForms.xml"/> </screenlet> </fail-widgets> |
Free forum by Nabble | Edit this page |