You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Garrett Smith <dh...@gmail.com> on 2007/05/19 22:32:38 UTC
${param.foo} in velocity?
Hi,
I would like to grab a request parameter in velocity.
What is the correct syntax?
Thank you,
Garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: ${param.foo} in velocity?
Posted by Jason Pettiss <ja...@TheCatalis.com>.
Depends what your view servlet is. If you've written your own, you can
just shove request.getParameterMap() under any name in the context
(like, uh, 'param').
If you're using the View servlet, check out:
http://velocity.apache.org/tools/devel/view/ParameterParser.html
Garrett Smith wrote:
> Hi,
>
> I would like to grab a request parameter in velocity.
>
> What is the correct syntax?
>
> Thank you,
>
> Garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org