[Zope] zclass add method -- how to get at properties?

Lee Harr missive@hotmail.com
Fri, 31 Aug 2001 16:47:09 +0000


restrictedTraverse('/Control_Panel/Products/ZClassTest/ZCTest/propertysheets/common/PS').getProperty('toks')
>


Thank you Dieter, that is it exactly.

I have not used this restrictedTraverse before, but I am trying it
in other areas now.

Once I get an object (a DTML Method) how do I make it render
normally?

I do
<dtml-var "restrictedTraverse('/path/to/product/method')">

but the html is all coming out entity encoded.

ie:

&lt;HTML&gt;
etc.

Thanks for your help!





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp