This is a known shortcoming.  https://issues.apache.org/jira/browse/VELOCITY-534

I've some ideas of how we might solve this, but i've been busy with
other stuff.   If anyone wants to dig into this, i'd be happy to share
my thoughts.  Patches are welcome, as always! :)

On 8/31/07, Simon Buettner <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> i want to call the following method with a variable-length argument list:
> public String getMessage(String key, String ...values)
>
> And this is the velocity template code:
> $messageService.getMessage("start.index.welcome" ,
> $userSession.user.firstName)
>
> The template is parsed without any errors, but the method is not called.
> It just puts out:
> $messageService.getMessage("start.index.welcome" ,
> $userSession.user.firstName)
>
> Best regards
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to