You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/05/12 20:48:04 UTC

cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/session/impl SessionNavigationalState.java PageStateImpl.java

taylor      2004/05/12 11:48:04

  Modified:    portal/src/java/org/apache/jetspeed/container/session/impl
                        SessionNavigationalState.java PageStateImpl.java
  Log:
  Tomcat 5 was complaining about these objects not being serializable and put in the session
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.13      +5 -3      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/session/impl/SessionNavigationalState.java
  
  Index: SessionNavigationalState.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/session/impl/SessionNavigationalState.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SessionNavigationalState.java	8 May 2004 01:15:46 -0000	1.12
  +++ SessionNavigationalState.java	12 May 2004 18:48:03 -0000	1.13
  @@ -15,6 +15,7 @@
    */
   package org.apache.jetspeed.container.session.impl;
   
  +import java.io.Serializable;
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.Map;
  @@ -38,11 +39,12 @@
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @version $Id$
    */
  -public class SessionNavigationalState
  +public class SessionNavigationalState 
       extends
           AbstractNavigationalState
       implements 
  -        NavigationalState 
  +        NavigationalState,
  +        Serializable
   {    
       private Map states;
       private Map modes;
  
  
  
  1.2       +4 -2      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/session/impl/PageStateImpl.java
  
  Index: PageStateImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/session/impl/PageStateImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PageStateImpl.java	8 May 2004 01:15:46 -0000	1.1
  +++ PageStateImpl.java	12 May 2004 18:48:04 -0000	1.2
  @@ -15,6 +15,8 @@
    */
   package org.apache.jetspeed.container.session.impl;
   
  +import java.io.Serializable;
  +
   import org.apache.jetspeed.container.session.PageState;
   import org.apache.pluto.om.window.PortletWindow;
   
  @@ -24,7 +26,7 @@
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @version $Id$
    */
  -public class PageStateImpl implements PageState
  +public class PageStateImpl implements PageState, Serializable
   {
       private PortletWindow maximized = null;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org