[Zope] <dtml-with> Question

Michel Pelletier michel@digicool.com
Mon, 11 Oct 1999 10:38:24 -0400


Sascha Matzke wrote:

> 
> My first simple thought was to store the path of the Article and then
> reference it by <dtml-with> (which doesn't work as I expected).

Ok, probably something better would be to store /an/absolute/path to the
other object and use :

<dtml-with "REQUEST.resolve_url(SCRIPT_NAME + '/an/absolute/path')">
  blah.
</dtml-with>

Although I think someone developed a 'symlink' like product at one
time.... ugh I can't keep all of Zope in my head! ;)

-Michel