svn commit: r756025 - in /ofbiz/trunk: applications/accounting/webapp/accounting/agreement/ applications/content/webapp/content/cms/ applications/humanres/widget/forms/ specialpurpose/ecommerce/webapp/ecommerce/forum/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r756025 - in /ofbiz/trunk: applications/accounting/webapp/accounting/agreement/ applications/content/webapp/content/cms/ applications/humanres/widget/forms/ specialpurpose/ecommerce/webapp/ecommerce/forum/

jleroux@apache.org
Author: jleroux
Date: Thu Mar 19 14:34:33 2009
New Revision: 756025

URL: http://svn.apache.org/viewvc?rev=756025&view=rev
Log:
1st 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
Note that some hyperlinks here are commented out and should maybe dropped

Modified:
    ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml
    ofbiz/trunk/applications/content/webapp/content/cms/CMSForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/forum/ForumForms.xml

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml?rev=756025&r1=756024&r2=756025&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml Thu Mar 19 14:34:33 2009
@@ -273,14 +273,30 @@
         <field name="partyId"><hidden/></field>
         <field name="currencyUomId"><hidden/></field>
         <field name="productId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${productId}" target="EditAgreementItemSupplierProduct?minimumOrderQuantity=${minimumOrderQuantity}&amp;currencyUomId=${currencyUomId}&amp;availableFromDate=${availableFromDate}&amp;partyId=${partyId}&amp;productId=${productId}&amp;agreementId=${agreementId}&amp;agreementItemSeqId=${agreementItemSeqId}"/>
+            <hyperlink also-hidden="false" description="${productId}" target="EditAgreementItemSupplierProduct">
+                <parameter param-name="minimumOrderQuantity"/>
+                <parameter param-name="currencyUomId"/>
+                <parameter param-name="availableFromDate"/>
+                <parameter param-name="partyId"/>
+                <parameter param-name="productId"/>
+                <parameter param-name="agreementId"/>
+                <parameter param-name="agreementItemSeqId"/>
+            </hyperlink>
         </field>
         <field name="internalName" entry-name="productId">
             <display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
         </field>
         <field name="lastPrice" widget-area-style="align-text"><display/></field>
         <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="removeAgreementItemSupplierProduct?minimumOrderQuantity=${minimumOrderQuantity}&amp;currencyUomId=${currencyUomId}&amp;availableFromDate=${availableFromDate}&amp;partyId=${partyId}&amp;productId=${productId}&amp;agreementId=${agreementId}&amp;agreementItemSeqId=${agreementItemSeqId}" description="${uiLabelMap.CommonRemove}" also-hidden="false"/>
+            <hyperlink target="removeAgreementItemSupplierProduct">
+                <parameter param-name="minimumOrderQuantity"/>
+                <parameter param-name="currencyUomId"/>
+                <parameter param-name="availableFromDate"/>
+                <parameter param-name="partyId"/>
+                <parameter param-name="productId"/>
+                <parameter param-name="agreementId"/>
+                <parameter param-name="agreementItemSeqId"/>
+            </hyperlink>
         </field>
     </form>
 

Modified: ofbiz/trunk/applications/content/webapp/content/cms/CMSForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/CMSForms.xml?rev=756025&r1=756024&r2=756025&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSForms.xml (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSForms.xml Thu Mar 19 14:34:33 2009
@@ -44,7 +44,15 @@
         <field name="editContent" title="${uiLabelMap.CommonEmptyHeader}">
             <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditAddContent?MASTER_contentId=${contentId}&amp;MASTER_drDataResourceId=${drDataResourceId}&amp;MASTER_caContentIdTo=${caContentIdTo}&amp;MASTER_caContentAssocTypeId=${caContentAssocTypeId}&amp;MASTER_caFromDate=${caFromDate}"/>
 <!--
-            <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent?caContentIdTo=${caContentIdTo}&amp;caFromDate=${caFromDate}&amp;contentId=${contentId}&amp;drDataResourceId=${drDataResourceId}&amp;caContentId=${contentId}&amp;contentIdStart=${caContentIdTo}&amp;caContentAssocTypeId=${caContentAssocTypeId}"/>
+            <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent">
+                <parameter param-name="caContentIdTo"/>
+                <parameter param-name="caFromDate"/>
+                <parameter param-name="contentId"/>
+                <parameter param-name="drDataResourceId"/>
+                <parameter param-name="caContentId"/>
+                <parameter param-name="contentIdStart"/>
+                <parameter param-name="caContentAssocTypeId"/>
+            </hyperlink>
 -->
         </field>
         <field name="caContentIdTo"><display/></field>

Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml?rev=756025&r1=756024&r2=756025&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml Thu Mar 19 14:34:33 2009
@@ -360,7 +360,15 @@
         <field name="thruDate"><date-time/></field>
         <field name="agreementDate"><date-time/></field>
         <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
-            <hyperlink target="deleteAgreementEmploymentAppl?agreementId=${agreementId}&amp;partyIdTo=${partyIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;fromDate=${fromDate}&amp;agreementItemSeqId=${agreementItemSeqId}" description="${uiLabelMap.CommonDelete}" also-hidden="true"/>
+            <hyperlink target="deleteAgreementEmploymentAppl">
+                <parameter param-name="agreementId"/>
+                <parameter param-name="partyIdTo"/>
+                <parameter param-name="partyIdFrom"/>
+                <parameter param-name="roleTypeIdFrom"/>
+                <parameter param-name="roleTypeIdTo"/>
+                <parameter param-name="fromDate"/>
+                <parameter param-name="agreementItemSeqId"/>
+            </hyperlink>
         </field>
         <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><hidden value="Y"/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/forum/ForumForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/forum/ForumForms.xml?rev=756025&r1=756024&r2=756025&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/forum/ForumForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/forum/ForumForms.xml Thu Mar 19 14:34:33 2009
@@ -176,7 +176,15 @@
         <field name="editContent" title="${uiLabelMap.CommonEmptyHeader}">
             <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent?contentId=${contentId}&amp;drDataResourceId=${drDataResourceId}"/>
 <!--
-            <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent?caContentIdTo=${caContentIdTo}&amp;caFromDate=${caFromDate}&amp;contentId=${contentId}&amp;drDataResourceId=${drDataResourceId}&amp;caContentId=${contentId}&amp;contentIdStart=${caContentIdTo}&amp;caContentAssocTypeId=${caContentAssocTypeId}"/>
+            <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent">
+                <parameter param-name="caContentIdTo"/>
+                <parameter param-name="caFromDate"/>
+                <parameter param-name="contentId"/>
+                <parameter param-name="drDataResourceId"/>
+                <parameter param-name="caContentId"/>
+                <parameter param-name="contentIdStart"/>
+                <parameter param-name="caContentAssocTypeId"/>
+            </hyperlink>
 -->
         </field>
 <!--