[Zope] Concatenation
Ben Ocean
zope@thewebsons.com
Sat, 10 Nov 2001 20:04:34 -0800
At 04:50 AM 11/11/01 +0100, you wrote:
> > Hi;
> > I'm trying to concatenate a <dtml-var> with a string. I have this poor
>attempt:
> > <dtml-var expr="_.string(title_or_id.'_frame')(_,_.None)">
> > where *title_or_id* is (of course) the <dtml-var> and *_frame* is the
> > string. How should I do this?
>
><dtml-var "_[title_or_id()+'_frame']">
Thank you!
>This one was easy ;-)
I know. I'm new. I think I'll always be new...
>Explanation: titel_or_id is a method. If you want it to return a string, you
>have to CALL it (that's why you need the "()") ...
Thanks.
BenO