Tres Seaver writes:
 > You were very close -- the trick here is that 'objectValues' returns
 > real objects, not IDs.  Try this (untested)::
 > 
 >   <dtml-in "objectValues( [ 'Photo' ] )">
 >    <dtml-let photo=sequence-item> <!-- alias so we can use in expr! -->
 >     <dtml-var "photo( display='thumbnail' )">
 >    </dtml-let>
 >   </dtml-in>
This, probably, will not work, as *ALL* name arguments (as e.g.
in <dtml-let .... xxx=name ...>)
call the object, if it is callable.

You can use "_.getitem('sequence_item')" to get an object itself
and not the result of calling the object.


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