param"

From Documentation
m
m
Line 1: Line 1:
 
{{ZUMLReferencePageHeader}}
 
{{ZUMLReferencePageHeader}}
  
== param - java.util.Map ==
+
= param - java.util.Map =
 
A map of parameters of the request, <tt>Map&lt;String, String&gt;</tt>.
 
A map of parameters of the request, <tt>Map&lt;String, String&gt;</tt>.
  
Line 18: Line 18:
 
</zscript>
 
</zscript>
 
</source>
 
</source>
 +
 +
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
  
 
{{ZUMLReferencePageFooter}}
 
{{ZUMLReferencePageFooter}}

Revision as of 11:32, 18 November 2010

param - java.util.Map

A map of parameters of the request, Map<String, String>.

To retrieve all possible parameter values, use paramValues instead.

${param.something}
${paramValues.something[0]}

Notice that, in zscript, there is no paramValues. In additions, param is a map of possible values, Map<String, String[]>.

<zscript>
String[] values = param.get("something");
</zscript>

Version History

Last Update : 2010/11/18


Version Date Content
     



Last Update : 2010/11/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.