public abstract class AjaxFormChoiceComponentUpdatingBehavior extends AjaxFormComponentUpdatingBehavior
Use the normal AjaxFormComponentUpdatingBehavior for the normal single component fields
RadioChoice,
CheckBoxMultipleChoice,
RadioGroup,
CheckGroup,
Serialized FormINDICATORINTERFACE| 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()
|
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes)
Gives a chance to the specializations to modify the attributes.
|
disableFocusOnBlur, getFormComponent, getUpdateModel, onError, onEvent, onUpdategetEvent, onCheckEvent, respondfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemovepublic AjaxFormChoiceComponentUpdatingBehavior()
public void renderHead(Component component, IHeaderResponse response)
BehaviorrenderHead in interface IComponentAwareHeaderContributorrenderHead in class AjaxEventBehaviorcomponent - 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 objectBehavior.renderHead(Component,
org.apache.wicket.markup.head.IHeaderResponse)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 componentCopyright © 2006–2014 Apache Software Foundation. All rights reserved.