param"
From Documentation
m |
|||
Line 11: | Line 11: | ||
</source> | </source> | ||
− | Notice that, in zscript, there is no <tt>paramValues</tt>. | + | Notice that, in zscript, there is no <tt>paramValues</tt>. <tt>Param</tt> is a map of possible values, <tt>Map<String, String[]></tt>. |
<source lang="xml"> | <source lang="xml"> |
Revision as of 06:27, 3 August 2011
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. Param is a map of possible values, Map<String, String[]>.
<zscript>
String[] values = param.get("something");
</zscript>
Version History
Version | Date | Content |
---|---|---|