Class Alerts
java.lang.Object
org.apache.tapestry5.corelib.base.BaseClientElement
org.apache.tapestry5.corelib.components.Alerts
- All Implemented Interfaces:
ClientElement
Renders out an empty
<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.- Since:
- 5.3
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. |
-
Field Summary
Fields inherited from class org.apache.tapestry5.corelib.base.BaseClientElement
javaScriptSupport, resources
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tapestry5.corelib.base.BaseClientElement
getClientId, storeElement
-
Constructor Details
-
Alerts
public Alerts()
-