[Bese-devel] Re: accessing the url

Marco Baringer mb at bese.it
Tue Feb 28 20:51:58 UTC 2006


"Daniel Patru" <dpatru at gmail.com> writes:

> How can I access the URL of a request within a render method?
> I tried printing it out with:
> (<:p (ucw::query-path (ucw::context.request *context*))),
> but all I get are the paragraph tags.

yaclml tags do not print the results of forms in their bodies:

(<:p (<:as-html (ucw::query-path (ucw::context.request *context*))))
     ^^^^^^^^^^                                                   ^

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the bese-devel mailing list