Title: RE: [Zope] Pointers in zope ??? object1 --> object2 ==> "REQUEST.resolve_url('my_url')"

Thank you David,

I really would have had difficulties finding it myself.

<dtml-with "REQUEST.resolve_url('http://zope-server/path to the object')">
  <dtml-var method_to_call>
  Error in resolve_url: unable to get the object from the url.
  <br>does the url matches the REQUEST.script: <dtml-var "REQUEST.script"> ?

In the resolve url, you have to be carefull that
zope-server is exactly the same as the machine name.
More specifically zope-server has to be the same as REQUEST.script
or it will generate an error.

Thierry Nabeth
Research Fellow
INSEAD CALT (the Centre for Advanced Learning Technologies)

-----Original Message-----
From: R. David Murray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2000 9:22 PM
To: NABETH Thierry
Subject: RE: [Zope] Pointers in zope ??? object1 --> object2

On Tue, 20 Jun 2000, NABETH Thierry wrote:
> Please, let me know if you remember of anything that could help me
> to identify the way to get the object from an url.

Looks like it's 'REQUEST.resolve_url(<path>)'.


Reply via email to