[Grok-dev] Viewlets and viewletmanagers
janwijbrand at gmail.com
Wed Apr 15 11:14:39 EDT 2009
Souheil CHELFOUH wrote:
> """if you specify a context on the ViewletManager, you should get this
> context as the default context for the Viewlet itself.
> Of course, that doesn't prevent you to specify one on the Viewlet
> itself, but, it would spare the tedious job to redefine, each time, a
> base context for the Viewlets.
> I have this case where, very often, the manager and the viewlets are
> registered for the same context. Actually, it's 90% of my cases."""
Do you mean the viewlet should - by default - be registered for the same
context as the viewletmanager the viewlet is associated too?
IMHO that would make sense indeed.
More information about the Grok-dev