Package org.apache.tapestry5.alerts
Class Alert
java.lang.Object
org.apache.tapestry5.alerts.Alert
- All Implemented Interfaces:
Serializable
An Alert that may be presented to the user. The Alert has a message, but also includes
a severity (that controls how it is presented to the user), and a duration (that controls how long
it is presented to the user). If the
markup
field is true
,
the message is treated as HTML and used without any escaping.- Since:
- 5.3
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlert with default duration ofDuration.SINGLE
and default severity ofSeverity.INFO
.Alert with default duration ofDuration.SINGLE
. -
Method Summary
-
Field Details
-
id
A unique id (unique within this JVM and execution), used to identify an alert (used primarily when individually dismissing an alert). -
duration
-
severity
-
message
-
markup
Defines whether the message will be treated as HTML or not.- Since:
- 5.4
-
-
Constructor Details
-
Alert
Alert with default duration ofDuration.SINGLE
and default severity ofSeverity.INFO
. -
Alert
Alert with default duration ofDuration.SINGLE
. -
Alert
-
Alert
-
-
Method Details