Hi, 

Danke dir!
I found multiple inheritance works, as follows

class MyLayer(IBrowserRequest):
     """A Layer."""
     
class IMySkin(MyLayer, rotterdam, IDefaultBrowserLayer):
    """Skin for the my website"""

R
Nixon

----- 原始邮件 ----
发件人: Mat Lehmann <[EMAIL PROTECTED]>
收件人: xin ni <[EMAIL PROTECTED]>
抄送: zope3-users@zope.org
已发送: 2008/1/4(周五), 下午7:07:30
主题: Re: [Zope3-Users] How to add additional layers to skin?

xin ni schrieb:
> Hi,  dear all,
>
> I am using zope 3.3.1
> As ZCML <browser:skin> is deprecated, how to add addtional  layers to
 
> an existing skin?
> Thank you!
>
> R Nixon
Hi,

as far as  I know, you have to include the interface of the layer in
 the 
bases of your skin-interface.
This can't be done in ZCML but must be done in python.

Cheers,

Mat

-- 
Dipl. Inf. Matthias Lehmann
Software- und Web-Development
Käthe-Kollwitz-Straße 6
99734 Nordhausen

fon:   +49 3631 470652
mobil: +49 170 5176774
eMail: [EMAIL PROTECTED]
web:   http://www.matlehmann.de







      ___________________________________________________________ 
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 
http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to