[Zope] Create top-level folder

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Mon, 31 Mar 2003 06:57:10 +0200


getPhysicalRoot() or restrictedTraverse("/") would do the job.

-aj

--On Sonntag, 30. M=E4rz 2003 19:45 Uhr -0500 Matt Ficken=20
<mattficken@mail.com> wrote:

> Part of my product's job is to create a top-level folder. Currently, I
> can only get it to create the folder in what ever folder the product is
> added in. I would like to be able to get access to the root directory
> object but don't know how.
>
> How do I access the root directory object? Would 'getPhysicalRoot' do
> that? If yes, how do I use it? --
> __________________________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=3Dsignup
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )