org.apache.tapestry5.corelib.components
Class EventLink
java.lang.Object
org.apache.tapestry5.corelib.base.AbstractLink
org.apache.tapestry5.corelib.base.AbstractComponentEventLink
org.apache.tapestry5.corelib.components.EventLink
- All Implemented Interfaces:
- ClientElement
public class EventLink
- extends AbstractComponentEventLink
A close relative of ActionLink except in two ways.
First, the event that it triggers is explicitly controlled, rather than always "action".
Second, the event is triggered in its container.
This allows slightly shorter URLs but also allows multiple components within the same container to generate identical
URLs for common actions.
|
Method Summary |
protected Link |
createLink(Object[] eventContext)
Invoked to create the Link that will become the href attribute of the output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventLink
public EventLink()
createLink
protected Link createLink(Object[] eventContext)
- Description copied from class:
AbstractComponentEventLink
- Invoked to create the Link that will become the href attribute of the output.
- Specified by:
createLink in class AbstractComponentEventLink
- Parameters:
eventContext - the context as an object array, possibly null
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.