wrap it in quotes (and i'd recommend using formal notation for clarity):
#set( $spanId = "${childElement}${newRowNum}" )
On 7/20/07, Firkus, Robert <[EMAIL PROTECTED]> wrote:
How do you concatenate a string to numeric variable.
For example...
#set ($newRowNum = $rowNum-1)
#set ($spanId = $childElement$newRowNum)
Errors out on the second set
Thanks
Bob
-----------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon this information
by persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender
and delete the material from any computer.
-----------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]