<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>&nbsp;&nbsp;&nbsp;&nbsp; """A Layer."""<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>class IMySkin(MyLayer, rotterdam, IDefaultBrowserLayer):<br>&nbsp;&nbsp;&nbsp; """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 &lt;mat@matlehmann.de&gt;<br>收件人: xin ni &lt;nxnth@yahoo.com.cn&gt;<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>&gt; Hi,&nbsp;
 dear all,<br>&gt;<br>&gt; I am using zope 3.3.1<br>&gt; As ZCML &lt;browser:skin&gt; is deprecated, how to add addtional&nbsp; layers to
 <br>&gt; an existing skin?<br>&gt; Thank you!<br>&gt;<br>&gt; R Nixon<br>Hi,<br><br>as far as&nbsp; 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:&nbsp;  +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:&nbsp;  <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>