wicket.extensions.ajax.markup.html
Class IndicatingAjaxSubmitButton

java.lang.Object
  extended bywicket.Component
      extended bywicket.markup.html.WebComponent
          extended bywicket.ajax.markup.html.form.AjaxSubmitButton
              extended bywicket.extensions.ajax.markup.html.IndicatingAjaxSubmitButton
All Implemented Interfaces:
wicket.ajax.IAjaxIndicatorAware, java.io.Serializable

public abstract class IndicatingAjaxSubmitButton
extends wicket.ajax.markup.html.form.AjaxSubmitButton
implements wicket.ajax.IAjaxIndicatorAware

A variant of the AjaxSubmitButton that displays a busy indicator while the ajax request is in progress.

Author:
evan
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class wicket.Component
wicket.Component.ComponentModelChange, wicket.Component.EnabledChange, wicket.Component.IVisitor, wicket.Component.VisibilityChange
 
Field Summary
 
Fields inherited from class wicket.Component
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER
 
Constructor Summary
IndicatingAjaxSubmitButton(java.lang.String id, wicket.markup.html.form.Form form)
           
 
Method Summary
 java.lang.String getAjaxIndicatorMarkupId()
           
protected abstract  void onSubmit(wicket.ajax.AjaxRequestTarget target, wicket.markup.html.form.Form form)
           
 
Methods inherited from class wicket.ajax.markup.html.form.AjaxSubmitButton
getAjaxCallDecorator, onComponentTag, onError
 
Methods inherited from class wicket.markup.html.WebComponent
onRender
 
Methods inherited from class wicket.Component
add, addStateChange, checkComponentTag, checkComponentTagAttribute, continueToOriginalDestination, debug, detachBehaviors, detachModel, detachModels, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getOutputMarkupId, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isBehaviorAccepted, isEnableAllowed, isEnabled, isHeadRendered, isIgnoreAttributeModifier, isRenderAllowed, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTagBody, onDetach, onEndRequest, onModelChanged, onModelChanging, onRender, redirectToInterceptPage, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderedBehaviors, renderHead, replaceComponentTagBody, replaceWith, resetHeadRendered, sameRootModel, sameRootModel, setAuto, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupStream, setMetaData, setModel, setModelObject, setOutputMarkupId, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndicatingAjaxSubmitButton

public IndicatingAjaxSubmitButton(java.lang.String id,
                                  wicket.markup.html.form.Form form)
Parameters:
id -
form -
Method Detail

onSubmit

protected abstract void onSubmit(wicket.ajax.AjaxRequestTarget target,
                                 wicket.markup.html.form.Form form)

getAjaxIndicatorMarkupId

public java.lang.String getAjaxIndicatorMarkupId()
Specified by:
getAjaxIndicatorMarkupId in interface wicket.ajax.IAjaxIndicatorAware
Returns:
the markup id of the ajax indicator
See Also:
IAjaxIndicatorAware.getAjaxIndicatorMarkupId()


Copyright © 2004-2008 Wicket developers. All Rights Reserved.