[Zope-dev] Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread jiva

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] Looping through a folder's contents...

2000-08-20 Thread jiva

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?
-- 
IBM Pollyanna Principle:
Machines should work.  People should think.

___
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] Alternate User Folders Broken in 2.1.6? HELP!!!

2000-06-29 Thread jiva

It seems as if all the alternate user folders I have tried (GUF,
UserDb, etc) all seem to be broken under 2.1.6  They worked fine in
2.1.4, but when I upgraded to 2.1.6 they broke!!  HELP! I need to
solve this ASAP!
-- 
With/Without - and who'll deny it's what the fighting's all about?
-- Pink Floyd

___
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] User DB, GUF, et al broken under 2.1.7?

2000-06-18 Thread jiva

Is it just me or are about all the third party ACL folders broken in
2.1.7?  I have tired User DB, and GUF and can't seem to get either to
work.  I was one of the bright fellows who updated to 2.1.7
immediately when it became available from 2.1.4, and now all my user
folders are broken and I (like an idiot) did not make a backup before
upgrading.  (Well I did, but I actually have done some work on the
site since then, and it seems the Data.fs is not compatable if I take
it from 2.1.7 and try to use it in 2.1.4.  ARGH...

Help!
-- 
Did I say I was a sardine?  Or a bus???

___
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 )