Changes for page Scripting

Last modified by Simon Urli on 2023/10/10

<
From version < 50.2 >
edited by Vincent Massol
on 2016/09/17
To version < 50.3 >
edited by Vincent Massol
on 2016/09/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -297,7 +297,7 @@
297 297  
298 298  {{code}}
299 299  {{groovy}}
300 -var = "toto"
300 +var = "foo"
301 301  {{/groovy}}
302 302  
303 303  {{velocity}}
... ... @@ -309,12 +309,10 @@
309 309  
310 310  {{code}}
311 311  {{velocity}}
312 -## Setting some script binding in Velocity
313 -#set($myvar = "toto")
312 +#set($myvar = "foo")
314 314  {{/velocity}}
315 315  
316 316  {{groovy}}
317 -// Lets use the script binding that has been set in previous script
318 318  print myvar
319 319  {{/groovy}}
320 320  {{/code}}

Get Connected