thanks Steve and Rick,

Unfortunately  both your solutions brought up this error:

Error Type: SystemError
Error Value: bad argument to internal function

> <dtml-call "REQUEST.set('userid', 979226100)">
> <dtml-with "_[userid]">
> <dtml-var attribute>
> </dtml-with>
> or
> <dtml-with "_.getitem(userid)">

> > This works:
> > <dtml-with 979226100>
> > <dtml-var attribute>
> > </dtml-with>

I want to get some properties for a zclass instance after being passed its
id in a variable. In these tests I have been defining the varible in the
code, in the final case it will be passed through the url.

Using the id directly as above works fine, it writes the attribute to the
page.

Thanks for any help,

Josh On


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to