public class LoadingBehavior extends BootstrapJavascriptBehavior
LoadingBehavior that deactivates a button and shows a
loading message.| Constructor and Description |
|---|
LoadingBehavior(org.apache.wicket.model.IModel<String> model)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
void |
detach(org.apache.wicket.Component component) |
void |
onComponentTag(org.apache.wicket.Component component,
org.apache.wicket.markup.ComponentTag tag) |
void |
reset(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
appends a javascript that resets the loading state.
|
static void |
reset(org.apache.wicket.Component component,
org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
appends a javascript that resets the loading state.
|
void |
unbind(org.apache.wicket.Component component) |
renderHeadaddTo, getBootstrapSettings, removeFrom, renderHeadpublic LoadingBehavior(org.apache.wicket.model.IModel<String> model)
model - The loading messagepublic void onComponentTag(org.apache.wicket.Component component,
org.apache.wicket.markup.ComponentTag tag)
onComponentTag in class org.apache.wicket.behavior.Behaviorpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void unbind(org.apache.wicket.Component component)
unbind in class org.apache.wicket.behavior.Behaviorpublic void detach(org.apache.wicket.Component component)
detach in class org.apache.wicket.behavior.Behaviorpublic static void reset(org.apache.wicket.Component component,
org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
component - The button componentajaxRequestTarget - The AjaxRequestTargetpublic void reset(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - The AjaxRequestTargetCopyright © 2013 agilecoders.de. All Rights Reserved.