raphael     01/06/16 03:34:42

  Modified:    src/java/org/apache/jetspeed/modules/actions
                        JetspeedSessionValidator.java
  Log:
  use new Portlet support method in JetspeedRunData
  
  Revision  Changes    Path
  1.8       +5 -1      
jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JetspeedSessionValidator.java
  
  Index: JetspeedSessionValidator.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JetspeedSessionValidator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- JetspeedSessionValidator.java     2001/06/06 22:28:53     1.7
  +++ JetspeedSessionValidator.java     2001/06/16 10:34:41     1.8
  @@ -76,7 +76,7 @@
   @see org.apache.turbine.actions.SessionValidator
   @author <a href="mailto:[EMAIL PROTECTED]";>Ingo Schuster</a>
   @author <a href="mailto:[EMAIL PROTECTED]";>Rapha�l Luta</a>
  -@version $Id: JetspeedSessionValidator.java,v 1.7 2001/06/06 22:28:53 raphael Exp $
  +@version $Id: JetspeedSessionValidator.java,v 1.8 2001/06/16 10:34:41 raphael Exp $
   */
   public class JetspeedSessionValidator extends TemplateSessionValidator
   {
  @@ -117,6 +117,10 @@
           }
           
           data.getUser().setTemp("locale", locale);
  +        
  +        // if a portlet is referenced in the parameters request, store it
  +        // in the RunData object
  +        jdata.setPortlet(jdata.getParameters().getString("portlet"));
           
           // get the profile and store it in the RunData
           Profile newProfile = Profiler.getProfile(jdata);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to