[Zope] How i could concatenate the dtml-var and the text to another dtml-var

Shane Hathaway shathaway@earthling.net
Tue, 16 May 2000 08:51:41 -0400


Manish wrote:
> 
> Hi Everybody,
> 
> Some could tell me how i could concatenate the dtml-var and the text to
> another dtml-var
> 
> for e.g
> 
> <dtml-call "REQUEST.set('name2','courses')">
> <dtml-call "REQUEST.set('name3',join(%, name2, %))">

Here's how I might do it.

<dtml-call "REQUEST.set('name2','courses')">
<dtml-call "REQUEST.set('name3', '%' + REQUEST['name2'] + '%')">

Shane