@SupportsInformalParameters public class Alerts extends BaseClientElement
<div>
element and provides JavaScript initialization to make the element
the container for alerts. After rendering markup (and initialization JavaScript), it
removes all non-persistent alerts.
Alerts are created using the AlertManager
service.Name | Type | Flags | Default | Default Prefix |
---|---|---|---|---|
dismissText | String | message: | literal | |
Allows the button used to dismiss all alerts to be customized (and localized). | ||||
showDismissAll | boolean | Since 5.4 | message: | literal |
If set to true, then the "dismiss all" button will not be rendered on the client. |
javaScriptSupport, resources
Constructor and Description |
---|
Alerts() |
getClientId, storeElement
public Alerts()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.