paramValues

From Documentation
Revision as of 13:26, 19 January 2022 by Hawk (talk | contribs) (correct highlight (via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

paramValues - java.util.Map

A map of parameters of the request, Map<String, String[]>, returned by ServletRequest.getParameterValues()

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. Param is a map of possible values, Map<String, String[]>.

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

Version History

Last Update : 2022/01/19


Version Date Content
     



Last Update : 2022/01/19

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