Class JavascriptEventConfirmation

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

    public class JavascriptEventConfirmation
    extends org.apache.wicket.AttributeModifier
    Thanks to http://cwiki.apache.org/WICKET/getting-user-confirmation.html
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.wicket.AttributeModifier

        VALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE
    • Constructor Summary

      Constructors 
      Constructor Description
      JavascriptEventConfirmation​(java.lang.String event, java.lang.String confirmMessageKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String newValue​(java.lang.String currentValue, java.lang.String replacementValue)  
      • Methods inherited from class org.apache.wicket.AttributeModifier

        append, append, detach, getAttribute, getReplaceModel, onComponentTag, prepend, prepend, remove, replace, replace, replaceAttributeValue, toString
      • Methods inherited from class org.apache.wicket.behavior.Behavior

        afterRender, beforeRender, bind, canCallListenerInterface, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, renderHead, unbind
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JavascriptEventConfirmation

        public JavascriptEventConfirmation​(java.lang.String event,
                                           java.lang.String confirmMessageKey)
    • Method Detail

      • newValue

        protected java.lang.String newValue​(java.lang.String currentValue,
                                            java.lang.String replacementValue)
        Overrides:
        newValue in class org.apache.wicket.AttributeModifier