paramValues"

From Documentation
m
m
Line 10: Line 10:
 
${param.something}
 
${param.something}
 
${paramValues.something[1]}
 
${paramValues.something[1]}
 +
</source>
 +
 +
Notice that, in zscript, there is no <tt>paramValues</tt>. In additions, <tt>param</tt> is a map of possible values,  <tt>Map&lt;String, String[]&gt;</tt>.
 +
 +
<source lang="xml">
 +
<zscript>
 +
String[] values = param.get("something");
 +
</zscript>
 
</source>
 
</source>
  

Revision as of 07:30, 10 May 2011

paramValues - java.util.Map

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

To retrieve the first value of a parameter if any, use param instead.

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

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 : 2011/05/10


Version Date Content
     



Last Update : 2011/05/10

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