Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

parm

Description

The following: name=BODY will be added as a query string parameter to the URL being constructed by an either an enclosing url or forwardtag. The urlAmpEntity property of the utility context controls whether the query string parameter separator is generated as "&" or "&", when used from within an url tag.

Tag Body

JSP

Tag Parent

<utilsPrefix:url> or <utilsPrefix:forward>

Restrictions

None.

Attributes

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

name

The name of the URL argument to be generated.

Properties

n/a

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

<util:link tagstart="<a" tagend=">">
<util:attr attr="href">
<util:url path="/DesktopServlet">
<parm> name="op1">stuff</util:parm>
</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&op1=stuff" method="GET"/>