NetUI Tag Library Documentation (Version 1.0.2)

netui
netui:parameter Tag

Writes a name/value pair to the URL or the parent tag.

Syntax

<netui:parameter
    name="string_name"
    value="string_or_expression_value" >
    ... JSP content ...
</netui:parameter>

Description

Writes a name/value pair to the URL or the parent tag. You can dynamically determine the value of the <netui:parameter> through the value attribute.

Attributes
name
Required: Yes  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The name of the parameter.
value
Required: Yes  |   Type: Object  |   Supports runtime evaluation / JSP Expression Language: Yes

The value of the parameter. May be a literal or a data binding expression.

Example

In this sample, the hyperlink is amended with the parameter q=Socrates

      <netui:anchor href="http://www.google.com/search">
          Search Google with the query "Socrates"
          <netui:parameter name="q" value="Socrates" />
      </netui:anchor>
The URL produced appears below:
      http://www.google.com/search?q=Socrates


Tag Information
Tag Classorg.apache.beehive.netui.tags.html.Parameter
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone