David Johnson wrote:
This is probably a trivial question. I would like have a container contents view, but I do not want it to be index.html (which is apparently the default?). However the ZCML I’m using always seems to define the view as index.html. What am I doing wrong this time?


  <containerViews
      for="myapp.interfaces.IContact"
      index="zope.View"
      contents="zope.View"
      add="zope.ManageContent"
      />

Leave out the index, e.g.

   <containerViews
       for="myapp.interfaces.IContact"
       contents="zope.View"
       add="zope.ManageContent"
       />

You can then set up your own page/view for index.html if desired.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to