Is there a way to add content without having @@+ in the URL? For
instance I'd like the url for adding events to be /addEvent.

I get security problems when not having @@+ in the URL. I have this view:

  <browser:page
      for="zope.app.container.interfaces.IWriteContainer"
      name="addEvent"
      class=".eventforms.EventAddForm"
      permission="zope.ManageContent"
      />

When I hit the submit button in this add form I get an error:
ForbiddenAttribute: ('add', <zope.app.folder.folder.Folder object at
0xb6e65d2c>)

I realize IWriteContainer might not be the right interface, it doesn't
have any add method.

Should I have for="zope.app.container.interfaces.IAdding" instead and
somehow add an adapter from IFolder to IAdding or how would I do this?

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

Reply via email to