=?gb2312?B?u9i4tKO6IFtab3BlMy1Vc2Vyc10gSG93IHRvIGFkZCBhZGRpdGlvbmFsIGxh?= =?gb2312?B?eWVycyB0byBza2luPw==?=

xin ni nxnth at yahoo.com.cn
Fri Jan 4 21:30:08 EST 2008


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 <mat at matlehmann.de>
收件人: xin ni <nxnth at yahoo.com.cn>
抄送: zope3-users at 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: info at matlehmann.de
web:   http://www.matlehmann.de







      ___________________________________________________________ 
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 
http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20080105/e703e662/attachment.htm


More information about the Zope3-users mailing list