Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 java.lang.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 |

Constructor Summary
`Alerts()`

Method Summary
`java.lang.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 java.lang.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.