[Zope] Get absolute_url() s

Rik Hoekstra rik.hoekstra@inghist.nl
Wed, 19 Apr 2000 17:15:56 +0200


Chris Withers wrote:
> 
> What I'd like to do is something like:
> 
> <dtml-in objectValues>
>  <dtml-var "_['sequence-item'].absolute_url()"><BR>
> </dtml-in>
> 
> But this seems to try to render each object, rather than just executing absolute_url on it.
> 
> Anyone know why?
> 
> Anyone know how I should be doing this?
> 

what about (not tested, but should work):
<dtml-in objectValues>
   <dtml-var absolute_url>
</dtml-in>

the dtml-in changes the namespace to the sequence-item automatically, so
the absolute_url is that of the current sequence-item.

Rik