org.apache.tapestry5.corelib.components
Class Alerts
java.lang.Object
org.apache.tapestry5.corelib.components.Alerts
- All Implemented Interfaces:
- ClientElement
@SupportsInformalParameters
public class Alerts
- extends Object
- implements 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.
- Since:
- 5.3
Component Parameters |
---|
Name | Description | Type | Flags | Default | Default Prefix | Since |
---|
dismissText | | String | | message:dismiss-label | literal | |
---|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Alerts
public Alerts()
getClientId
public String getClientId()
- Description copied from interface:
ClientElement
- Returns a unique id for the element. This value will be unique for any given rendering of a page. This value is
intended for use as the id attribute of the client-side element, and will be used with any DHTML/Ajax related
JavaScript.
- Specified by:
getClientId
in interface ClientElement
Copyright © 2003-2012 The Apache Software Foundation.