I have One folder 'foo' with a dtml method 'xpto' and a subfolder 'bar' with another method 'xpto'. The bar.xpto have to call the foo.xpto (<dtml-var expr="http://localhost/foo/xpto">. How can i do that? Because I always receive the message 'Key doesn't exist'. TIA Nuno -- Crie o seu Email Grátis no Clix em http://registo.clix.pt/
Hi, "nunosalgado@clix.pt" wrote:
I have One folder 'foo' with a dtml method 'xpto' and a subfolder 'bar' with another method 'xpto'.
The bar.xpto have to call the foo.xpto (<dtml-var expr="http://localhost/foo/xpto">. How can i do that? Because I always receive the message 'Key doesn't exist'.
<dtml-with foo> <dtml-var xpto> </dtml-with> ... Holger
nunosalgado@clix.pt writes:
I have One folder 'foo' with a dtml method 'xpto' and a subfolder 'bar' with another method 'xpto'.
The bar.xpto have to call the foo.xpto (<dtml-var expr="http://localhost/foo/xpto">. How can i do that? Because I always receive the message 'Key doesn't exist'.
"restrictedTraverse('/foo/xpto')" For background, see, e.g., <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter
participants (3)
-
Dieter Maurer -
Holger Hoffmann -
nunosalgado@clix.pt