org.apache.tapestry5.services.ajax
Class MultiZoneUpdateEventResultProcessor
java.lang.Object
org.apache.tapestry5.services.ajax.MultiZoneUpdateEventResultProcessor
- All Implemented Interfaces:
- ComponentEventResultProcessor<MultiZoneUpdate>
public class MultiZoneUpdateEventResultProcessor
- extends Object
- implements ComponentEventResultProcessor<MultiZoneUpdate>
Handler for MultiZoneUpdate responses from a component event handler method. Works
by adding SingleZonePartialRendererFilters for each zone to the
filter stack. Each zone writes its content as a string in the zones object of the reply, keyed on its id.
JavaScript and CSS are collected for all zones rendered in the request (not for each individua zone). The final
repsonse will have some combination of "script", "scripts", "stylesheets", "content" (which is expected to be blank)
and "zones".
- Since:
- 5.1.0.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiZoneUpdateEventResultProcessor
public MultiZoneUpdateEventResultProcessor(PageRenderQueue queue,
TypeCoercer typeCoercer)
processResultValue
public void processResultValue(MultiZoneUpdate 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<MultiZoneUpdate>
- Parameters:
value - the value returned from a method
- Throws:
IOException
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.