org.apache.tapestry5.corelib.components
Class Alerts

java.lang.Object
  extended by 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
NameDescriptionTypeFlagsDefaultDefault PrefixSince
dismissTextStringmessage:dismiss-labelliteral

Constructor Summary
Alerts()
           
 
Method Summary
 String getClientId()
          Returns a unique id for the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alerts

public Alerts()
Method Detail

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.