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 way the string will not be parsed -> better performance.

Raluca.

>
> 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 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-parameter-in-a-funtion-tp5465073p5468798.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> _______________________________________________
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to