On Wed, 15 Nov 2000, Johan Carlsson wrote:

> > If I want to know whether a certain object is contained in 
> > the current folder I do this:
> > 
> > <dtml-if "'index_html' in this().objectIds()">
> >   yes it's here
> > <dtml-else>
> >   not here
> > </dtml-if>

> hasattr(self.aq_base, 'index_html') should probably work.
> 
> aq_base returns the unwrapped base object.

Thanks, but it seems that aq_base is not available from DTML 

- Hmm

Regards,
Stefan


_______________________________________________
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