put it to the Velocity-context

in your class:
String object = "test";
context.put("var",object);

in your vm-template:
$var

output is:
test

Check the Howto's for details.

Marc

> -----Urspr�ngliche Nachricht-----
> Von: Eigen Technology Pty Ltd [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 17. Januar 2003 04:26
> An: [EMAIL PROTECTED]
> Betreff: Passing Parameter from Action to .vm file
>
>
> Dear all,
>
> is it possible to pass parameter from an Action.class to a .vm file? Is
> so, how to do it?
>
> regards
> michael
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to