on Thu, 2002-06-27 at 15:35, Daniel Schmitz wrote:
Hi all,
i need view all objects in all subfolders, but the dtml-in see only the current folder. How i make the dtml-in search all the subfolders?
thanks, Daniel
hi, three ways ahead: - recursion [call your dtml for all folders in your dtml-in and so on] => not recommended - use ZopeFind(self, obj, obj_ids=None, obj_metatypes=None, obj_searchterm=None, obj_expr=None, obj_mtime=None, obj_mspec=None, obj_permission=None, obj_roles=None, search_sub=0, REQUEST=None, result=None, pre=''): => may work for small sites - use and query a ZCatalog! => if you have a big site, this should give you enough performance. greetings, maik -- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org