Yes,
or by the context :
$context.put("hello", "hello")
<%
print($context.get("hello") + " world");
%>
jeremi
On 9/21/06, Esbach, Brandon <Esbachb(a)tycoelectronics.com> wrote:
The following should do it:
#set($hello = "hello")
<%
print("${hello} world");
%>
________________________________
From: Duke Tantiprasut [mailto:duketantiprasut@gmail.com]
Sent: 20 September 2006 23:04
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] passing values from velocity to groovy
Hi All,
How do you do something like this:
#set($hello = "hello")
<%
print(hello+" world");
%>
Duke
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
jeremi