Interface EventTagDeclaration

All Superinterfaces:
HasAction, HasActionListener, HasBinding, HasConfirmation, HasFragment, HasId, HasIdBindingAndRendered, HasLink, HasOutcome, HasTarget, IsDisabledBySecurity, IsImmediateCommand, IsOmit, IsRendered, IsTransition

Add an event behavior to the component. It can contain f:ajax and tc:operation tags.
  • Method Details

    • setEvent

      void setEvent(jakarta.el.ValueExpression event)
      The name of the event as an instance of ClientBehaviors This will be also overwrite events of possible f:ajax children.
    • setStopPropagation

      void setStopPropagation(String stopPropagation)
      Prevent the JavaScript event from bubbling up.
    • setCustomEventName

      void setCustomEventName(String customEventName)
      If set, an additional custom event (CustomEvent) triggers after the original event of the component (e.g. “click” on a tc:button). The name of the custom event is defined by this attribute.