28 Feb
2005
28 Feb
'05
1:52 a.m.
On Sun, 27 Feb 2005 17:20:16 -0800, noema <mailinglists@shechen.at> wrote:
In my livepage code the url tree seems to be confused
url.root ... returns the current path while
url.root.child('some child') .... throws me an error
When I looked at url.py I noticed that one may call rememberRootURL() on the rootpage to remember the correct root...doing something like this failed though:
req = context.locate(inevow.IRequest) req.rememberRootURL()
How and where would I remember the correct root url?
AFAIK, only url.root (in url.py) and 'guard' uses IRequest.getRootURL (i.e. appRootURL). This is actually a nevow bug. You should see my previous post - 'Nevow URL trouble'. -- Sridhar Ratna - http://srid.bsdnerds.org