Author: jleroux
Date: Tue Mar 31 20:25:15 2009 New Revision: 760587 URL: http://svn.apache.org/viewvc?rev=760587&view=rev Log: Securing URLs, link element in screens and menus : 4th 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=760587&r1=760586&r2=760587&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml Tue Mar 31 20:25:15 2009 @@ -457,8 +457,18 @@ </condition> <widgets> <container> - <link text="${rsp.contentName}[${rsp.contentId}]" target="ViewResponse?contentId=${rsp.contentId}&ownerContentId=${rsp.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${parameters.blogContentId}" style="responseheader"/> - <link text="${uiLabelMap.CommonView}" target="ViewResponse?contentId=${rsp.contentId}&ownerContentId=${rsp.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${parameters.blogContentId}" style="buttontext"/> + <link text="${rsp.contentName}[${rsp.contentId}]" target="ViewResponse" style="responseheader"> + <parameter param-name="contentId" from-field="rsp.contentId"/> + <parameter param-name="ownerContentId" from-field="rsp.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="parameters.blogContentId"/> + </link> + <link text="${uiLabelMap.CommonView}" target="ViewResponse" style="buttontext"> + <parameter param-name="contentId" from-field="rsp.contentId"/> + <parameter param-name="ownerContentId" from-field="rsp.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="parameters.blogContentId"/> + </link> <container style="responsetext"> <label text="${rsp.description}" style="responsetext"/> <label text="(${uiLabelMap.EcommerceBlogPostedOn}: ${rsp.createdDate})" style="responsetext"/> @@ -472,8 +482,18 @@ </condition> <widgets> <container style="responseSelected"> - <link text="${rsp.contentName}[${rsp.contentId}]" target="ViewResponse?contentId=${rsp.contentId}&ownerContentId=${rsp.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${parameters.blogContentId}" style="responseheader"/> - <link text="${uiLabelMap.CommonView}" target="ViewResponse?contentId=${rsp.contentId}&ownerContentId=${rsp.ownerContentId}&articleContentId=${articleContentId}&blogContentId=${parameters.blogContentId}" style="buttontext"/> + <link text="${rsp.contentName}[${rsp.contentId}]" target="ViewResponse" style="responseheader"> + <parameter param-name="contentId" from-field="rsp.contentId"/> + <parameter param-name="ownerContentId" from-field="rsp.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="parameters.blogContentId"/> + </link> + <link text="${uiLabelMap.CommonView}" target="ViewResponse" style="buttontext"> + <parameter param-name="contentId" from-field="rsp.contentId"/> + <parameter param-name="ownerContentId" from-field="rsp.ownerContentId"/> + <parameter param-name="articleContentId" from-field="articleContentId"/> + <parameter param-name="blogContentId" from-field="parameters.blogContentId"/> + </link> <container style="responsetext"> <label text="${rsp.description}" style="responsetext"/> <label text="(${uiLabelMap.EcommerceBlogPostedOn}: ${rsp.createdDate})" style="responsetext"/> |
Free forum by Nabble | Edit this page |