Author: hansbak
Date: Wed Jun 3 07:55:49 2009
New Revision: 781289
URL:
http://svn.apache.org/viewvc?rev=781289&view=revLog:
in the mycomm screens return to the list overview after sending an email
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=781289&r1=781288&r2=781289&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Wed Jun 3 07:55:49 2009
@@ -758,6 +758,12 @@
<response name="success" type="view" value="EditCommunicationEvent"/>
<response name="error" type="view" value="EditCommunicationEvent"/>
</request-map>
+ <request-map uri="sendCommunicationEvent">
+ <security https="true" auth="true"/>
+ <event type="service" invoke="updateCommunicationEvent"/>
+ <response name="success" type="view-home" value="EditCommunicationEvent"/>
+ <response name="error" type="view" value="EditCommunicationEvent"/>
+ </request-map>
<request-map uri="deleteCommunicationEvent">
<security https="true" auth="true"/>
<event type="service" invoke="deleteCommunicationEvent"/>
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=781289&r1=781288&r2=781289&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Wed Jun 3 07:55:49 2009
@@ -142,13 +142,14 @@
<order-by field-name="infoString"/>
</entity-condition>
</actions>
- <alt-target use-when="communicationEvent!=null" target="updateCommunicationEvent"/>
+ <alt-target use-when="communicationEvent!=null" target="sendCommunicationEvent"/>
<field name="communicationEventId"><hidden/></field>
<field name="communicationEventTypeId"><hidden value="EMAIL_COMMUNICATION"/></field>
<field name="statusId"><hidden value="COM_IN_PROGRESS"/></field>
<field name="parentCommEventId" use-when="parentCommEventId != null"><hidden value="${parameters.parentCommEventId}"/></field>
<field name="parentCommEventId" use-when="originalCommEventId != null"><hidden value="${parameters.originalCommEventId}"/></field>
<field name="partyIdFrom"><hidden/></field>
+ <field name="my" use-when="parameters.get("my")==null"><hidden value="parameters.my"/></field>
<field name="fromEmailAddr" parameter-name="contactMechIdFrom">
<drop-down>
<list-options list-name="emailAddresses" description="${infoString}" key-name="contactMechId"/>