Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

link

Description

Emits the following: tagstartBODYtagend The purpose of this tag is to aid in the construction of "link"-type tags, whose content is dynamically generated.

Tag Body

JSP

Restrictions

None.

Attributes

This tag has the following attributes for which the Required value is “Yes”:

tagstart

The fragment of text to emit prior to the BODY.

tagend

The fragment of text to emit following the BODY.

Properties

n/a

Example(s)
<%-- example of link tag usage --%>

<util:link tagstart="<a" tagend=">">
	<util:attr attr="href">
		<util:url path="/DesktopServlet"></util:url>
	</util:attr>
	<util:attr attr="method">GET</util:attr>
</util:link>GO HOME</a>

Will generate a link that includes session encoding, if needed. The "path" attribute is not subject to the rules of file lookup. The emitted markup may look something like: <a href="/DesktopServlet?sid=1a34" method="GET"/>