|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.wicketstuff.stateless.StatelessAjaxEventBehavior
org.wicketstuff.stateless.StatelessAjaxFormSubmitBehavior
public class StatelessAjaxFormSubmitBehavior
Stateless version of AjaxFormSubmitBehavior.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
|---|
INDICATOR |
| Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
|---|
INTERFACE |
| Constructor Summary | |
|---|---|
StatelessAjaxFormSubmitBehavior(String event)
Instantiates a new stateless ajax form submit behavior. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.wicketstuff.stateless.StatelessAjaxEventBehavior |
|---|
getCallbackUrl, getStatelessHint, onBind |
| Methods inherited from class org.apache.wicket.ajax.AjaxEventBehavior |
|---|
getEvent, onCheckEvent, renderHead, respond |
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
|---|
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes |
| Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
|---|
afterRender, bind, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind |
| Methods inherited from class org.apache.wicket.behavior.Behavior |
|---|
beforeRender, canCallListenerInterface, detach, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatelessAjaxFormSubmitBehavior(String event)
event - the event| Method Detail |
|---|
protected 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 processing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||