[Zope3-dev] Open the ZMI

Roger Ineichen r.ineichen at projekt01.ch
Mon May 31 16:32:15 EDT 2004


I think we need a concept for to register
views to the (master) template view.

This is needed for to register javascripts
like Gary Poster (will) use in the ZC widgets.

The normal ecmascript_slot isn't available
for this kind of js views. This slot is
used by the page view. If the widgets 
use javascript the page-view dosen't 
know there is a javascript to load!

There are two ways to solve this:

1. Load the javascript in the template.pt

 - This is really hardcoded and doesn't allow
   other developers to register own 
   javascripts.

2. Implement a mechanism for to lookup javascript 
   views like zmi_views for to load additional 
   javascripts

I think it's very important to open the ZMI and 
add mechanism for to register own views where 
you need. Like additional css styles or javascripts.

It whould be nice if the ZMI offers a concept
for doing this:

 - Load additional CSS and override a style whitout 
   to change the source

 - Load additional javascripts in the head


Any comments?

Regards
Roger Ineichen
_____________________________
END OF MESSAGE




More information about the Zope3-dev mailing list