You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2010/06/03 19:49:22 UTC

svn commit: r951087 - in /ofbiz/trunk/applications: order/widget/ordermgr/CustRequestForms.xml product/widget/catalog/SubscriptionForms.xml

Author: mor
Date: Thu Jun  3 17:49:21 2010
New Revision: 951087

URL: http://svn.apache.org/viewvc?rev=951087&view=rev
Log:
Explicitly added the hidden-form link-type instead of relying on link-type auto. The auto link-type only works with intra-app and not with inter-app target-type.

The other option would be to change the method WidgetWorker.determineAutoLinkType() to allow inter-app target-type so that the method can

determine whether to change the hyperlink to a form or an anchor to avoid secured URL issue.


Modified:
    ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
    ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml

Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=951087&r1=951086&r2=951087&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Thu Jun  3 17:49:21 2010
@@ -179,7 +179,7 @@ under the License.
     <form name="ViewRequestCommunicationEvents" type="list" extends="ListCommEvents"
             extends-resource="component://party/widget/partymgr/CommunicationEventForms.xml">
         <field name="subject">
-            <hyperlink description="${subject}" target="/partymgr/control/ViewCommunicationEvent" target-type="inter-app">
+            <hyperlink description="${subject}" target="/partymgr/control/ViewCommunicationEvent" target-type="inter-app" link-type="hidden-form">
                 <parameter param-name="communicationEventId"/>
             </hyperlink>
         </field>

Modified: ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml?rev=951087&r1=951086&r2=951087&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml Thu Jun  3 17:49:21 2010
@@ -465,7 +465,7 @@ under the License.
         <field name="subscriptionId"><hidden value="${parameters.subscriptionId}"/></field>
         <field name="communicationEventId">
             <lookup target-form-name="LookupCommEvent">
-                <sub-hyperlink target="/partymgr/control/ViewCommunicationEvent" target-type="inter-app" description="${subscription.communicationEventId}" link-style="buttontext">
+                <sub-hyperlink target="/partymgr/control/ViewCommunicationEvent" target-type="inter-app" link-type="hidden-form" description="${subscription.communicationEventId}" link-style="buttontext">
                 <parameter param-name="communicationEventId" from-field="subscription.communicationEventId"/>
             </sub-hyperlink>
             </lookup>