Author: ashish
Date: Tue Mar 30 13:18:43 2010
New Revision: 929128
URL: http://svn.apache.org/viewvc?rev=929128&view=rev
Log:
Reply tab in communication event was not taking parameters from parent
communication event like subject, text content etc.
This patch will fix this issue.
Thanks Amit for the contribution.
Modified:
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
Modified:
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=929128&r1=929127&r2=929128&view=diff
==============================================================================
---
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
(original)
+++
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
Tue Mar 30 13:18:43 2010
@@ -87,9 +87,8 @@ under the License.
<set field="newEntity.partyIdFrom"
from-field="parameters.partyIdFrom"
default-value="parameters.userLogin.partyId"/>
<set field="newEntity.partyIdTo"
from-field="parentCommEvent.partyIdFrom"/>
<set field="newEntity.parentCommEventId"
from-field="parentCommEvent.communicationEventId"/>
-
<set field="newEntity.subject" value="RE:
${parentCommEvent.subject}"/>
-
+ <set field="newEntity.contentMimeTypeId"
from-field="parentCommEvent.contentMimeTypeId"/>
<set field="newEntity.content" value="${groovy:
def localContent = parentCommEvent.content;
if (!localContent) return("");
Modified:
ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml?rev=929128&r1=929127&r2=929128&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
(original)
+++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml
Tue Mar 30 13:18:43 2010
@@ -22,6 +22,7 @@ under the License.
<form name="EditCommEvent" type="single" target="updateCommunicationEvent"
default-map-name="communicationEvent">
<alt-target target="createCommunicationEvent"
use-when="communicationEvent==null"/>
+ <field name="action"><hidden value="${parameters.action}"/></field>
<field name="communicationEventId"
use-when="communicationEvent!=null"><display/></field>
<field name="my"><hidden value="${my}"/></field>
<field name="parentCommEventId" position="2">