[Zope-dev] Adding zclasses to subfolders

Brett Carter bacarter@kavi.com
Tue, 14 Mar 2000 11:12:27 -0800 (PST)


> <dtml-with "bar.manage_addProduct['DocumentAppProduct']">
> <dtml-call "ZClassB_add(_.None, _, NoRedir=1)">
> </dtml-with>
> 
> or
> <dtml-with bar>
> <dtml-with "manage_addProduct['DocumentAppProduct']">
> <dtml-call "ZClassB_add(_.None, _, NoRedir=1)">
> </dtml-with>
> </dtml-with>
> 
> Kevin
Actually, I tried this - doesn't the <dtml-with> tag just bring stuff into
your namespace?  So all this does is bring 'foo' in your namespace, and
then add the zclass to where you are calling the above code from.
-Brett