portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls Close.java Customize.java Info.java Maximize.java Minimize.java Restore.java
Date Sat, 16 Jun 2001 09:40:37 GMT
raphael     01/06/16 02:40:37

  Modified:    src/java/org/apache/jetspeed/modules/actions/controls
                        Close.java Customize.java Info.java Maximize.java
                        Minimize.java Restore.java
  Log:
  use new Portlet support method in JetspeedRunData
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Close.java
  
  Index: Close.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Close.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Close.java	2001/06/04 17:46:44	1.2
  +++ Close.java	2001/06/16 09:40:36	1.3
  @@ -64,6 +64,7 @@
   import org.apache.jetspeed.portal.PortletState;
   import org.apache.jetspeed.services.PortletFactory;
   import org.apache.jetspeed.services.Registry;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
   /**
    * Change the internal state of a portlet from normal to closed
  @@ -81,7 +82,7 @@
               return;
           }
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               return;
  
  
  
  1.3       +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java
  
  Index: Customize.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Customize.java	2001/05/29 23:15:38	1.2
  +++ Customize.java	2001/06/16 09:40:36	1.3
  @@ -60,8 +60,8 @@
   
   // Jetspeed stuff
   import org.apache.jetspeed.portal.PortalState;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
  -
   /**
    * Handle Customization requests for the current portlet
    * 
  @@ -72,7 +72,7 @@
       public void doPerform( RunData rundata ) throws Exception
       {
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               return;
  
  
  
  1.2       +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Info.java
  
  Index: Info.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Info.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Info.java	2001/05/28 15:16:31	1.1
  +++ Info.java	2001/06/16 09:40:36	1.2
  @@ -57,6 +57,7 @@
   // Turbine stuff
   import org.apache.turbine.modules.Action;
   import org.apache.turbine.util.RunData;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
   /**
    * Display information about the selected portlet
  @@ -68,7 +69,7 @@
       public void doPerform( RunData rundata ) throws Exception
       {
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               rundata.setScreenTemplate("Ecs");
  
  
  
  1.4       +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Maximize.java
  
  Index: Maximize.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Maximize.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Maximize.java	2001/06/04 17:46:44	1.3
  +++ Maximize.java	2001/06/16 09:40:36	1.4
  @@ -60,6 +60,7 @@
   
   // Jetspeed stuff
   import org.apache.jetspeed.portal.PortalState;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
   
   /**
  @@ -81,7 +82,7 @@
               return;
           }
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               return;
  
  
  
  1.3       +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Minimize.java
  
  Index: Minimize.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Minimize.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Minimize.java	2001/06/04 17:46:45	1.2
  +++ Minimize.java	2001/06/16 09:40:36	1.3
  @@ -63,6 +63,7 @@
   import org.apache.jetspeed.portal.PortletState;
   import org.apache.jetspeed.services.PortletFactory;
   import org.apache.jetspeed.services.Registry;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
   
   /**
  @@ -80,7 +81,7 @@
               return;
           }
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               return;
  
  
  
  1.6       +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Restore.java
  
  Index: Restore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Restore.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Restore.java	2001/06/09 17:35:37	1.5
  +++ Restore.java	2001/06/16 09:40:36	1.6
  @@ -65,6 +65,7 @@
   import org.apache.jetspeed.portal.PortalState;
   import org.apache.jetspeed.services.PortletFactory;
   import org.apache.jetspeed.services.Registry;
  +import org.apache.jetspeed.services.rundata.JetspeedRunData;
   
   /**
   Change the internal state of a portlet from minimized to normal
  @@ -81,7 +82,7 @@
               return;
           }
   
  -        String name = rundata.getParameters().getString ( "portlet", null );
  +        String name = ((JetspeedRunData)rundata).getPortlet();
           if ( name == null )
           {
               return;
  
  
  

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