You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/03/31 22:31:15 UTC

svn commit: r760595 - /ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml

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}&amp;ownerContentId=${content.ownerContentId}&amp;articleContentId=${articleContentId}&amp;blogContentId=${blogContentId}&amp;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}&amp;ownerContentId=${content.ownerContentId}&amp;articleContentId=${articleContentId}&amp;blogContentId=${blogContentId}&amp;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>