portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/template JetspeedTool.java
Date Thu, 03 Oct 2002 18:46:17 GMT
morciuch    2002/10/03 11:46:17

  Modified:    src/java/org/apache/jetspeed/util/template JetspeedTool.java
  Log:
  Modified getPortletFromRegistry to properly use skin from the profile
  
  Revision  Changes    Path
  1.24      +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTool.java
  
  Index: JetspeedTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTool.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- JetspeedTool.java	10 Sep 2002 16:51:29 -0000	1.23
  +++ JetspeedTool.java	3 Oct 2002 18:46:16 -0000	1.24
  @@ -592,8 +592,8 @@
               if (control != null)
               {
                   JetspeedRunData jdata = (JetspeedRunData) rundata;
  -                // Use the profile's skin - deprecated
  -                // p.getPortletConfig().setSkin(PortalToolkit.getSkin(jdata.getProfile().getDocument().getPortlets().getSkin()));
  +                // Use the profile's skin
  +                p.getPortletConfig().setPortletSkin(PortalToolkit.getSkin(jdata.getProfile().getDocument().getPortlets().getSkin()));
                   control.setPortlet(p);
                   control.init();
                   result = control.getContent(rundata);
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message