16 Nov
2000
16 Nov
'00
3:44 p.m.
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