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/portal/portlets FileWatchPortlet.java IFramePortlet.java JspPortlet.java WebPagePortlet.java
Date Thu, 24 Oct 2002 14:59:26 GMT
morciuch    2002/10/24 07:59:26

  Modified:    src/java/org/apache/jetspeed/portal/portlets
                        FileWatchPortlet.java IFramePortlet.java
                        JspPortlet.java WebPagePortlet.java
  Log:
  Changed to inherit from AbstractInstancePortlet for better multi-instance support. There
were reported problems with placing multiple instances of the same portlet on single pane.
This change should help resolving these problems.
  
  I did not see any side effects to this change.
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/FileWatchPortlet.java
  
  Index: FileWatchPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/FileWatchPortlet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileWatchPortlet.java	7 Mar 2001 06:47:06 -0000	1.4
  +++ FileWatchPortlet.java	24 Oct 2002 14:59:25 -0000	1.5
  @@ -76,7 +76,7 @@
   @author <A HREF="mailto:burton@apache.org">Kevin A. Burton</A>
   @version $Id$
   */
  -public abstract class FileWatchPortlet extends AbstractPortlet {
  +public abstract class FileWatchPortlet extends AbstractInstancePortlet {
   
       
       FileWatchExpire expire = null;
  
  
  
  1.3       +1 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/IFramePortlet.java
  
  Index: IFramePortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/IFramePortlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IFramePortlet.java	30 Sep 2002 17:53:24 -0000	1.2
  +++ IFramePortlet.java	24 Oct 2002 14:59:25 -0000	1.3
  @@ -118,7 +118,7 @@
    * @see AbstractPortlet
    */
   
  -public class IFramePortlet extends AbstractPortlet
  +public class IFramePortlet extends AbstractInstancePortlet
   {
       static final String DEFAULT_NOTSUPP_MSG =
               "[Your user agent does not support inline frames or is currently" 
  
  
  
  1.6       +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/JspPortlet.java
  
  Index: JspPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/JspPortlet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JspPortlet.java	20 Sep 2002 21:19:37 -0000	1.5
  +++ JspPortlet.java	24 Oct 2002 14:59:25 -0000	1.6
  @@ -63,7 +63,7 @@
   
   // Jetspeed portal
   import org.apache.jetspeed.portal.Portlet;
  -import org.apache.jetspeed.portal.portlets.AbstractPortlet;
  +import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet;
   import org.apache.jetspeed.portal.PortletException;
   import org.apache.jetspeed.portal.PortletConfig;
   import org.apache.jetspeed.services.template.TemplateLocatorService;
  @@ -80,7 +80,7 @@
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @author <a href="mailto:sgala@apache.org">Santiago Gala</a>
    */
  -public class JspPortlet extends AbstractPortlet
  +public class JspPortlet extends AbstractInstancePortlet
   
   {
   
  
  
  
  1.13      +1 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java
  
  Index: WebPagePortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- WebPagePortlet.java	4 Oct 2002 18:29:48 -0000	1.12
  +++ WebPagePortlet.java	24 Oct 2002 14:59:25 -0000	1.13
  @@ -84,7 +84,7 @@
    *@author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    *@author <a href="mailto:david@pssp.com">David G. Powers</a>
    */
  -public class WebPagePortlet extends AbstractPortlet {
  +public class WebPagePortlet extends AbstractInstancePortlet {
   
       protected HTMLRewriter rewriter = null;
       protected boolean initDone = false;
  
  
  

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