[Zope] Rendering product

Passin, Tom tpassin@mitretek.org
Thu, 15 May 2003 10:33:43 -0400


[ Kelvin L Brown]

> Why is it that when I create a product using ZClasses that when I call
the product > from a dtml method like <dtml-var clickable_graph>
> that I get :
> <FONT face=3DArial><clickable_graph instance at 0176B930></FONT>

Because you are not __calling__ the object, but only asking to render
the object itself.  (as opposed to invoking it). The object tells you
about itself when it is rendered, but you really want to call it
instead.  You probably want

 <dtml-var "clickable_graph()">

Cheers,

Tom P