org.apache.wicket.ajax.form
Class AjaxFormChoiceComponentUpdatingBehavior
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.AjaxFormChoiceComponentUpdatingBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
public abstract class AjaxFormChoiceComponentUpdatingBehavior
- extends AjaxFormComponentUpdatingBehavior
This is a Ajax Component Update Behavior that is meant for choices/groups that are not one
component in the html but many.
Use the normal AjaxFormComponentUpdatingBehavior
for the normal single component fields
- Author:
- jcompagner
- See Also:
RadioChoice
,
CheckBoxMultipleChoice
,
RadioGroup
,
CheckGroup
,
Serialized Form
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxFormChoiceComponentUpdatingBehavior
public AjaxFormChoiceComponentUpdatingBehavior()
- 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 IComponentAwareHeaderContributor
- Overrides:
renderHead
in class AjaxEventBehavior
- Parameters:
component
- component which is contributing to the response. This parameter is here to give
the component as the context for component-awares implementing this interfaceresponse
- Response object- See Also:
Behavior.renderHead(Component,
org.apache.wicket.markup.head.IHeaderResponse)
updateAjaxAttributes
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
- Description copied from class:
AbstractDefaultAjaxBehavior
- Gives a chance to the specializations to modify the attributes.
- Overrides:
updateAjaxAttributes
in class AjaxFormComponentUpdatingBehavior
onBind
protected void onBind()
- Description copied from class:
AbstractDefaultAjaxBehavior
- Subclasses should call super.onBind()
- Overrides:
onBind
in class AjaxFormComponentUpdatingBehavior
- See Also:
AbstractAjaxBehavior.onBind()
checkComponent
protected void checkComponent(FormComponent<?> component)
- Description copied from class:
AjaxFormComponentUpdatingBehavior
- Check the component this behavior is bound to.
Logs a warning in development mode when an AjaxFormChoiceComponentUpdatingBehavior
should be used.
- Overrides:
checkComponent
in class AjaxFormComponentUpdatingBehavior
- Parameters:
component
- bound component
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.