svn commit: r783266 - in /ofbiz/trunk: applications/party/webapp/partymgr/communication/CommForms.xml framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

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

svn commit: r783266 - in /ofbiz/trunk: applications/party/webapp/partymgr/communication/CommForms.xml framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

hansbak-2
Author: hansbak
Date: Wed Jun 10 09:21:18 2009
New Revision: 783266

URL: http://svn.apache.org/viewvc?rev=783266&view=rev
Log:
remove on mycommlist did not work and returned to a old unused saved view. save-home now clears save-current/last view

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

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=783266&r1=783265&r2=783266&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Wed Jun 10 09:21:18 2009
@@ -423,6 +423,8 @@
         </row-actions>
         <field name="deleteCommEventIfLast"><hidden value="Y"/></field>
         <field name="delContentDataResource"><hidden value="Y"/></field>
+        <field name="partyId"><hidden/></field>
+        <field name="communicationEventId"><hidden/></field>
         <field name="subject" widget-style="buttontext" widget-area-style="fieldWidth300" sort-field="true">
             <hyperlink description="${subject}[${communicationEventId}] " target="ViewCommunicationEvent">
                 <parameter param-name="communicationEventId"/>

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=783266&r1=783265&r2=783266&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Wed Jun 10 09:21:18 2009
@@ -718,6 +718,9 @@
          //Debug.log("======save home view: " + view);
          req.getSession().setAttribute("_HOME_VIEW_NAME_", view);
          req.getSession().setAttribute("_HOME_VIEW_PARAMS_", paramMap);
+         // clear other saved views
+         req.getSession().removeAttribute("_SAVED_VIEW_NAME_");
+         req.getSession().removeAttribute("_SAVED_VIEW_PARAMS_");
         }
 
         ConfigXMLReader.ViewMap viewMap = (view == null ? null : getControllerConfig().viewMapMap.get(view));