[Zope] Convert URL to object

Mike Pelletier mike@digicool.com
Mon, 1 Nov 1999 10:34:11 -0500


    To turn a path into an object, try--

<dtml-var "REQUEST.resolve_url(path)">

    Note that path must be the fully qualified URL of the object.  If you
only have an absolute path (for example, '/Members/MikeP/some_object') use
this:

<dtml-var "REQUEST.resolve_url(SCRIPT_NAME + path)">

Mike.