[Zope-CMF] relative URLs in STX

marc lindahl marc@bowery.com
Mon, 16 Jul 2001 11:22:18 -0400


> From: Arkaitz Bitorika <arkaitz@euskalcom.net>
>
> to create a link to "doc" in the description field of folder2 with:
> "The document":doc.
> This renders to something like <a href="doc">The document</a>.

That's where the problem (IMO) is.  Supposedly STX is supposed to 'shield'
the author from the delivery format -- html, pdf, etc. -- which means they
shouldn't be savvy on the particulars of html.  One of which (emphasized
everywhere else within Zope, in fact) is to return absolute urls for href's,
img's, etc. (to aid caching).  If the page was DTML, this would be the
behavior.  Why don't those references in STX follow normal Zope acquisition
rules?  </rant>