Hey Sonny,
Sorry it didn't end up clear.
{request:requestURI}
and
{requestURI:requestURI}
the first, and differing, part can be any name that is
mapped to the RequestURIModule in cocoon.xconf :
<component-instance logger="core.modules.input" name="requestURI"
class="org.apache.cocoon.components.modules.input.RequestURIModule"/>
or
<component-instance logger="core.modules.input" name="request"
class="org.apache.cocoon.components.modules.input.RequestURIModule"/>
It doesn't matter what name you give it, as long as you use the
same in both sitemap and cocoon.xconf.
The second part, always 'requestURI', is handled internally by
org.apache.cocoon.components.modules.input.RequestURIModule. This
handling currently returns the URI as discussed and does not
change based on the mapped name of the module.
-----Original Message-----
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 2:21 PM
To: [EMAIL PROTECTED]
Subject: request:requestURI vs requestURI:requestURI
Hey guys,
Does anybody know the difference between {request:requestURI} and
{requestURI:requestURI}? I was discussing these things with Tony and Peter
on the list yesterday, but I didn't get this quite clear in my mind.
Do either of these return the full query string as well? I think I need
that.
FYI, the "requestURI" refers is not declared in cocoon.xconf by default
(apparently) and refers to this class:
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/in
put/RequestURIModule.html
Thanks,
Sonny
_________________________________________________________________
Add MSN 8 Internet Software to your existing Internet access and enjoy
patented spam protection and more. Sign up now!
http://join.msn.com/?page=dept/byoa
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]