o

Tag notification

Component Information 
InfoValue
Component Typeorg.omnifaces.cdi.push.Notification
Handler ClassNone
Renderer TypeNone
DescriptionNone
Attributes 
NameRequiredTypeDescription
bindingfalsejakarta.el.ValueExpression
(must evaluate to jakarta.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean.
channeltruejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The name of the push channel. It may not be an EL expression and it may only contain alphanumeric characters, hyphens, underscores and periods. All open connections on the same channel will receive the same push message from the server.
iconfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The notification icon URL. Maps to the Notification API icon option.
idfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
onclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The JavaScript event handler function that is invoked when a notification is clicked. The function will be invoked with one argument: the CustomEvent with notification details.
onclosefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The JavaScript event handler function that is invoked when a notification is closed. The function will be invoked with one argument: the CustomEvent with notification details.
onerrorfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The JavaScript event handler function that is invoked when a notification error occurs. The function will be invoked with one argument: the error event.
onpermissionchangefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The JavaScript event handler function that is invoked when the notification permission changes. The function will be invoked with one argument: the permission string ("granted", "denied", or "default").
onunsupportedfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The JavaScript event handler function that is invoked when the Notifications API is not supported or the service worker is not available. The function will be invoked with no arguments.
renderedfalsejakarta.el.ValueExpression
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
requireInteractionfalsejakarta.el.ValueExpression
(must evaluate to boolean)
Whether the notification requires interaction to be dismissed. Defaults to false. Maps to the Notification API requireInteraction option.
silentfalsejakarta.el.ValueExpression
(must evaluate to boolean)
Whether the notification should be silent (no sound/vibration). Defaults to false. Maps to the Notification API silent option.
stackedfalsejakarta.el.ValueExpression
(must evaluate to boolean)
Whether notifications should be stacked instead of replaced. Defaults to false, meaning each new notification replaces the previous one (deduplication by component client ID as tag). When set to true, no tag is set and each notification is displayed independently.
userfalsejakarta.el.ValueExpression
(must evaluate to java.io.Serializable)
The user identifier of the push channel, so that user-targeted push messages can be sent. All open connections on the same channel and user will receive the same push message from the server. It must implement Serializable and preferably have low memory footprint. Suggestion: use #{request.remoteUser} or #{someLoggedInUser.id}.

Output generated by Vdldoc View Declaration Language Documentation Generator.