weaver      2003/03/23 17:10:13

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets
                        VelocityPortletAction.java
  Log:
  - Added empty method signatures for buildConfigureContext(VelocityPortlet, Context, 
RunData)
    for buildConfigureContext(VelocityPortlet, Context, RunData) and
    buildMaximizedContext(VelocityPortlet, Context, RunData) to fix possible 
self-referencing
    loop caused by sub-classes calling the super.* of either of these methods.
  
  Revision  Changes    Path
  1.13      +20 -1     
jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java
  
  Index: VelocityPortletAction.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- VelocityPortletAction.java        20 Mar 2003 18:11:50 -0000      1.12
  +++ VelocityPortletAction.java        24 Mar 2003 01:10:13 -0000      1.13
  @@ -148,6 +148,15 @@
           
       }
       
  +    /**
  +     * prevents possible self-referencing loop when sub-classes invoke 
super.buildConfigureContext().
  +     * @author <a href="mailto:[EMAIL PROTECTED]">Scott T. Weaver</a>
  +     */
  +    protected void buildConfigureContext(VelocityPortlet portlet, Context context, 
RunData data)
  +        throws Exception
  +    {
  +    }
  +    
       
       protected void buildMaximizedContext(Portlet portlet, Context context, RunData 
data)
           throws Exception
  @@ -179,6 +188,16 @@
               super.buildMaximizedContext(portlet, context, data);
           }
       }
  +    
  +    /**
  +     * prevents possible self-referencing loop when sub-classes invoke 
super.buildMaximizedContext().
  +     * @author <a href="mailto:[EMAIL PROTECTED]">Scott T. Weaver</a>
  +     */
  +    protected void buildMaximizedContext(VelocityPortlet portlet, Context context, 
RunData data)
  +        throws Exception
  +    {
  +    }
  +    
      
      
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to