velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: syntax: method with parameter
Date Mon, 15 May 2006 14:23:20 GMT
if the method takes a parameter, you cannot use the abbreviated
syntax.  so, if the method is getProfilePath(String userName), then
you should be able to do:

${action.getProfilePath("$forum.lastPostUserName")}

On 5/15/06, superoverdrive@gmx.de <superoverdrive@gmx.de> wrote:
> Whats wrong with:
>
> <A href="${action.ProfilePath("$forum.lastPostUserName")}">
>
> ?
>
> How would you call a method that takes a variable as a paramter?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message