[Zope3-Users] newbie need help, how to write nested zcml directive?

lucifer egteam.lucifer at gmail.com
Thu Dec 3 12:37:32 EST 2009


hi list:

I'm new to the zope :)

I want to write a new zcml driective `middleware` for my app,  like this:

<!-- nested `middleware` directive  -->
<middleware name="m1">
    <middleware name="m2">
        <middleware name="m3">
            <app name="test">
                <param name="a">1</param>
            </app>
            <param name="a1">1</param>
       </middleware>
       <param name="a2">1</param>
   </middleware>
   <param name="b">1</param>
</middleware>

complexDirective can do this? have any examples? thanks.

--
alec


More information about the Zope3-users mailing list