Author: cbrisson
Date: Tue Aug 29 16:03:44 2017
New Revision: 1806615
URL: http://svn.apache.org/viewvc?rev=1806615&view=rev
Log:
[site] document stringsDelimiter configuration in ParameterTool
Modified:
velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext
Modified: velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext?rev=1806615&r1=1806614&r2=1806615&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext Tue Aug 29
16:03:44 2017
@@ -440,6 +440,7 @@ You will find here a summary of all the
**`$params`** |1
--|--
**scope** | request
+`config.stringsDelimiter` [ = *<empty string>* ] | String
which is used by the `getStrings()` method to split input strings - no
splitting occurs if empty (the default value is `','` in the base class,
`org.apache.velocity.toos.generic.ValueParser`).
`$params.exists(` *name* `)` | checks whether given request
parameter exists
`$params.`*name*, `$params.get(` *name* `)`,
`$params.getString(` *name* [ , *alternate* ] `)` | returns the
parameter with the specified key as a string, if it exists; otherwise, returns
the specified alternate value if specified
`$params.getBoolean(` *name* [ , *alternate* ] `)` | returns
the parameter with the specified key as a java.lang.Boolean, if it exists;
otherwise, returns the specified alternate Boolean if specified