There is probably a simple solution that I'm overlooking here....

I have a folder (Parts) that contains dtml documents that are snippets of code. I want 
to include some of them which I have listed in a variable (select).

So I use code like this:

<dtml-with parts>
<dtml-in select>
<dtml-var "_.getitem('sequence-item')">
</dtml-in>
</dtml-with>

or this

<dtml-with parts>
<dtml-in select>
<dtml-var sequence-item>
</dtml-in>
</dtml-with>


In either case I get the name of sequence-item but I want the contents of sequence-item

Josh
-- 
-------------------------------------------------
Joshua Brauer
Computer Support Scientist
Department of Biochemistry and Molecular Biology
Colorado State University
Fort Collins, CO 80523
(970) 491-1080/pager:  (970) 498-7995, #5837
-------------------------------------------------

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to