svn commit: r760586 - in /ofbiz/trunk/applications: content/widget/compdoc/CompDocMenus.xml humanres/widget/Menus.xml order/webapp/ordermgr/return/ReturnForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r760586 - in /ofbiz/trunk/applications: content/widget/compdoc/CompDocMenus.xml humanres/widget/Menus.xml order/webapp/ordermgr/return/ReturnForms.xml

jleroux@apache.org
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}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
         </menu-item>
         <menu-item name="edit" title="${uiLabelMap.CommonEdit}">
-            <link target="EditChildCompDoc?contentId=${contentId}&amp;itemContentRevisionSeqId=${itemContentRevisionSeqId}&amp;rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}&amp;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}&amp;rootContentId=${rootContentId}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumBefore}&amp;caFromDate=${fromDate}"/> <!-- &amp;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> <!-- &amp;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}&amp;rootContentId=${rootContentId}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumAfter}&amp;caFromDate=${fromDate}"/> <!-- &amp;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> <!-- &amp;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}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;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}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;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}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;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}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;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}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;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&amp;&amp;returnHeader.getString(&quot;fromPartyId&quot;)!=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}">