public class StatelessAjaxFormSubmitBehavior extends StatelessAjaxEventBehavior
| Constructor and Description |
|---|
StatelessAjaxFormSubmitBehavior(String event)
Instantiates a new stateless ajax form submit behavior.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.markup.html.form.Form<?> |
findForm()
Finds form that will be submitted.
|
boolean |
getDefaultFormProcessing()
Gets the default form processing.
|
protected org.apache.wicket.request.mapper.parameter.PageParameters |
getPageParameters() |
protected void |
onAfterSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
protected void |
onError(org.apache.wicket.ajax.AjaxRequestTarget target)
Listener method invoked when the form has been processed and errors occurred.
|
protected void |
onEvent(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
void |
setDefaultFormProcessing(boolean defaultFormProcessing)
Sets the default form processing.
|
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
getCallbackUrl, getStatelessHint, onBindgetEvent, onCheckEvent, renderHead, respondfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic StatelessAjaxFormSubmitBehavior(String event)
event - the eventprotected org.apache.wicket.request.mapper.parameter.PageParameters getPageParameters()
getPageParameters in class StatelessAjaxEventBehaviorprotected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
updateAjaxAttributes in class org.apache.wicket.ajax.AjaxEventBehaviorprotected org.apache.wicket.markup.html.form.Form<?> findForm()
null if none foundprotected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
onEvent in class org.apache.wicket.ajax.AjaxEventBehaviorprotected void onAfterSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the targetprotected void onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the targetprotected void onError(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the targetpublic boolean getDefaultFormProcessing()
public void setDefaultFormProcessing(boolean defaultFormProcessing)
defaultFormProcessing - the new default form processingCopyright © 2015. All rights reserved.