[Zope3-Users] Re: need help on skins
Philipp von Weitershausen
philipp at weitershausen.de
Fri Sep 8 08:35:11 EDT 2006
Philipp von Weitershausen wrote:
> Stephan Richter wrote:
>> On Friday 08 September 2006 04:54, Denis Shaposhnikov wrote:
>>> apidoc from 3.3.0b2 said me that "layer" in the "page" directive is
>>> deprecated:
>>>
>>> """
>>> layer - LayerField (default = None)
>>> The layer the view is in.
>>>
>>> BBB: DEPRECATED
>>> """
>>>
>>> What to use instead of?
>>
>> This is a mistake.
>
> Huh? The browser:layer directive has been deprecated. See
> http://dev.zope.org/Zope3/SimplifySkinning
Never mind, we're talking about LayerField here.
Hmm.
LayerField is deprecated and will be replaced by InterfaceField once
it's gone. The 'layer' argument to browser:page isn't deprecated.
We should fix the docstring of LayerField. It either says too much or
too little :)
More information about the Zope3-users
mailing list