portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/portlets JetspeedFusionPortlet.java
Date Thu, 12 Aug 2004 18:41:31 GMT
taylor      2004/08/12 11:41:30

  Modified:    fusion/src/java/org/apache/jetspeed/fusion/portal/portlets
                        JetspeedFusionPortlet.java
  Log:
  cleanup
  
  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.5       +5 -8      jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/portlets/JetspeedFusionPortlet.java
  
  Index: JetspeedFusionPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/portlets/JetspeedFusionPortlet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JetspeedFusionPortlet.java	11 Aug 2004 06:40:23 -0000	1.4
  +++ JetspeedFusionPortlet.java	12 Aug 2004 18:41:30 -0000	1.5
  @@ -30,6 +30,7 @@
   import org.apache.jetspeed.components.portletregistry.PortletRegistryComponent;
   import org.apache.jetspeed.container.session.NavigationalState;
   import org.apache.jetspeed.container.session.NavigationalStateComponent;
  +import org.apache.jetspeed.container.session.impl.JetspeedNavigationalStateComponent;
   import org.apache.jetspeed.container.window.PortletWindowAccessor;
   import org.apache.jetspeed.engine.Engine;
   import org.apache.jetspeed.portal.PortletException;
  @@ -73,10 +74,7 @@
       private PortletWindowAccessor windowAccessor;
       private PortletEntityAccessComponent entityAccess;
       private PortletRegistryComponent registryAccess;
  -    
  -    // TODO: get this from NavStateComponent
  -    private static final String NAVSTATE_SESSION_KEY = "org.apache.jetspeed.navstate";
  -    
  +        
       public void init()
       throws PortletException
       {
  @@ -229,8 +227,7 @@
                   return new JetspeedClearElement(message);
               }
   
  -            // TODO: need to create a response wrapper and buffer the content
  -            HttpServletResponse response =  data.getResponse(); // TODO: TEST new FusionResponseWrapper(data.getResponse());
  +            HttpServletResponse response =  data.getResponse(); 
               
               jsDispatcher.include(data.getRequest(), response);
   
  @@ -251,7 +248,7 @@
       public NavigationalState getNavigationalState(JetspeedRunData data)
       {
           return
  -            (NavigationalState)data.getSession().getAttribute(NAVSTATE_SESSION_KEY);
  +            (NavigationalState)data.getSession().getAttribute(JetspeedNavigationalStateComponent.NAVSTATE_SESSION_KEY);
       }
       
       private void syncNavigationalState(PortletWindow window,
  
  
  

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


Mime
View raw message