org.apache.tapestry.portlet
Class PortletResponseRenderer

java.lang.Object
  extended by org.apache.tapestry.portlet.PortletResponseRenderer
All Implemented Interfaces:
ResponseRenderer

public class PortletResponseRenderer
extends Object
implements ResponseRenderer

Sets render parameters on the current ActionResponse that will invoke the RenderService to render the (currently) active page. This reflects the Portlet API's very clear division between processing an action and rendering a response; we need to record into the implicit render URL the render service and the name of the active page.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
PortletResponseRenderer()
           
 
Method Summary
 void renderResponse(IRequestCycle cycle)
          Renders the reponse, using the current active page defined by the request cycle.
 void setRequest(javax.portlet.PortletRequest request)
           
 void setResponse(javax.portlet.ActionResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletResponseRenderer

public PortletResponseRenderer()
Method Detail

renderResponse

public void renderResponse(IRequestCycle cycle)
Description copied from interface: ResponseRenderer
Renders the reponse, using the current active page defined by the request cycle.

Specified by:
renderResponse in interface ResponseRenderer

setResponse

public void setResponse(javax.portlet.ActionResponse response)

setRequest

public void setRequest(javax.portlet.PortletRequest request)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.