svn commit: r774652 - in /ofbiz/trunk/applications/party: src/org/ofbiz/party/communication/CommunicationEventServices.java webapp/partymgr/WEB-INF/controller.xml webapp/partymgr/communication/CommForms.xml

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

svn commit: r774652 - in /ofbiz/trunk/applications/party: src/org/ofbiz/party/communication/CommunicationEventServices.java webapp/partymgr/WEB-INF/controller.xml webapp/partymgr/communication/CommForms.xml

jaz-3
Author: jaz
Date: Thu May 14 06:16:38 2009
New Revision: 774652

URL: http://svn.apache.org/viewvc?rev=774652&view=rev
Log:
added contactListId to each comm event stored when sending from contact list; added contactListId to view; turned off visit and hit tracking for the ceimages request

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
    ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
    ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java?rev=774652&r1=774651&r2=774652&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java Thu May 14 06:16:38 2009
@@ -342,6 +342,7 @@
                         String thisCommEventId = (String) tmpResult.get("communicationEventId");
                         GenericValue thisCommEvent = delegator.findOne("CommunicationEvent", false, "communicationEventId", thisCommEventId);                        
                         if (thisCommEvent != null) {
+                            thisCommEvent.set("contactListId", contactListId);
                             thisCommEvent.set("parentCommEventId", communicationEventId);
                             thisCommEvent.store();                            
                         }

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=774652&r1=774651&r2=774652&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Thu May 14 06:16:38 2009
@@ -1182,7 +1182,7 @@
     </request-map>
 
     <!--  external communication event; mark as read using 1px image request -->
-    <request-map uri="ceimages">
+    <request-map uri="ceimages" track-serverhit="false" track-visit="false">
         <security https="false" auth="false"/>
         <event type="java" path="org.ofbiz.party.communication.CommunicationEventServices" invoke="markCommunicationAsRead"/>
         <response name="success" type="none"/>

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=774652&r1=774651&r2=774652&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Thu May 14 06:16:38 2009
@@ -217,6 +217,7 @@
             </hyperlink>
         </field>
         <field name="communicationEventTypeId"><display-entity entity-name="CommunicationEventType" description="${description}"/></field>
+        <field name="contactListId"><display/></field>
         <field name="messageId"><display/></field>
         <field name="partyIdFrom" use-when="partyIdFrom!=void">
             <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName} (${contactMechFrom.infoString})">
@@ -244,6 +245,7 @@
             <field-group collapsible="false" initially-collapsed="false">
                 <sort-field name="communicationEventId"/>
                 <sort-field name="communicationEventTypeId"/>
+                <sort-field name="contactListId"/>
                 <sort-field name="messageId"/>
                 <sort-field name="partyIdFrom"/>
                 <sort-field name="partyIdTo"/>