org.apache.wicket.ajax.form
Class OnChangeAjaxBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
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, IBehavior, IBehaviorListener, IComponentConfigurationBehavior, 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
Method Summary |
void |
renderHead(IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section. |
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution |
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onConfigure, onException, rendered |
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(IHeaderResponse response)
- Description copied from interface:
IHeaderContributor
- Render to the web response whatever the component wants to contribute to the head section.
TODO: Post 1.3, add component parameter, so that the behaviors dont' have to track component
instances
- Specified by:
renderHead
in interface IHeaderContributor
- Overrides:
renderHead
in class AbstractDefaultAjaxBehavior
- Parameters:
response
- Response object- See Also:
AbstractAjaxBehavior.renderHead(org.apache.wicket.markup.html.IHeaderResponse)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.