[Zope3-dev] Products: Contents View Tab?
Ian Beatty
beatty at physics.umass.edu
Wed Apr 28 11:40:51 EDT 2004
On 2004-04-28 11:23 AM, Eckart Hertzler is reputed to have said:
> The "browser:containerView" directive is an easy way to produce standard
> views, and no more. So it is not intenden to do a lot of customization other
> than the permission setting.
Okay. Thanks,
> Now, using a "browser:menuItem" directives only works, if there exists a view
> with the name ("contents.html"). If you don't define a contents view through
> another directive, you won't be able to add it to a menu.
Aah, that makes sense. The action of the menu item was set to
"@@contents.html", which I thought was automatically created for subclases
of IContainer. I guess I was wrong about that. (But the Cookbook was, too?)
Coming from Zope 2, I don't get this "@@" stuff yet.
> With the "browser:page" directive you create a contents view and can also add
> it to a menu.
Then that would seem the elegant way to go.
> More information on the default contents view can be found in the
> zope.app.container.browser package.
I'll check it out. I'm having trouble without an API reference and related
documentation to dig into.
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty beatty at physics.umass.edu
Physics Education Research voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available upon request)
Amherst, MA 01003-9337 USA http://umperg.physics.umass.edu/
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
More information about the Zope3-dev
mailing list