Author: jleroux
Date: Tue Mar 31 20:31:15 2009 New Revision: 760595 URL: http://svn.apache.org/viewvc?rev=760595&view=rev Log: Securing URLs, link element in screens and menus : 6th set Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml?rev=760595&r1=760594&r2=760595&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml Tue Mar 31 20:31:15 2009 @@ -312,10 +312,22 @@ <if-compare field="parameters.edit" operator="not-equals" value="Y"/> </condition> <widgets> - <link text="${uiLabelMap.CommonEdit}" target="ViewResponse?contentId=${content.contentId}&ownerContentId=${content.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${blogContentId}&edit=Y" style="buttontext"/> + <link text="${uiLabelMap.CommonEdit}" target="ViewResponse" style="buttontext"> + <parameter param-name="contentId" from-field="content.contentId"/> + <parameter param-name="ownerContentId" from-field="content.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="blogContentId"/> + <parameter param-name="edit" value="Y"/> + </link> </widgets> <fail-widgets> - <link text="${uiLabelMap.CommonView}" target="ViewResponse?contentId=${content.contentId}&ownerContentId=${content.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${blogContentId}&edit=N" style="buttontext"/> + <link text="${uiLabelMap.CommonView}" target="ViewResponse" style="buttontext"> + <parameter param-name="contentId" from-field="content.contentId"/> + <parameter param-name="ownerContentId" from-field="content.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="blogContentId"/> + <parameter param-name="edit" value="N"/> + </link> </fail-widgets> </section> </container> |
Free forum by Nabble | Edit this page |