ontopoly.components
Class AjaxParentFormChoiceComponentUpdatingBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior
ontopoly.components.AjaxParentFormChoiceComponentUpdatingBehavior
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor
public abstract class AjaxParentFormChoiceComponentUpdatingBehavior
- extends org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior
This is variant of AjaxFormChoiceComponentUpdatingBehavior that allows
nested AjaxParentRadioChild and AjaxParentCheckChild instances to update
the parent RadioGroup or CheckGroup. This is neccessary when any
children of the group gets replaced using AJAX. This is done to work
around a limitation of the AjaxFormChoiceComponentUpdatingBehavior
class, which does not allow form choice children components to be
replaced/added via AJAX.
- Author:
- grove
- See Also:
and AjaxParentCheckChild
,
Serialized Form
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
INDICATOR |
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
Methods inherited from class org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior |
getEventHandler, getFormComponent, onBind, onError, onUpdate, respond |
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, throttleScript |
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution |
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxParentFormChoiceComponentUpdatingBehavior
public AjaxParentFormChoiceComponentUpdatingBehavior()
renderHead
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
- Specified by:
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
- Overrides:
renderHead
in class org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior
getCallbackFunction
public java.lang.CharSequence getCallbackFunction()
Copyright © 2000-2012 Ontopia.