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 :)

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to