Re: [Zope] getitem problem

2000-11-20 Thread Chris Withers
Matt wrote: dtml-var "_.getitem('staticProperties.container_metatype',1)" ^ Here's your problem. The string supplied to getitem() can't contain dots since it should be the id of a single object Given that

[Zope] getitem problem

2000-11-18 Thread Matt
why does the first work and not the second ? staticProperties is a dtmlDocument and container_metatype is a property of it. 1) dtml-if "meta_type == staticProperties.container_metatype" this is a container dtml-elif "meta_type == 'Folder'" this is a folder dtml-else this is not a container