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 Glenn Golden <gg...@umich.edu> on 2002/07/30 00:47:43 UTC

RE: cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf TurbineResou rces.properties

I finally got time to go back and run my tests again on the http version of
the state manager service, and they run just fine, including having the
objects that are placed into the session states freed and notified (using
the ??? Interface) when the session expires.

Now that we have a reliable (and self cleaning) state management service,
I'm going to start changing some uses within Jetspeed of storing values in
the user.getTemp() to storing values in the state manager.  My goal is to
replace all user.getTemp() usage with state manager, properly (session,
page, portlet / portlet set) scoped.

The first on my list is to fix a problem with the "pane" to display when
none is specified in the request - there's no distinction in the current
mechanism between different portal pages - so if a user is switching between
portal pages, the "current" pane can be confused between them.  I'll change
it so that the "current" pane is a feature of the portlet set WITHIN a
portlet page (within a user session).

- Glenn

--------------------------------------------
Glenn R. Golden, Systems Research Programmer 
University of Michigan School of Information
ggolden@umich.edu               734-615-1419
--------------------------------------------


> -----Original Message-----
> From: ggolden@apache.org [mailto:ggolden@apache.org] 
> Sent: Monday, July 29, 2002 3:24 PM
> To: jakarta-jetspeed-cvs@apache.org
> Subject: cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf 
> TurbineResources.properties
> 
> 
> ggolden     2002/07/29 12:23:30
> 
>   Modified:    webapp/WEB-INF/conf TurbineResources.properties
>   Log:
>   Switched to the JetspeedHttpStateManagerService, which stores
>   all state attributes (well wrapped) in the real HTTP 
> session provided by the
>   container, and will clean up all values when sessions expire.
>   
>   Revision  Changes    Path
>   1.57      +2 -2      
> jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties
>   
>   Index: TurbineResources.properties
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResource
> s.properties,v
>   retrieving revision 1.56
>   retrieving revision 1.57
>   diff -u -r1.56 -r1.57
>   --- TurbineResources.properties	18 Jul 2002 22:46:28 
> -0000	1.56
>   +++ TurbineResources.properties	29 Jul 2002 19:23:30 
> -0000	1.57
>   @@ -367,7 +367,7 @@
>    
> #services.IntakeService.classname=org.apache.turbine.services.
> intake.TurbineIntakeService
>    
> services.TemplateService.classname=org.apache.turbine.services
> .template.TurbineTemplateService
>    
> #services.XSLTService.classname=org.apache.turbine.services.xs
> lt.TurbineXSLTService
>   
> -services.StateManagerService.classname=org.apache.jetspeed.se
> rvices.statemanager.JetspeedStateManagerService
>   
> +services.StateManagerService.classname=org.apache.jetspeed.se
> rvices.statemanager.JetspeedHttpStateManagerService
>    
>    # Turn on the appropriate template service.
>    
> services.JspService.classname=org.apache.turbine.services.jsp.
> TurbineJspService
>   
>   
>   
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf TurbineResources.properties

Posted by David Sean Taylor <da...@bluesunrise.com>.
Do you have unit tests for your new service?
Im +1 for your new service. I would just like to see it tested and used for
a while before we all switch over to it.

> -----Original Message-----
> From: Glenn Golden [mailto:ggolden@umich.edu]
> Sent: Monday, July 29, 2002 3:48 PM
> To: 'Jetspeed Developers List'
> Subject: RE: cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf
> TurbineResources.properties
>
>
> I finally got time to go back and run my tests again on the http
> version of
> the state manager service, and they run just fine, including having the
> objects that are placed into the session states freed and notified (using
> the ??? Interface) when the session expires.
>
> Now that we have a reliable (and self cleaning) state management service,
> I'm going to start changing some uses within Jetspeed of storing values in
> the user.getTemp() to storing values in the state manager.  My goal is to
> replace all user.getTemp() usage with state manager, properly (session,
> page, portlet / portlet set) scoped.
>
> The first on my list is to fix a problem with the "pane" to display when
> none is specified in the request - there's no distinction in the current
> mechanism between different portal pages - so if a user is
> switching between
> portal pages, the "current" pane can be confused between them.
> I'll change
> it so that the "current" pane is a feature of the portlet set WITHIN a
> portlet page (within a user session).
>
> - Glenn
>
> --------------------------------------------
> Glenn R. Golden, Systems Research Programmer
> University of Michigan School of Information
> ggolden@umich.edu               734-615-1419
> --------------------------------------------
>
>
> > -----Original Message-----
> > From: ggolden@apache.org [mailto:ggolden@apache.org]
> > Sent: Monday, July 29, 2002 3:24 PM
> > To: jakarta-jetspeed-cvs@apache.org
> > Subject: cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf
> > TurbineResources.properties
> >
> >
> > ggolden     2002/07/29 12:23:30
> >
> >   Modified:    webapp/WEB-INF/conf TurbineResources.properties
> >   Log:
> >   Switched to the JetspeedHttpStateManagerService, which stores
> >   all state attributes (well wrapped) in the real HTTP
> > session provided by the
> >   container, and will clean up all values when sessions expire.
> >
> >   Revision  Changes    Path
> >   1.57      +2 -2
> > jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties
> >
> >   Index: TurbineResources.properties
> >   ===================================================================
> >   RCS file:
> > /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResource
> > s.properties,v
> >   retrieving revision 1.56
> >   retrieving revision 1.57
> >   diff -u -r1.56 -r1.57
> >   --- TurbineResources.properties	18 Jul 2002 22:46:28
> > -0000	1.56
> >   +++ TurbineResources.properties	29 Jul 2002 19:23:30
> > -0000	1.57
> >   @@ -367,7 +367,7 @@
> >
> > #services.IntakeService.classname=org.apache.turbine.services.
> > intake.TurbineIntakeService
> >
> > services.TemplateService.classname=org.apache.turbine.services
> > .template.TurbineTemplateService
> >
> > #services.XSLTService.classname=org.apache.turbine.services.xs
> > lt.TurbineXSLTService
> >
> > -services.StateManagerService.classname=org.apache.jetspeed.se
> > rvices.statemanager.JetspeedStateManagerService
> >
> > +services.StateManagerService.classname=org.apache.jetspeed.se
> > rvices.statemanager.JetspeedHttpStateManagerService
> >
> >    # Turn on the appropriate template service.
> >
> > services.JspService.classname=org.apache.turbine.services.jsp.
> > TurbineJspService
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-dev-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>