rwatler     2005/03/31 07:07:00

  Modified:    
portals-bridges/velocity/src/java/org/apache/portals/bridges/velocity
                        GenericVelocityPortlet.java
  Log:
  add  constant, (PortletResponse.USER_INFO)
  
  Revision  Changes    Path
  1.5       +4 -2      
jakarta-jetspeed-2/portals-bridges/velocity/src/java/org/apache/portals/bridges/velocity/GenericVelocityPortlet.java
  
  Index: GenericVelocityPortlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portals-bridges/velocity/src/java/org/apache/portals/bridges/velocity/GenericVelocityPortlet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GenericVelocityPortlet.java       11 Jan 2005 09:34:07 -0000      1.4
  +++ GenericVelocityPortlet.java       31 Mar 2005 15:07:00 -0000      1.5
  @@ -26,6 +26,7 @@
   import javax.portlet.PortletException;
   import javax.portlet.PortletMode;
   import javax.portlet.PortletPreferences;
  +import javax.portlet.PortletRequest;
   import javax.portlet.RenderRequest;
   import javax.portlet.RenderResponse;
   import javax.portlet.WindowState;
  @@ -64,7 +65,7 @@
    * </p>
    * <p>
    * Constants: $MODE_EDIT, $MODE_HELP, $MODE_VIEW, $STATE_NORMAL, $STATE_MIN,
  - * $STATE_MAX
  + * $STATE_MAX, $USER_INFO
    * 
    * @author <a href="mailto:[EMAIL PROTECTED]">David Sean Taylor </a>
    * @version $Id: GenericVelocityPortlet.java,v 1.1 2004/10/29 01:29:50 taylor
  @@ -177,6 +178,7 @@
           ctx.put("MODE_VIEW", PortletMode.VIEW);
           ctx.put("MODE_EDIT", PortletMode.EDIT);
           ctx.put("MODE_HELP", PortletMode.HELP);
  +        ctx.put("USER_INFO", PortletRequest.USER_INFO);
           return ctx;
       }
   
  @@ -210,4 +212,4 @@
           super.doEdit(request, response);
       }
   
  -}
  \ No newline at end of file
  +}
  
  
  

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

Reply via email to