[Grok-dev] An History of Viewlet

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Nov 22 08:23:45 EST 2010


On 11/11/10 12:44 , Souheil CHELFOUH wrote:
> The consensus is the following : the available method should be called
> before the update (so, if you need specific needs in the availability
> computing, we'd need to do it in __init__) and then, we could use the
> filter method to do so and "dump" the unavailable viewlets.

* The available attribute could then also be implemented as an property. 
Correct?

* "Grok's" viewletmanager would override the filter() method to not only 
do the checkAcces() check, but also the availability check, right?

regards, jw




More information about the Grok-dev mailing list