[Zope] is <dtml-unless someIndirectVariable> possible ?
R. David Murray
bitz@bitdance.com
Sun, 27 Aug 2000 15:26:15 -0400 (EDT)
On Sun, 27 Aug 2000, Bill Welch wrote:
> <dtml-unless "_['myPropName']">
Hmm. Don't you mean _[myPropName]? I think that will throw a key
error if the value of myPropName is a key in the namespace, though,
which I don't think is what he wants.
If the question is specifically whether or not the property is in
request, then
<dtml-unless "REQUEST.has_key(myPropName)">
would probably be the best approach.
--RDM