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
Component Parameters 
NameTypeFlagsDefaultDefault Prefix
dismissTextString message:core-dismiss-labelliteral
Allows the button used to dismiss all alerts to be customized (and localized).
showDismissAllbooleanSince 5.4message:private-core-alerts-show-dismiss-allliteral
If set to true, then the "dismiss all" button will not be rendered on the client.
  • Constructor Details