org.apache.wicket
Interface IRequestListener

All Superinterfaces:
IClusterable, java.io.Serializable
All Known Subinterfaces:
IActivePageBehaviorListener, IBehaviorListener, IFormSubmitListener, ILinkListener, INewBrowserWindowListener, IOnChangeListener, IRedirectListener, IResourceListener
All Known Implementing Classes:
AbstractAjaxBehavior, CheckBox, CheckGroup, DropDownChoice, Form, Image, ImageButton, InlineFrame, InternalFrame, Link, LocalizedImageResource, Page, RadioChoice, RadioGroup, Resource, ResourceLink, WebPage

public interface IRequestListener
extends IClusterable

Base interface for all interfaces that listen for requests from the client browser. All sub-interfaces of this interface must have a single method which takes no arguments.

New listener interfaces must be registered with Wicket by constructing a RequestListenerInterface object for the given interface class. The best way to do this is to create a public static final constant field in your request listener interface. Doing this will cause the interface to automatically register whenever it is used. For example, see IRedirectListener.INTERFACE.

Author:
Jonathan Locke



Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.