Jason C. Leach writes:
 > <dtml-let x=sequence-item>
 > 
 > What is the sintax to refrence that object?
 >      <img src=<dtml-var x.id>
This will give you a NameError (maybe KeyError), as
the variable "x.id" is unknown.

Are you interested in the "id" of "x"?
Then the best thing is:

     <dtml-with x>
       <dtml-var id>
     </dtml-with>


Dieter

_______________________________________________
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