portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers PanedControllerAction.java
Date Fri, 31 Oct 2003 14:34:37 GMT
jford       2003/10/31 06:34:37

  Modified:    src/java/org/apache/jetspeed/modules/actions/controllers
                        PanedControllerAction.java
  Log:
  Fixed NullPointerException reported by Pernoud Aurelien
  
  Revision  Changes    Path
  1.11      +7 -5      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/PanedControllerAction.java
  
  Index: PanedControllerAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/PanedControllerAction.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PanedControllerAction.java	27 Oct 2003 03:55:31 -0000	1.10
  +++ PanedControllerAction.java	31 Oct 2003 14:34:37 -0000	1.11
  @@ -120,11 +120,13 @@
           }
   
           if (portlet != null)
  +        {
               context.put("pane", portlet);        
  -        
  -        if(!portlet.getAttribute("_menustate", "open", rundata).equals("closed"))
  -        {   
  -            cont.savePaneID(rundata, paneID);
  +
  +            if(!portlet.getAttribute("_menustate", "open", rundata).equals("closed"))
  +            {   
  +                cont.savePaneID(rundata, paneID);
  +            }
           }
       }    
   
  
  
  

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