[Zope] dtml-with question

David Brown ddb@namshub.org
Tue, 15 May 2001 09:33:15 -0700


The problem is that

>                 <dtml-with name=lookuptype>

isn't really what you want -- you're telling dtml-var that the name is 
lookuptype, when what you really mean is that you want the value of lookuptype.

It's probably more complex than this, but try:

<dtml-var expr="lookuptype">

The quotes are not controlling evaluation, like you think they are.  Inf 
act, by the time it gets to the dtml-var evaluation code, Zope has no clue 
whether or not you have quoted it or not.

dave