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("_LAST_VIEW_NAME_")}?portalPageId=${parameters.portalPageId}&all=false" /> + <link target="${session.getAttribute("_LAST_VIEW_NAME_")}" > + <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("_LAST_VIEW_NAME_")}?portalPageId=${parameters.portalPageId}&all=true" /> + <link target="${session.getAttribute("_LAST_VIEW_NAME_")}" > + <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}&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}&all=true" /> + <link target="${parameters.donePage}" > + <parameter param-name="donePage" from-field="parameters.donePage"/> + <parameter param-name="all" value="true"/> + </link> </menu-item> </menu> |
Free forum by Nabble | Edit this page |