[Zope-dev] Re: [Zope] Looping through a folder's contents...
+---[ [EMAIL PROTECTED] ]-- | What would the "Recurse_Subfolder" method do? | | > | > | > | > That *is* Recruse_Subfolder :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope] Looping through a folder's contents...
What would the "Recurse_Subfolder" method do? On Mon, Aug 21, 2000 at 04:12:05PM +1000, Andrew Kenneth Milton wrote: > +---[ [EMAIL PROTECTED] ]-- > | I would like to loop through the contents of a folder, and the > | contents of the subfolders of that folder. I know I can do this to a > | singular level by doing something like: > | > | > | > | > | > | Should give me a list of the titles of all the subfolders of the > | folder called "subfolder". So, once I get there, how do I loop > | through the subobjects of each of those folders? > | > | In other words, I have a subfolder inside of the folder called > | "subfolder" and I want to see the contents of that folder. How do I > | do it? > > I'll give you the general case for 'all' folders:- > > Make a Method... Recurse_SubFolder. > > > > > > > > > > > You can obviously expand this to also take a 'type' for objectValues, > and pass the namespace etc. > -- A homeowner's reach should exceed his grasp, or what's a weekend for? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope] Looping through a folder's contents...
+---[ [EMAIL PROTECTED] ]-- | I would like to loop through the contents of a folder, and the | contents of the subfolders of that folder. I know I can do this to a | singular level by doing something like: | | | | | | Should give me a list of the titles of all the subfolders of the | folder called "subfolder". So, once I get there, how do I loop | through the subobjects of each of those folders? | | In other words, I have a subfolder inside of the folder called | "subfolder" and I want to see the contents of that folder. How do I | do it? I'll give you the general case for 'all' folders:- Make a Method... Recurse_SubFolder. - You can obviously expand this to also take a 'type' for objectValues, and pass the namespace etc. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )