# <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" />

## 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 | The name of the parameter.
Required | Supports runtime expression evaluation | Data bindable
Yes | Yes | No
value | The value of the parameter. May be a literal or a data binding expression.
Required | Supports runtime expression evaluation | Data bindable
Yes | Yes | Read Only

## Sample

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

## Sample Code

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/parameter/index.jsp

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/scriptContainer/index.jsp

## Related Topics

<netui:parameter> Tag Sample

<netui:parameterMap> Tag