[Rest2web-develop] Getting the current page object
Brought to you by:
mjfoord
From: martin f k. <ma...@ma...> - 2006-08-05 18:16:58
|
I am getting closer to my goal. Two remaining questions now are - how can I get the page object (indextree node) of the page currently being rendered? Do I really have to do a recursive search through the tree until thispage is true? - I saw the target value, which is the URL of any page relative to the one currently being rendered. I wonder whether it is possible to get the URL of the currently rendered page relative to the root as well? So page_url:target:base_url triplets would be (for foo/index.txt) /index.html:../index.html /bar.html:../bar.html /foo/index.html:index.html /foo/bar.html:bar.html Thanks, --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 linux: because a pc is a terrible thing to waste |