[Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?
Evan Simpson
evan@4-am.com
Fri, 19 May 2000 13:36:42 -0400
----- Original Message -----
From: Martin Grönemeyer <martin@comunit.de>
> <dtml-with "REQUEST.resolve_url('http://mydomain/home/index_html')">
> <dtml-var title>
> </dtml-with>
>
> throws
>
> Error Type: ValueError
> Error Value: Different namespace.
REQUEST.resolve_url requires that the URL you pass to it begins with
REQUEST.script, otherwise it will throw this Exception. It treats the URL
very much like one coming from a browser, so all SiteRoots and Access Rules
affect the result.
Cheers,
Evan @ digicool & 4-am