svn commit: r756119 - in /ofbiz/trunk: applications/party/webapp/partymgr/communication/CommForms.xml specialpurpose/mypage/widget/MyPageForms.xml

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

svn commit: r756119 - in /ofbiz/trunk: applications/party/webapp/partymgr/communication/CommForms.xml specialpurpose/mypage/widget/MyPageForms.xml

jleroux@apache.org
Author: jleroux
Date: Thu Mar 19 18:06:03 2009
New Revision: 756119

URL: http://svn.apache.org/viewvc?rev=756119&view=rev
Log:
3st 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"

My last comment in the Jira issue is wrong (Jira is not accessible at this time so I can't fix it)
* Of course, I will have to differentiate from-field (ie "${(.*)}") and value (ie "(.*)"). I think I will generalise "${(.*)}" and will check by hand...
* Also there was a wrong " after $3 that should not have been there

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
    ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml?rev=756119&r1=756118&r2=756119&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Thu Mar 19 18:06:03 2009
@@ -726,7 +726,15 @@
         </field>
         <field name="statusId" entry-name="roleStatusId" widget-style="buttontext" widget-area-style="fieldWidth300">
             <display-entity entity-name="StatusItem" description="${description}">
-                <sub-hyperlink description="${uiLabelMap.PartyToComplete}" target="setCommunicationEventRoleStatus?communicationEventId=${communicationEventId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}&amp;statusId=COM_ROLE_COMPLETED&amp;donePage=${parameters.donePage}&amp;VIEW_SIZE=${parameters.VIEWSIZE}&amp;VIEW_INDEX=${parameters.VIEW_INDEX}"/>
+                <sub-hyperlink description="${uiLabelMap.PartyToComplete}" target="setCommunicationEventRoleStatus">
+ <parameter param-name="communicationEventId"/>
+ <parameter param-name="partyId"/>
+ <parameter param-name="roleTypeId"/>
+ <parameter param-name="statusID" value="COM_ROLE_COMPLETED"/>
+ <parameter param-name="donePage" from-field="parameters.donePage"/>
+ <parameter param-name="VIEWSIZE" from-field="parameters.VIEWSIZE"/>
+ <parameter param-name="VIEW_INDEX" from-field="parameters.VIEW_INDEX"/>
+ </sub-hyperlink>
             </display-entity>
         </field>
         <field name="createdStamp" entry-name="entryDate"/>

Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml?rev=756119&r1=756118&r2=756119&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml Thu Mar 19 18:06:03 2009
@@ -98,7 +98,15 @@
         </field>
         <field name="statusId" entry-name="roleStatusId" widget-style="buttontext" widget-area-style="fieldWidth300">
             <display-entity entity-name="StatusItem" description="${description}">
-                <sub-hyperlink description="${uiLabelMap.MyPageToComplete}" target="setCommunicationEventRoleStatus?communicationEventId=${communicationEventId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}&amp;statusId=COM_ROLE_COMPLETED&amp;donePage=${parameters.donePage}&amp;VIEW_SIZE=${parameters.VIEWSIZE}&amp;VIEW_INDEX=${parameters.VIEW_INDEX}"/>
+                <sub-hyperlink description="${uiLabelMap.MyPageToComplete}" target="setCommunicationEventRoleStatus">
+ <parameter param-name="communicationEventId"/>
+ <parameter param-name="partyId"/>
+ <parameter param-name="roleTypeId"/>
+ <parameter param-name="statusID" value="COM_ROLE_COMPLETED"/>
+ <parameter param-name="donePage" from-field="parameters.donePage"/>
+ <parameter param-name="VIEWSIZE" from-field="parameters.VIEWSIZE"/>
+ <parameter param-name="VIEW_INDEX" from-field="parameters.VIEW_INDEX"/>
+ </sub-hyperlink>
             </display-entity>
         </field>
         <field name="createdStamp" entry-name="entryDate"/>