Hi All, How do you do something like this: #set($hello = "hello") <% print(hello+" world"); %> Duke
The following should do it: #set($hello = "hello") <% print("${hello} world"); %> ________________________________ From: Duke Tantiprasut [mailto:[email protected]] Sent: 20 September 2006 23:04 To: [email protected] 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
Yes, or by the context : $context.put("hello", "hello") <% print($context.get("hello") + " world"); %> jeremi On 9/21/06, Esbach, Brandon <[email protected]> wrote:
The following should do it:
#set($hello = "hello") <% print("${hello} world"); %>
________________________________ From: Duke Tantiprasut [mailto:[email protected]] Sent: 20 September 2006 23:04 To: [email protected] 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- jeremi
great. thanks On 9/20/06, Duke Tantiprasut <[email protected]> wrote:
Hi All,
How do you do something like this:
#set($hello = "hello") <% print(hello+" world"); %>
Duke
participants (3)
-
Duke Tantiprasut -
Esbach, Brandon -
jeremi joslin