portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator PortletRenderer.java
Date Fri, 16 Jan 2004 19:36:15 GMT
weaver      2004/01/16 11:36:15

  Modified:    portal/src/java/org/apache/jetspeed/aggregator
                        PortletRenderer.java
  Log:
  PortletRender now throws an UnknownPortletDefinitionException if
  if the fragments parent portlet cannot be found
  
  
  Revision  Changes    Path
  1.3       +10 -6     jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java
  
  Index: PortletRenderer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletRenderer.java	31 Dec 2003 09:46:35 -0000	1.2
  +++ PortletRenderer.java	16 Jan 2004 19:36:15 -0000	1.3
  @@ -85,11 +85,15 @@
        */
       public void renderNow(Fragment fragment, HttpServletRequest request, HttpServletResponse
response);
   
  -    /** Render the specified Page fragment.
  -        The method returns before rendering is complete, rendered content can be
  -        accessed through the ContentDispatcher
  -    */
  -    public void render(Fragment fragment, RequestContext request);
  +    /** 
  +     * 
  +     * Render the specified Page fragment.
  +     * The method returns before rendering is complete, rendered content can be
  +     * accessed through the ContentDispatcher
  +     * @throws UnknownPortletDefintionException is the PortletDefinition represented by
this
  +     * fragment does not exist     .
  +     */
  +    public void render(Fragment fragment, RequestContext request) throws UnknownPortletDefinitionException;
   
       /**
        * Retrieve the ContentDispatcher for the specified request
  
  
  

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