svn commit: r760588 - /ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml

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

svn commit: r760588 - /ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml

jleroux@apache.org
Author: jleroux
Date: Tue Mar 31 20:26:18 2009
New Revision: 760588

URL: http://svn.apache.org/viewvc?rev=760588&view=rev
Log:
Securing URLs, link element in screens and menus : 5th set

Modified:
    ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.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=760588&r1=760587&r2=760588&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml (original)
+++ ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml Tue Mar 31 20:26:18 2009
@@ -126,10 +126,20 @@
         
     <menu name="childTemplateLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple">
         <menu-item name="edit-inplace" title="${contentName} [${contentId}]">
-            <link target="EditChildCompDoc?contentId=${contentId}&amp;rootContentId=${rootContentId}&amp;caFromDate=${fromDate}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
+            <link target="EditChildCompDoc">
+ <parameter param-name="contentId" from-field="contentId"/>
+ <parameter param-name="rootContentId" from-field="rootContentId"/>
+ <parameter param-name="caFromDate" from-field="fromDate"/>
+ <parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
+ </link>
         </menu-item>
         <menu-item name="edit-link" title="${uiLabelMap.CommonEdit}">
-            <link target="EditChildCompDoc?contentId=${contentId}&amp;rootContentId=${rootContentId}&amp;caFromDate=${fromDate}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
+            <link target="EditChildCompDoc">
+ <parameter param-name="contentId" from-field="contentId"/>
+ <parameter param-name="rootContentId" from-field="rootContentId"/>
+ <parameter param-name="caFromDate" from-field="fromDate"/>
+ <parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
+ </link>
         </menu-item>
         <!--  only one level for now, ie don't worry about an hierarchy, still not sure what that will mean or look like
         <menu-item name="child" title="+Child">