How about this:

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

or

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

-steve

> 
> Hi,
> 
> a small problem!,
> 
> This works:
> <dtml-with 979226100>
> <dtml-var attribute>
> </dtml-with>
> 
> This doesn't:
> <dtml-call "REQUEST.set('userid', 979226100)">
> <dtml-with "_.getitem('userid')">
> <dtml-var attribute>
> </dtml-with>
> 
> Nor this:
> <dtml-call "REQUEST.set('userid', 979226100)">
> <dtml-with "userid">
> <dtml-var attribute>
> </dtml-with>
> 
> Nor this:
> <dtml-call "REQUEST.set('userid', 979226100)">
> <dtml-with userid>
> <dtml-var attribute>
> </dtml-with>
> 
> What I want to do is have a varible passed to the page which says what
> zclass instance to get the properties of.
> 
> any help appreciated.
> 
> josh on
> 
> 
> ===========================
> write: [EMAIL PROTECTED]
> read: www.futurefarmers.com
> read: www.crd.rca.ac.co.uk/~josh
> interrupt (i love it): (415) 552 2124
> =============================
> 
> 
> _______________________________________________
> 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 )
> 

_______________________________________________
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