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-2/portals-bridges/velocity/src/java/org/apache/portals/bridges/velocity GenericVelocityPortlet.java
Date Wed, 01 Dec 2004 01:30:29 GMT
taylor      2004/11/30 17:30:29

  Modified:    portals-bridges/velocity/src/java/org/apache/portals/bridges/velocity
                        GenericVelocityPortlet.java
  Log:
  refactored preferences edit so that you don't have to forward on to view mode
  
  Revision  Changes    Path
  1.3       +6 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GenericVelocityPortlet.java	15 Nov 2004 05:59:46 -0000	1.2
  +++ GenericVelocityPortlet.java	1 Dec 2004 01:30:29 -0000	1.3
  @@ -183,12 +183,17 @@
           return (Context) request.getAttribute(PORTLET_BRIDGE_CONTEXT);
       }
   
  -    public void doPreferencesEdit(RenderRequest request, RenderResponse response) throws
PortletException, IOException
  +    public void setupPreferencesEdit(RenderRequest request, RenderResponse response)
       {
           Context context = getContext(request);
           PortletPreferences prefs = request.getPreferences();
           Iterator it = prefs.getMap().entrySet().iterator();
           context.put("prefs", it);
  +    }
  +    
  +    public void doPreferencesEdit(RenderRequest request, RenderResponse response) throws
PortletException, IOException
  +    {
  +        setupPreferencesEdit(request, response);
           super.doEdit(request, response);
       }
   
  
  
  

---------------------------------------------------------------------
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