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:

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 fabra...@yahoo.com wrote: The link works fine now : ) , but when I put this  $name+$lastname  inside the query does

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 raluca.moro...@xwiki.com 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

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 =