Author: jleroux
Date: Tue Mar 31 20:20:29 2009 New Revision: 760586 URL: http://svn.apache.org/viewvc?rev=760586&view=rev Log: Securing URLs, link element in screens and menus : 3rd set Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml ofbiz/trunk/applications/humanres/widget/Menus.xml ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml?rev=760586&r1=760585&r2=760586&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml Tue Mar 31 20:20:29 2009 @@ -84,7 +84,13 @@ <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> <menu-item name="edit" title="${uiLabelMap.CommonEdit}"> - <link target="EditChildCompDoc?contentId=${contentId}&itemContentRevisionSeqId=${itemContentRevisionSeqId}&rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}&caFromDate=${parameters.caFromDate}"/> + <link target="EditChildCompDoc" > + <parameter param-name="contentId" from-field="contentId"/> + <parameter param-name="itemContentRevisionSeqId" from-field="itemContentRevisionSeqId"/> + <parameter param-name="rootContentId" from-field="rootContentId"/> + <parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/> + <parameter param-name="caFromDate" from-field="parameters.caFromDate"/> + </link> </menu-item> </menu> @@ -134,13 +140,25 @@ <condition> <if-compare-field field="mostRecentRevisionSeqId" operator="equals" to-field="rootContentRevisionSeqId"/> </condition> - <link target="AddChildCompDocTemplate?contentId=${contentId}&rootContentId=${rootContentId}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> + <link target="AddChildCompDocTemplate" > + <parameter param-name="contentId" from-field="contentId"/> + <parameter param-name="rootContentId" from-field="rootContentId"/> + <parameter param-name="caContentAssocTypeId" from-field="contentAssocTypeId"/> + <parameter param-name="caSequenceNum" from-field="seqNumBefore"/> + <parameter param-name="caFromDate" from-field="fromDate"/> + </link> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> </menu-item> <menu-item name="aft" title="${uiLabelMap.ContentCompDocAfter}"> <condition> <if-compare-field field="mostRecentRevisionSeqId" operator="equals" to-field="rootContentRevisionSeqId"/> </condition> - <link target="AddChildCompDocTemplate?contentId=${contentId}&rootContentId=${rootContentId}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumAfter}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> + <link target="AddChildCompDocTemplate" > + <parameter param-name="contentId" from-field="contentId"/> + <parameter param-name="rootContentId" from-field="rootContentId"/> + <parameter param-name="caContentAssocTypeId" from-field="contentAssocTypeId"/> + <parameter param-name="caSequenceNum" from-field="seqNumAfter"/> + <parameter param-name="caFromDate" from-field="fromDate"/> + </link> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> </menu-item> <menu-item name="up" title="${uiLabelMap.ContentCompDocUp}"> <condition> Modified: ofbiz/trunk/applications/humanres/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/Menus.xml?rev=760586&r1=760585&r2=760586&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/Menus.xml (original) +++ ofbiz/trunk/applications/humanres/widget/Menus.xml Tue Mar 31 20:20:29 2009 @@ -36,19 +36,49 @@ <menu name="EmploymentBar" default-menu-item-name="EditPartyBenefit" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditEmployment" title="${uiLabelMap.HumanResEmployment}"> - <link target="EditEmployment?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/> + <link target="EditEmployment" > + <parameter param-name="roleTypeIdFrom" from-field="roleTypeIdFrom"/> + <parameter param-name="roleTypeIdTo" from-field="roleTypeIdTo"/> + <parameter param-name="partyIdFrom" from-field="partyIdFrom"/> + <parameter param-name="partyIdTo" from-field="partyIdTo"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </link> </menu-item> <menu-item name="EditPartyBenefit" title="${uiLabelMap.HumanResEditPartyBenefit}"> - <link target="EditPartyBenefits?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/> + <link target="EditPartyBenefits" > + <parameter param-name="roleTypeIdFrom" from-field="roleTypeIdFrom"/> + <parameter param-name="roleTypeIdTo" from-field="roleTypeIdTo"/> + <parameter param-name="partyIdFrom" from-field="partyIdFrom"/> + <parameter param-name="partyIdTo" from-field="partyIdTo"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </link> </menu-item> <menu-item name="EditPayrollPreference" title="${uiLabelMap.HumanResEditPayrollPreference}"> - <link target="EditPayrollPreferences?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/> + <link target="EditPayrollPreferences" > + <parameter param-name="roleTypeIdFrom" from-field="roleTypeIdFrom"/> + <parameter param-name="roleTypeIdTo" from-field="roleTypeIdTo"/> + <parameter param-name="partyIdFrom" from-field="partyIdFrom"/> + <parameter param-name="partyIdTo" from-field="partyIdTo"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </link> </menu-item> <menu-item name="EditPayHistory" title="${uiLabelMap.HumanResEditPayHistory}"> - <link target="ListPayHistories?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/> + <link target="ListPayHistories" > + <parameter param-name="roleTypeIdFrom" from-field="roleTypeIdFrom"/> + <parameter param-name="roleTypeIdTo" from-field="roleTypeIdTo"/> + <parameter param-name="partyIdFrom" from-field="partyIdFrom"/> + <parameter param-name="partyIdTo" from-field="partyIdTo"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </link> </menu-item> <menu-item name="EditUnemploymentClaims" title="${uiLabelMap.HumanResEditUnemploymentClaim}"> - <link target="EditUnemploymentClaims?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/> + <link target="EditUnemploymentClaims" > + <parameter param-name="roleTypeIdFrom" from-field="roleTypeIdFrom"/> + <parameter param-name="roleTypeIdTo" from-field="roleTypeIdTo"/> + <parameter param-name="partyIdFrom" from-field="partyIdFrom"/> + <parameter param-name="partyIdTo" from-field="partyIdTo"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </link> </menu-item> <menu-item name="EditAgreementEmploymentAppls" title="${uiLabelMap.HumanResAgreementEmploymentAppl}"> <link target="EditAgreementEmploymentAppls"> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml?rev=760586&r1=760585&r2=760586&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml Tue Mar 31 20:20:29 2009 @@ -95,7 +95,7 @@ </field> <field name="newCreditCard" widget-style="buttontext" use-when="returnHeader!=null&&returnHeader.getString("fromPartyId")!=null"> <hyperlink also-hidden="false" target="/partymgr/control/editcreditcard" target-window="partymgr" description="${uiLabelMap.AccountingCreateNewCreditCard}" target-type="inter-app"> - <parameter param-name="partyId" from-field="returnHeader.fromPartyId/> + <parameter param-name="partyId" from-field="returnHeader.fromPartyId"/> </hyperlink> </field> <field name="needsInventoryReceive" tooltip="${uiLabelMap.OrderReturnNecessaryReceiveInventoryMessage}"> |
Free forum by Nabble | Edit this page |