org.apache.tapestry5.internal.services
Class PageNameComponentEventResultProcessor

java.lang.Object
  extended by org.apache.tapestry5.internal.services.PageNameComponentEventResultProcessor
All Implemented Interfaces:
ComponentEventResultProcessor<String>

public class PageNameComponentEventResultProcessor
extends Object
implements ComponentEventResultProcessor<String>

Used when a component event handler returns a string value. The value is interpreted as the logical name of a page. A link to the page will be sent as a redirect.


Constructor Summary
PageNameComponentEventResultProcessor(RequestPageCache requestPageCache, ActionRenderResponseGenerator generator)
           
 
Method Summary
 void processResultValue(String value)
          For a given, non-null return value from a component event method, construct and send a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageNameComponentEventResultProcessor

public PageNameComponentEventResultProcessor(RequestPageCache requestPageCache,
                                             ActionRenderResponseGenerator generator)
Method Detail

processResultValue

public void processResultValue(String value)
                        throws IOException
Description copied from interface: ComponentEventResultProcessor
For a given, non-null return value from a component event method, construct and send a response.

Specified by:
processResultValue in interface ComponentEventResultProcessor<String>
Parameters:
value - the value returned from a method
Throws:
IOException


Copyright © 2003-2012 The Apache Software Foundation.