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, onUpdate
getEvent, onEvent, renderHead, respond
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
rendersPage
public AjaxFormChoiceComponentUpdatingBehavior()
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehavior
updateAjaxAttributes
in class AjaxFormComponentUpdatingBehavior
protected void onBind()
AbstractDefaultAjaxBehavior
onBind
in class AjaxFormComponentUpdatingBehavior
AbstractAjaxBehavior.onBind()
protected void checkComponent(FormComponent<?> component)
AjaxFormComponentUpdatingBehavior
Logs a warning in development mode when an AjaxFormChoiceComponentUpdatingBehavior
should be used.
checkComponent
in class AjaxFormComponentUpdatingBehavior
component
- bound componentpublic static AjaxFormChoiceComponentUpdatingBehavior onUpdateChoice(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdateChoice)
AjaxFormChoiceComponentUpdatingBehavior
based on lambda expressionsonUpdateChoice
- the SerializableConsumer
which accepts the AjaxRequestTarget
AjaxFormChoiceComponentUpdatingBehavior
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.