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,
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, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onEvent, onException, onRemove, renderHead, unbindpublic AjaxFormValidatingBehavior(String event)
event - javascript event this behavior will be invoked on, like onclickpublic 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–2021 Apache Software Foundation. All rights reserved.