Class JavascriptEventConfirmation

java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.AttributeModifier
com.inductiveautomation.ignition.gateway.web.util.JavascriptEventConfirmation
All Implemented Interfaces:
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:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.wicket.AttributeModifier

    org.apache.wicket.AttributeModifier.ValuelessAttributeAddModel, org.apache.wicket.AttributeModifier.ValuelessAttributeRemoveModel
  • Field Summary

    Fields inherited from class org.apache.wicket.AttributeModifier

    VALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE
  • Constructor Summary

    Constructors
    Constructor
    Description
    JavascriptEventConfirmation(String event, String confirmMessageKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    newValue(String currentValue, 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, onRemove, renderHead, unbind

    Methods inherited from class java.lang.Object

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

    • JavascriptEventConfirmation

      public JavascriptEventConfirmation(String event, String confirmMessageKey)
  • Method Details

    • newValue

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