TagLib: Mail

presetmsg

Description

The presetmsg tag provides access to the preset message properties of the current message in the preset messages collection.

Tag Body

JSP

Restrictions

Unlike most bean tags, the presetmsg tag can only be used with the presetmsgs collection tag to provide a handle on the current preset message in the collection.

Attributes

None

Properties

The tag provides the following bean properties:

Property

Description

Type

Access

msg Text of the preset message. String
Get/Set
number Number of the preset message. Integer
Get/Set

Example(s)

<%-- list all the preset messages --%>
<mail:presetmsgs iterate="true">
<mail:presetmsg>
preset msg text = <mail:get property="msg"/>
</mail:presetmsg>
</mail:presetmsgs>