Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

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

n/a

Properties

The tag provides the following bean properties for which the Type value is “String” and the Access value is “Get”:

text

Current line of text.

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>