org.apache.tapestry5
public interface: ComponentEventCallback [javadoc |
source]
All Known Implementing Classes:
NotificationEventCallback, RenderPhaseEventHandler, ComponentResultProcessorWrapper
Callback interface for a {@linkplain org.apache.tapestry5.runtime.Event render phase event) or
org.apache.tapestry5.runtime.ComponentEvent , notified when a non-null value is returned from some event handler
method.
| Method from org.apache.tapestry5.ComponentEventCallback Summary: |
|---|
|
handleResult |
| Method from org.apache.tapestry5.ComponentEventCallback Detail: |
public boolean handleResult(T result)
Invoked to handle a non-null event handler method result. The handler should determine whether the value is
acceptible, and throw an exception if not. Any thrown exception will be wrapped to identify the component and
method from which the value was returned.
Boolean values are not passed to the handler. Booleans are used to indicate that the event has been
handled (true) or that a further search for handlers should continue (true). If a component event method returns
true, then org.apache.tapestry5.runtime.Event#isAborted() will return true. |