TagLib: Mail

line

Description

This tag denotes a reference to the current line"bean" within an enclosing <mail:lines> tag. The body of this tag may contain get tags that will generate output derived from the contents of this "bean" tag.

Tag Body

JSP

Tag Parent

<mailPrefix:lines>

Restrictions

None.

Attributes


Properties

The tag provides the following bean properties:

Property

Description

Type

Access

text Current line of text. String
Get

Example(s)

<%-- line tag example --%>
...
<mail:context/>
...
<mail:fetch collection="lines" id="$(msgidx)"/>
...
<mail:lines id="llist">
<mail:set property="start" value="$(start)"/>
<mail:set property="count" value="5"/>
</mail:lines>
<mail:lines name="llist" iterate="true">
<mail:line> <mail:get property="text"/> </mail:line> </mail:lines>