org.apache.wicket.ajax.form
Class OnChangeAjaxBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior
org.apache.wicket.ajax.form.OnChangeAjaxBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IEventSink, IClusterable, IRequestListener, IHeaderContributor
public abstract class OnChangeAjaxBehavior
- extends AjaxFormComponentUpdatingBehavior
A behavior that updates the hosting FormComponent
via ajax when value of the component is
changed.
This behavior uses best available method to track changes on different types of form components.
- Since:
- 1.3
- Author:
- Janne Hietamäki (janne)
- See Also:
AjaxFormComponentUpdatingBehavior
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnChangeAjaxBehavior
public OnChangeAjaxBehavior()
- Construct.
renderHead
public void renderHead(Component component,
IHeaderResponse response)
- Description copied from class:
Behavior
- Render to the web response whatever the component wants to contribute to the head section.
- Specified by:
renderHead
in interface IHeaderContributor
- Overrides:
renderHead
in class AbstractDefaultAjaxBehavior
- Parameters:
component
- component which is contributing to the response. This parameter is here to give
the component as the context for behaviors implementing this interface, when
invoked on a component instance the parameter is simply this
.response
- Response object- See Also:
Behavior.renderHead(Component,org.apache.wicket.markup.html.IHeaderResponse)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.