Re: [xwiki-users] How do I for receive a very long string as a parameter in a funtion?

2010-08-27 Thread Raluca Stavro
On Fri, Aug 27, 2010 at 1:52 PM, Raluca Stavro wrote: > Hi, > > For the Velocity syntax to be interpreted inside a String, you have to > use double quotes ( "string_with_velocity_inside"). You can also use concatenation: $velocity_var.concat('string_inside_simple_quots') This way the string will

Re: [xwiki-users] How do I for receive a very long string as a parameter in a funtion?

2010-08-27 Thread Raluca Stavro
Hi, For the Velocity syntax to be interpreted inside a String, you have to use double quotes ( "string_with_velocity_inside"). Raluca. On Fri, Aug 27, 2010 at 12:33 PM, abrante wrote: > > > The link works fine now : ) , but when I put this  $name+$lastname  inside > the query does not take the

Re: [xwiki-users] How do I for receive a very long string as a parameter in a funtion?

2010-08-27 Thread abrante
The link works fine now : ) , but when I put this $name+$lastname inside the query does not take the values stores in the variables, How do I for pass the parameters? Thanks a lot -- View this message in context: http://xwiki.475771.n2.nabble.com/How-do-I-for-receive-a-very-long-string-as-a

Re: [xwiki-users] How do I for receive a very long string as a parameter in a funtion?

2010-08-26 Thread Raluca Stavro
Hello, What you should do is to escape the URL using the Velocity escaping tool (http://velocity.apache.org/tools/devel/generic/EscapeTool.html) : #set($url = $escapetool.url('http://testforge.int-evry.fr/d2r-server/snorql/?query=%09%09SELECT+DISTINCT++%3Fname+%3Fpackage+WHERE+%7B%0D%0A%09%09%7B