Sorry for bothering with the question. I figured it out. the vm was an
object derived from Folder() but not a Folder() object. So probably certain
permissions were not working probably. Things work fine on a normal Folder()
object.

With regards,
-shailesh



On 11/25/06, Shailesh Kumar <[EMAIL PROTECTED]> wrote:

Hi,

I was trying the following.

During the startup I caught the IDatabaseOpenedWithRootEvent. I created a
folder inside the root, and then setup the folder as a site by using:
    sm = site.LocalSiteManager(vm)
    vm.setSiteManager(sm)

# vm is basically now http://localhost:8080/vm

Following things work:
    assert vm.getSiteManager() is sm
    default = sm['default']


So far so good. Now when I look through ZMI, I see that on the vm folder
Manage site action is available. But there is nothing like ++etc++site
inside vm. Also, when I click on Manage site, zope returns 'page not
found' error.

Could you please tell me what is going wrong here ?

With regards,
-shailesh


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to