org.efaps.ui.wicket.components.footer
Class AjaxSubmitCloseBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
org.efaps.ui.wicket.components.footer.AjaxSubmitCloseBehavior
- 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 class AjaxSubmitCloseBehavior
- extends org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
Class renders the footer in a form. It is responsible for performing the
actions like executing the related esjp etc.
- Version:
- $Id: AjaxSubmitCloseBehavior.java 4695 2010-06-07 10:48:52Z jan.moxter $
- Author:
- The eFaps Team
- See Also:
- Serialized Form
| Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
INDICATOR |
| Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
|
Method Summary |
java.lang.CharSequence |
getEventHandler()
Must be overwritten to make it public. |
protected java.lang.CharSequence |
getPreconditionScript()
In case of a file upload a precondition is needed. |
protected void |
onError(org.apache.wicket.ajax.AjaxRequestTarget _target)
Method is not used, but needed from the api. |
protected void |
onSubmit(org.apache.wicket.ajax.AjaxRequestTarget _target)
On submit the action must be done. |
void |
setValidated(boolean _validated)
Setter method for instance variable validated. |
| Methods inherited from class org.apache.wicket.ajax.form.AjaxFormSubmitBehavior |
getForm, onEvent |
| Methods inherited from class org.apache.wicket.ajax.AjaxEventBehavior |
generateCallbackScript, getEvent, onCheckEvent, onComponentTag, respond, setThrottleDelay |
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getSuccessScript, onBind, onRequest, renderHead, throttleScript |
| Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, 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 |
AjaxSubmitCloseBehavior
public AjaxSubmitCloseBehavior(UIAbstractPageObject _uiobject,
FormContainer _form)
- Constructor.
- Parameters:
_uiobject - UUIOBject_form - form
setValidated
public void setValidated(boolean _validated)
- Setter method for instance variable
validated.
- Parameters:
_validated - value for instance variable validated
onSubmit
protected void onSubmit(org.apache.wicket.ajax.AjaxRequestTarget _target)
- On submit the action must be done.
- Specified by:
onSubmit in class org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
- Parameters:
_target - AjaxRequestTarget
onError
protected void onError(org.apache.wicket.ajax.AjaxRequestTarget _target)
- Method is not used, but needed from the api.
- Specified by:
onError in class org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
- Parameters:
_target - AjaxRequestTarget
getPreconditionScript
protected java.lang.CharSequence getPreconditionScript()
- In case of a file upload a precondition is needed.
- Overrides:
getPreconditionScript in class org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
- Returns:
- precondition JavaScript
getEventHandler
public java.lang.CharSequence getEventHandler()
- Must be overwritten to make it public.
- Overrides:
getEventHandler in class org.apache.wicket.ajax.form.AjaxFormSubmitBehavior
- Returns:
- parent call
- See Also:
AjaxFormSubmitBehavior.getEventHandler()
Copyright © 2003-2010 The eFaps Team. All Rights Reserved.