Hi,

I have the following browser configuration:

<configure
        xmlns="http://namespaces.zope.org/zope";
        xmlns:browser="http://namespaces.zope.org/browser";
>

  <browser:addMenuItem
        title="Recipe"
        class="worldcookery.recipe.Recipe"
        permission="zope.ManageContent"
        view="AddRecipe.html"
  />

<!--
  <browser:addform
        schema="worldcookery.interfaces.IRecipe"
        content_factory="worldcookery.recipe.Recipe"
        label="Add Recipe"
        name="AddRecipe.html"
        permission="zope.ManageContent"
  />

  <browser:editform
        schema="worldcookery.interfaces.IRecipe"
        label="Edit"
        name="edit.html"
        menu="zmi_views" title="Edit"
        permission="zope.ManageContent"
  />
-->

</configure>

which fails when the two last options are commented out, but works fine when none are commented out. Is there a reason why it fails when the two last .. directives are commented out?

-Morten
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to