Module wicket.bootstrap.extensions
Class ConfirmationBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapJavascriptBehavior
de.agilecoders.wicket.extensions.markup.html.bootstrap.confirmation.ConfirmationBehavior
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
public class ConfirmationBehavior
extends de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapJavascriptBehavior
A behavior that shows a popover with OK/Cancel buttons to confirm an action.
- Since:
- 0.9.12
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor that uses the default configurationConstructor that uses a custom configurationConfirmationBehavior(String selector, ConfirmationConfig config) Constructor that uses a custom configuration -
Method Summary
Methods inherited from class de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapJavascriptBehavior
renderHeadMethods inherited from class de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
addTo, getBootstrapSettings, instance, removeFromMethods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
Constructor Details
-
ConfirmationBehavior
public ConfirmationBehavior()Constructor that uses the default configuration -
ConfirmationBehavior
Constructor that uses a custom configuration- Parameters:
config- configuration to use
-
ConfirmationBehavior
Constructor that uses a custom configuration- Parameters:
config- configuration to useselector- Jquery selector to use instead of the one of the component (for singleton's option)
-
-
Method Details
-
renderHead
- Specified by:
renderHeadin interfaceIComponentAwareHeaderContributor- Overrides:
renderHeadin classde.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
-