[Zope3-Users] Re: Seeking a ZCML Example for a CSSViewlet

Jürgen Kartnaller juergen at kartnaller.at
Tue Oct 10 01:35:15 EDT 2006



Thierry Florac wrote:
> Le samedi 07 octobre 2006 à 17:00 +1300, Darryl Cousins a écrit :
>> configure zcml::
>>
>>   <browser:viewlet
>>       name="layout.css"
>>       for="*"
>>       manager="barrysmithgallery.layer.public.ICSS"
>>       permission="zope.Public"
>>       class="..BRSPublicLayerLayoutCSSViewlet"
>>       layer="barrysmithgallery.layer.public.IBRSPublicBrowserLayer"
>>       weight="2"
>>       />
> 
> Maybe I'm wrong, but it seems that the "weight" parameter is not used by 
> the default implementation of the CSS viewlet manager...
> Correct ?

Correct, but look at z3c.viewlet.

Jürgen



More information about the Zope3-users mailing list