<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi, <br><br>Danke dir!<br>I found multiple inheritance works, as follows<br><br>class MyLayer(IBrowserRequest):<br> """A Layer."""<br> <br>class IMySkin(MyLayer, rotterdam, IDefaultBrowserLayer):<br> """Skin for the my website"""<br><br>R<br>Nixon<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- 原始邮件 ----<br>å‘件人: Mat Lehmann <mat@matlehmann.de><br>收件人: xin ni <nxnth@yahoo.com.cn><br>抄é€ï¼š zope3-users@zope.org<br>å·²å‘é€ï¼š 2008/1/4(周五), 下åˆ7:07:30<br>主题: Re: [Zope3-Users] How to add additional layers to skin?<br><br>xin ni schrieb:<br>> Hi,
dear all,<br>><br>> I am using zope 3.3.1<br>> As ZCML <browser:skin> is deprecated, how to add addtional layers to
<br>> an existing skin?<br>> Thank you!<br>><br>> R Nixon<br>Hi,<br><br>as far as I know, you have to include the interface of the layer in
the <br>bases of your skin-interface.<br>This can't be done in ZCML but must be done in python.<br><br>Cheers,<br><br>Mat<br><br>-- <br>Dipl. Inf. Matthias Lehmann<br>Software- und Web-Development<br>Käthe-Kollwitz-Straße 6<br>99734 Nordhausen<br><br>fon: +49 3631 470652<br>mobil: +49 170 5176774<br>eMail: <a ymailto="mailto:info@matlehmann.de" href="mailto:info@matlehmann.de">info@matlehmann.de</a><br>web: <a href="http://www.matlehmann.de" target="_blank">http://www.matlehmann.de</a><br><br></div><br></div></div><br>
<hr size=1><a href="http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline">é›…è™Žé‚®ç®±ä¼ é€’æ–°å¹´ç¥ç¦ï¼Œä¸ªæ€§è´ºå¡é€äº²æœ‹ï¼</a> </body></html>