[Zope3-Users] How to do addform+addmenuitem 'manually'
    Adam Groszer 
    adamg at fw.hu
       
    Wed Aug 24 12:07:31 EDT 2005
    
    
  
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:adamg at fw.hu
    
    
More information about the Zope3-users
mailing list