public abstract class AjaxFormChoiceComponentUpdatingBehavior extends AjaxFormComponentUpdatingBehavior
Use the normal AjaxFormComponentUpdatingBehavior for the normal single component fields
AjaxFormComponentUpdatingBehavior.onUpdate(org.apache.wicket.ajax.AjaxRequestTarget),
AjaxFormComponentUpdatingBehavior.onError(org.apache.wicket.ajax.AjaxRequestTarget, RuntimeException),
RadioChoice,
CheckBoxMultipleChoice,
RadioGroup,
CheckGroup,
Serialized FormINDICATOR| Constructor and Description |
|---|
AjaxFormChoiceComponentUpdatingBehavior()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkComponent(FormComponent<?> component)
Check the component this behavior is bound to.
|
protected void |
onBind()
Subclasses should call super.onBind()
|
static AjaxFormChoiceComponentUpdatingBehavior |
onUpdateChoice(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdateChoice)
Creates an
AjaxFormChoiceComponentUpdatingBehavior based on lambda expressions |
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes)
Gives a chance to the specializations to modify the attributes.
|
disableFocusOnBlur, getFormComponent, getUpdateModel, onError, onEvent, onUpdate, onUpdategetEvent, onEvent, renderHead, respondfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrendersPagepublic AjaxFormChoiceComponentUpdatingBehavior()
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehaviorupdateAjaxAttributes in class AjaxFormComponentUpdatingBehaviorprotected void onBind()
AbstractDefaultAjaxBehavioronBind in class AjaxFormComponentUpdatingBehaviorAbstractAjaxBehavior.onBind()protected void checkComponent(FormComponent<?> component)
AjaxFormComponentUpdatingBehavior
Logs a warning in development mode when an AjaxFormChoiceComponentUpdatingBehavior
should be used.
checkComponent in class AjaxFormComponentUpdatingBehaviorcomponent - bound componentpublic static AjaxFormChoiceComponentUpdatingBehavior onUpdateChoice(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdateChoice)
AjaxFormChoiceComponentUpdatingBehavior based on lambda expressionsonUpdateChoice - the SerializableConsumer which accepts the AjaxRequestTargetAjaxFormChoiceComponentUpdatingBehaviorCopyright © 2006–2018 Apache Software Foundation. All rights reserved.