velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkadiusz Ryćkowski <a...@aster.pl>
Subject Re: simple question 2
Date Wed, 11 Oct 2006 12:09:13 GMT

--- Oryginalna wiadomość ---
Od: apache@recks.org
Do: Velocity Users List <velocity-user@jakarta.apache.org>
Wysłano: 2006-10-11 13:35:31
Temat: Re: simple question

> your string matches Velocity semantics up to the "(",
> and that is why the parser has trouble witch what comes
> afterwards.
>
> Just replace the initial "$" to soothe the barking parser:
> #set( $D = '$' )
> ....

Many thanks
Last question, how to do sth like
#set ($products=$products + "," + $user.productName)
I'v tried i.e.
#set ($products=$products${COMMA}$user.productName)
and $products.concat($user.productName) but without expected effect

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message