svn commit: r760978 - in /ofbiz/trunk: applications/party/widget/partymgr/PartyMenus.xml specialpurpose/mypage/widget/MyPageMenus.xml

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

svn commit: r760978 - in /ofbiz/trunk: applications/party/widget/partymgr/PartyMenus.xml specialpurpose/mypage/widget/MyPageMenus.xml

jleroux@apache.org
Author: jleroux
Date: Wed Apr  1 17:40:49 2009
New Revision: 760978

URL: http://svn.apache.org/viewvc?rev=760978&view=rev
Log:
Securing URLs, link element in screens and menus : 15th set + tabs to 4 spaces

Modified:
    ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
    ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=760978&r1=760977&r2=760978&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Wed Apr  1 17:40:49 2009
@@ -260,7 +260,10 @@
             <condition>
                 <if-compare field="parameters.all" operator="equals" value="true" />
             </condition>
-            <link target="${bsh:session.getAttribute(&quot;_LAST_VIEW_NAME_&quot;)}?portalPageId=${parameters.portalPageId}&amp;all=false" />
+            <link target="${session.getAttribute(&quot;_LAST_VIEW_NAME_&quot;)}" >
+                <parameter param-name="portalPageId" from-field="parameters.portalPageId"/>
+                <parameter param-name="all" value="false"/>
+            </link>
         </menu-item>
         <menu-item name="allOtherEvents" title="${uiLabelMap.PartyAllEvents}">
             <condition>
@@ -269,7 +272,10 @@
                     <if-empty field="parameters.all"/>
                 </or>
             </condition>
-            <link target="${bsh:session.getAttribute(&quot;_LAST_VIEW_NAME_&quot;)}?portalPageId=${parameters.portalPageId}&amp;all=true" />
+            <link target="${session.getAttribute(&quot;_LAST_VIEW_NAME_&quot;)}" >
+                <parameter param-name="portalPageId" from-field="parameters.portalPageId"/>
+                <parameter param-name="all" value="true"/>
+            </link>
         </menu-item>
     </menu>    
     <menu name="MyCommSubTabBar" menu-container-style="button-bar button-style-2">

Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml?rev=760978&r1=760977&r2=760978&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml Wed Apr  1 17:40:49 2009
@@ -154,7 +154,10 @@
             <condition>
                 <if-compare field="parameters.all" operator="equals" value="true" />
             </condition>
-            <link target="${parameters.donePage}?donePage=${parameters.donePage}&amp;all=false" />
+            <link target="${parameters.donePage}" >
+                <parameter param-name="donePage" from-field="parameters.donePage"/>
+                <parameter param-name="all" value="false"/>
+            </link>
         </menu-item>
         <menu-item name="allOtherEvents" title="${uiLabelMap.MyPageAllEvents}">
             <condition>
@@ -163,7 +166,10 @@
                     <if-empty field="parameters.all"/>
                 </or>
             </condition>
-            <link target="${parameters.donePage}?donePage=${parameters.donePage}&amp;all=true" />
+            <link target="${parameters.donePage}" >
+                <parameter param-name="donePage" from-field="parameters.donePage"/>
+                <parameter param-name="all" value="true"/>
+            </link>
         </menu-item>
     </menu>