I would like to change the automatically generated forms to template
based one's, but I'm stuck at the configuration.

  <browser:addform
      schema="szscreen.interfaces.ISzerep"
      content_factory="szscreen.app.Szerep"
      label="Uj Szerep"
      name="AddSzerep.html"
      permission="zope.ManageContent"
          set_before_add="name"
          >
  </browser:addform>

  <browser:addMenuItem
      title="Szerep"
      class="szscreen.app.Szerep"
      permission="zope.ManageContent"
          view="AddSzerep.html"
      />

I think I need something like this:
<browser:page
      name="AddSzerep.html"
          for="szscreen.interfaces.ISzerep"
          class="szscreen.browser.helper.SzerepAddView"
          template="szerep.pt"
          permission="zope.ManageContent"
          >
  </browser:page>

but the addmenuitem I cannot manage,

Please help
-- 
Best regards,
 Adam                          mailto:[EMAIL PROTECTED]


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

Reply via email to