Interface EventTagDeclaration
- All Superinterfaces:
- HasAction,- HasActionListener,- HasBinding,- HasConfirmation,- HasFragment,- HasId,- HasIdBindingAndRendered,- HasLink,- HasOutcome,- HasTarget,- IsDisabledBySecurity,- IsImmediateCommand,- IsOmit,- IsRendered,- IsTransition
public interface EventTagDeclaration
extends HasIdBindingAndRendered, HasAction, HasActionListener, IsImmediateCommand, HasConfirmation, HasLink, HasOutcome, HasFragment, IsTransition, HasTarget, IsDisabledBySecurity, IsOmit
Add an event behavior to the component.
 It can contain f:ajax and tc:operation tags.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetCustomEventName(String customEventName) If set, an additional custom event (CustomEvent) triggers after the original event of the component (e.g.voidsetEvent(jakarta.el.ValueExpression event) The name of the event as an instance ofClientBehaviorsThis will be also overwrite events of possible f:ajax children.voidsetStopPropagation(String stopPropagation) Prevent the JavaScript event from bubbling up.Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasActionsetActionMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasActionListenersetActionListenerMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBindingsetBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConfirmationsetConfirmationMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasFragmentsetFragmentMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLinksetLinkMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasOutcomesetOutcomeMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTargetsetTargetMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabledBySecuritysetDisabledMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsImmediateCommandsetImmediateMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsOmitsetOmitMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRenderedsetRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsTransitionsetTransition
- 
Method Details- 
setEventvoid setEvent(jakarta.el.ValueExpression event) The name of the event as an instance ofClientBehaviorsThis will be also overwrite events of possible f:ajax children.
- 
setStopPropagationPrevent the JavaScript event from bubbling up.
- 
setCustomEventNameIf 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.
 
-