public abstract class ScriptableAjaxButton
extends org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxButton
IndicatingAjaxButton that calls script on the browser.
#onClick(org.apache.wicket.ajax.AjaxRequestTarget) method to perform the custom action required from this link.| Modifier and Type | Field and Description |
|---|---|
static String |
MARKUP_ATTRIB_ACTION
Script to be executed after the click on the UI.
|
static String |
MARKUP_ATTRIB_PRE_ACTION
Script to be executed before the click on the UI.
|
protected String |
proxyActionSuppliedScript |
protected String |
proxyPreActionSuppliedScript |
| Constructor and Description |
|---|
ScriptableAjaxButton(String id) |
ScriptableAjaxButton(String id,
org.apache.wicket.markup.html.form.Form form) |
ScriptableAjaxButton(String id,
org.apache.wicket.model.IModel model) |
ScriptableAjaxButton(String id,
org.apache.wicket.model.IModel model,
org.apache.wicket.markup.html.form.Form form) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.ajax.calldecorator.AjaxCallDecorator |
defineAjaxCallDecorator(String proxyActionSuppliedScript,
String proxyPreActionSuppliedScript) |
protected org.apache.wicket.ajax.IAjaxCallDecorator |
getAjaxCallDecorator() |
protected void |
onComponentTag(org.apache.wicket.markup.ComponentTag tag) |
getAjaxIndicatorMarkupIdgetForm, onError, onSubmitgetDefaultFormProcessing, getOnClickScript, initModel, onSubmit, setDefaultFormProcessing, updateModeladd, add, checkRequired, clearInput, convertInput, convertValue, error, getConvertedInput, getInput, getInputAsArray, getInputName, getModel, getModelObject, getModelValue, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isInputNullable, isMultiPart, isPersistent, isRequired, isValid, newValidatable, onDetach, onDisabled, onInvalid, onValid, processChildren, processInput, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setModelValue, setPersistent, setRequired, setType, shouldTrimInput, supportsPersistence, trim, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrdergetLabel, setLabelInternalgetMarkupType, getWebPage, getWebRequestadd, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onConfigure, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrappublic static final String MARKUP_ATTRIB_ACTION
public static final String MARKUP_ATTRIB_PRE_ACTION
protected transient String proxyActionSuppliedScript
protected transient String proxyPreActionSuppliedScript
public ScriptableAjaxButton(String id)
public ScriptableAjaxButton(String id, org.apache.wicket.model.IModel model)
public ScriptableAjaxButton(String id, org.apache.wicket.markup.html.form.Form form)
public ScriptableAjaxButton(String id, org.apache.wicket.model.IModel model, org.apache.wicket.markup.html.form.Form form)
protected org.apache.wicket.ajax.calldecorator.AjaxCallDecorator defineAjaxCallDecorator(String proxyActionSuppliedScript, String proxyPreActionSuppliedScript)
protected org.apache.wicket.ajax.IAjaxCallDecorator getAjaxCallDecorator()
getAjaxCallDecorator in class org.apache.wicket.ajax.markup.html.form.AjaxButtonprotected void onComponentTag(org.apache.wicket.markup.ComponentTag tag)
onComponentTag in class org.apache.wicket.markup.html.form.ButtonCopyright © 2018. All rights reserved.