2009/8/21 Dan Korostelev <nad...@gmail.com>:

> Browser view directives (browser:page and friends) - move this to some
> "zope.browserpage" package and make its structure more clean, so
> people could understand the magic of browser page class generation.
> :-)

Silly me, I forgot that browser page directives have the "menu" and
"title" arguments to integrate browser pages with menus!

But I'd like to see browser pages usable without using that browser
menu implementation, so I want to discuss one more proposition: make
browser page directives smarter, so they wouldn't depend hadly on
menus and support menu item registration for pages only when
"zope.browsermenu" is installed (and raise an error if browsermenu is
not installed and user tried to use "menu" argument). This won't hurt
any current zope.app.publisher's users, but can confuse new users who
will be learning these zcml directives. But I am sure that good
documentation can help here. :-)

WBR, Dan Korostelev
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to