[Zope] Obtaining URL of Object w/Non-Var Name

Oleg Broytmann phd@phd.russ.ru
Fri, 29 Oct 1999 18:04:54 +0000 (GMT)


On Fri, 29 Oct 1999, Martijn Pieters wrote:
> <LINK REL=stylesheet HREF="<dtml-var "_.getitem('site.css', 
> 0).absolute_url()">" TYPE="text/css">
> 
> This retrieves the object from the namespace without calling it.

   So add a parameter to getitem - getitem(object, 1). This should call the
object.

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd@phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.