[Zope] dtml-in question

Phil Harris phil.harris@zope.co.uk
Tue, 3 Apr 2001 15:17:28 +0100


Nesting dtml-in is very possible.

I don't quite get from your explanation what your trying to do though.

Could you elucidate slightly.

Phil

----- Original Message -----
From: "Russell Hires" <rhires@earthlink.net>
To: <zope@zope.org>
Sent: Tuesday, April 03, 2001 3:08 PM
Subject: [Zope] dtml-in question


> Is it possible to nest <dtml-in> tags?
> Actually, I know it isn't because that's something I've tried already and
it
> didn't work. At least, it didn't work the way I tried it.
>
> I'm just getting my feet wet with dtml, and I created a table using one
dtml
> method to create one row of the table using the <dtml-in> tag, but it
seems
> silly to have to have a completely separate method for one <tr> tag in a
> method all by itself.
>
> I did solve the problem this way: I created one method with the definition
> of one row of a table, then created another method with one <tr> tag to
> create the next row of the table, then looped using <dtml-in> first-method
> second-method</dtml-in>. It just seems kinda klunky...
>
> Thanks for any help!
>
> Russell
>
> ____________________________________________________
>   _its_ (no apostrophe) means "the thing that it owns"
>   _it's_ (with apostrophe) means "it is"
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )