[Zope] RFC - newbie with a zope product

bak (kedai) kedai@kedai.com.my
Thu, 3 May 2001 13:52:44 +0800


On Wednesday 02 May 2001 23:30, Russell Keppner wrote:
> <dtml-var expr="standard_newbie_disclaimer">
>
> Your product has started me in the right direction, but I wonder if you
> could answer a question for me. I created the User Friendly sample (and
> named the object "userFriendly") and the display method (named "show"), and
> everything worked as expected. But if I call userFriendly from another DTML
> method with <dtml-var expr="userFriendly">, it just returns something like
> <KebasData instance at 89e0458>. Is there a way to call KebasData objects
> from DTML methods? I would like to be able to use multiple KebasData
> objects on the same page.
>
> Thanks.
> Russell Keppner
>

thanks for trying out my not soo functional product :)

to get the KebasData object, just do a 
<dtml-var "userfriendly.view()">

i haven't yet found a better way to do this. 

p/s - i've uploaded another version of KebasData that'll check for object 
freshness(trivial check, really).