public class AjaxFormValidatingBehavior extends Behavior
form or to a component inside a form.onSubmit(org.apache.wicket.ajax.AjaxRequestTarget),
onAfterSubmit(org.apache.wicket.ajax.AjaxRequestTarget),
onError(org.apache.wicket.ajax.AjaxRequestTarget),
Serialized Form| Constructor and Description |
|---|
AjaxFormValidatingBehavior(String event)
Construct.
|
AjaxFormValidatingBehavior(String event,
org.apache.wicket.util.time.Duration throttleDelay)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFeedbackPanels(AjaxRequestTarget target)
Adds all feedback panels on the page to the ajax request target so they are updated
|
void |
bind(Component component)
Bind this handler to the given component.
|
protected void |
onAfterSubmit(AjaxRequestTarget target) |
void |
onConfigure(Component component)
Called immediately after the onConfigure method in a component.
|
protected void |
onError(AjaxRequestTarget target) |
protected void |
onSubmit(AjaxRequestTarget target) |
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes) |
afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onEvent, onException, onRemove, onTag, renderHead, unbindpublic AjaxFormValidatingBehavior(String event)
event - javascript event this behavior will be invoked on, like onclickpublic AjaxFormValidatingBehavior(String event, org.apache.wicket.util.time.Duration throttleDelay)
event - javascript event this behavior will be invoked on, like onclickthrottleDelay - the duration for which the Ajax call should be throttledpublic void bind(Component component)
Behaviorpublic void onConfigure(Component component)
BehavioronConfigure in class Behaviorcomponent - the component being configuredprotected void onSubmit(AjaxRequestTarget target)
protected void onAfterSubmit(AjaxRequestTarget target)
protected void onError(AjaxRequestTarget target)
protected final void addFeedbackPanels(AjaxRequestTarget target)
target - protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.