com.primix.tapestry
Interface IDirectListener
- public interface IDirectListener
Defines a listener to an IDirect
component, which is a how the
application produces behavior when
the component is triggered.
- Version:
- $Id: IDirectListener.java,v 1.4 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
directTriggered
public void directTriggered(IDirect component,
java.lang.String[] context,
IRequestCycle cycle)
throws RequestCycleException
- Method invoked by the
IDirect
component, when its URL
is triggered.
A direct service URL includes an array of application specific
strings, the context, which define contextual state for the action.
Note that null values provided to the component when rendering will
be converted to empty strings before invoking the listener.
- Parameters:
component
- The component which was "triggered".parameters
- An array of parameters for the action.cycle
- The request cycle in which the component was triggered.