Class Alerts
-
- org.apache.tapestry5.corelib.base.BaseClientElement
-
- org.apache.tapestry5.corelib.components.Alerts
-
- All Implemented Interfaces:
ClientElement
@SupportsInformalParameters public class Alerts extends BaseClientElement
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 theAlertManager
service.- Since:
- 5.3
Component Parameters Name Type Flags Default Default Prefix dismissText String message: core-dismiss-label literal Allows the button used to dismiss all alerts to be customized (and localized). showDismissAll boolean Since 5.4 message: private-core-alerts-show-dismiss-all 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 Constructor Description Alerts()
-
Method Summary
-
Methods inherited from class org.apache.tapestry5.corelib.base.BaseClientElement
getClientId, storeElement
-
-
-
-
Constructor Detail
-
Alerts
public Alerts()
-
-