Package org.apache.tapestry5.services
Class InitializeActivePageName
- java.lang.Object
 - 
- org.apache.tapestry5.services.InitializeActivePageName
 
 
- 
- All Implemented Interfaces:
 ComponentRequestFilter
public class InitializeActivePageName extends Object implements ComponentRequestFilter
Filter contributed into theComponentRequestHandlerpipeline to set theactivePageName property.- Since:
 - 5.2.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description InitializeActivePageName(RequestGlobals globals) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleComponentEvent(ComponentEventRequestParameters parameters, ComponentRequestHandler handler)Handler for a component action request which will trigger an event on a component and use the return value to send a response to the client (typically, a redirect to a page render URL).voidhandlePageRender(PageRenderRequestParameters parameters, ComponentRequestHandler handler)Invoked to activate and render a page. 
 - 
 
- 
- 
Constructor Detail
- 
InitializeActivePageName
public InitializeActivePageName(RequestGlobals globals)
 
 - 
 
- 
Method Detail
- 
handleComponentEvent
public void handleComponentEvent(ComponentEventRequestParameters parameters, ComponentRequestHandler handler) throws IOException
Description copied from interface:ComponentRequestFilterHandler for a component action request which will trigger an event on a component and use the return value to send a response to the client (typically, a redirect to a page render URL).- Specified by:
 handleComponentEventin interfaceComponentRequestFilter- Parameters:
 parameters- defining the requsthandler- next handler in the pipeline- Throws:
 IOException
 
- 
handlePageRender
public void handlePageRender(PageRenderRequestParameters parameters, ComponentRequestHandler handler) throws IOException
Description copied from interface:ComponentRequestFilterInvoked to activate and render a page. In certain cases, based on values returned when activating the page, aComponentEventResultProcessormay be used to send an alternate response (typically, a redirect).- Specified by:
 handlePageRenderin interfaceComponentRequestFilter- Parameters:
 parameters- defines the page name and activation contexthandler- next handler in the pipeline- Throws:
 IOException
 
 - 
 
 -