# <netui:parameterMap> Tag

Writes a group of name/value pairs to the URL or the parent tag.

## Syntax

<netui:parameterMap
map="string_mapObject" />

## Description

Writes a group of name/value pairs to the URL or the parent tag.

The <netui:parameterMap> can be nested inside of the <netui:anchor> , <netui:button> , <netui:form> , and <netui:image> tags.

You can dynamically determine the value of the <netui:parameterMap> tag by pointing the `map` attribute at a java.util.HashMap object.

## Attributes

map | A data binding expression pointing to a java.util.Map of parameters. The expression can point at any implementation of the java.util.Map interface, including java.util.AbstractMap , java.util.HashMap , java.util.Hashtable , etc.
Required | Supports runtime expression evaluation | Data bindable
Yes | No | Read Only

## Sample

Assume that there is a java.util.HashMap object in the Controller file.

          public HashMap hashMap = new HashMap();
          hashMap.put("q", "Socrates");
          hashMap.put("lr", "lang_el");
          hashMap.put("as_qdr", "m3");

The following set of tags will read the HashMap object and generate a link with a set of URL parameters.

          <netui:anchor href="http://www.google.com/search">
              Search Greek language web sites updated in the last three months with the query "Socrates".
              <netui:parameterMap map="{pageFlow.hashMap}"/>
          </netui:anchor>

The URL produced appears as follows:

          http://www.google.com/search?lr=lang_el&q=Socrates&as_qdr=m3

## Sample Code

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

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/binaryFlow/detailsDocumentContent.jsp

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/netui_databinding/grid/detailsItems.jsp

## Related Topics

<netui:parameter> Tag

<netui:parameterMap> Tag Sample