Author: jleroux
Date: Sat Mar 28 16:13:37 2009 New Revision: 759493 URL: http://svn.apache.org/viewvc?rev=759493&view=rev Log: 7th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243 In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements Modified: ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Modified: ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml?rev=759493&r1=759492&r2=759493&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml Sat Mar 28 16:13:37 2009 @@ -220,7 +220,13 @@ <auto-fields-service service-name="createProductConfigProduct" default-field-type="display"/> <field name="configItemId" ><hidden/></field> <field name="configOptionId" ><hidden/></field> - <field name="productId" widget-style="buttontext"><hyperlink target="EditProductConfigOptions?configItemId=${configItemId}&configOptionId=${configOptionId}&productId=${product.productId}" description="${product.productId} - ${product.productName}"/></field> + <field name="productId" widget-style="buttontext"> + <hyperlink target="EditProductConfigOptions" description="${product.productId} - ${product.productName}"> + <parameter param-name="configItemId" from-field="configItemId"/> + <parameter param-name="configOptionId" from-field="configOptionId"/> + <parameter param-name="productId" from-field="product.productId"/> + <hyperlink> + </field> <field name="remove" widget-style="buttontext" ><hyperlink target="deleteProductConfigProduct?configItemId=${configItemId}&configOptionId=${configOptionId}&productId=${product.productId}" description="${uiLabelMap.CommonRemove}"/></field> </form> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=759493&r1=759492&r2=759493&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Sat Mar 28 16:13:37 2009 @@ -717,12 +717,20 @@ <form name="ListContents" extends="ListWorkEffortContents" extends-resource="component://workeffort/widget/WorkEffortForms.xml"> <field name="contentId" use-when="headerItem.equals("EditProjectContents")"> <display-entity entity-name="Content" key-field-name="contentId" description="${contentName}" also-hidden="true"> - <sub-hyperlink target="EditProjectContents?contentId=${contentId}&projectId=${projectId}&workEffortContentTypeId=${workEffortContentTypeId}" description="${contentId}" link-style="buttontext" target-type="inter-app"/> + <sub-hyperlink target="EditProjectContents" description="${contentId}" link-style="buttontext" target-type="inter-app"> + <parameter param-name="contentId" from-field="contentId"/> + <parameter param-name="projectId" from-field="projectId"/> + <parameter param-name="workEffortContentTypeId" from-field="workEffortContentTypeId"/> + </sub-hyperlink> </display-entity> </field> <field name="contentId" use-when="headerItem.equals("EditTaskContents")"> <display-entity entity-name="Content" key-field-name="contentId" description="${contentName}" also-hidden="true"> - <sub-hyperlink target="EditTaskContents?contentId=${contentId}&workEffortId=${workEffortId}&workEffortContentTypeId=${workEffortContentTypeId}" description="${contentId}" link-style="buttontext" target-type="inter-app"/> + <sub-hyperlink target="EditTaskContents" description="${contentId}" link-style="buttontext" target-type="inter-app"> + <parameter param-name="contentId" from-field="contentId"/> + <parameter param-name="workEffortId" from-field="workEffortId"/> + <parameter param-name="workEffortContentTypeId" from-field="workEffortContentTypeId"/> + </sub-hyperlink> </display-entity> </field> <field name="thruDate"><ignored/></field> |
Free forum by Nabble | Edit this page |