Author: jleroux
Date: Thu Apr 2 08:32:41 2009
New Revision: 761203
URL:
http://svn.apache.org/viewvc?rev=761203&view=revLog:
Securing URLs, link element in screens and menus : 19th set + tabs to 4 spaces
Modified:
ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
ofbiz/trunk/applications/product/widget/catalog/CategoryScreens.xml
Modified: ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml?rev=761203&r1=761202&r2=761203&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml Thu Apr 2 08:32:41 2009
@@ -54,7 +54,9 @@
</sub-node>
</node>
<node name="node-body">
- <link target="EditFixedAsset?fixedAssetId=${fixedAssetId}" text="${fixedAssetId} ${fixedAssetName} ${instanceOfProductId} ${fixedAssetTypeId} "/>
+ <link target="EditFixedAsset" text="${fixedAssetId} ${fixedAssetName ${instanceOfProductId} ${fixedAssetTypeId} ">
+ <parameter param-name="fixedAssetId" from-field="fixedAssetId}" />
+ </link>
<sub-node node-name="node-body">
<entity-and entity-name="FixedAsset">
<field-map field-name="parentFixedAssetId" from-field="fixedAssetId"/>
Modified: ofbiz/trunk/applications/product/widget/catalog/CategoryScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CategoryScreens.xml?rev=761203&r1=761202&r2=761203&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/CategoryScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/CategoryScreens.xml Thu Apr 2 08:32:41 2009
@@ -187,7 +187,11 @@
<decorator-section name="body">
<section>
<condition><not><if-empty field="contentId"/></not></condition>
- <widgets><link target="/content/control/gotoContent?contentId=${contentId}" text="${uiLabelMap.ContentContent} ${uiLabelMap.CommonPage}" url-mode="inter-app" style="buttontext"/></widgets>
+ <widgets>
+ <link target="/content/control/gotoContent" text="${uiLabelMap.ContentContent} ${uiLabelMap.CommonPage}" url-mode="inter-app" style="buttontext">
+ <parameter param-name="contentId"/>
+ </link>
+ </widgets>
</section>
<container style="screenlet">