You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "McDonald, Bruce" <Br...@bankofamerica.com> on 2003/11/13 00:00:30 UTC
session-context from sitemap
Hey all,
Wonder if anyone could short-circuit my searching through the cocoon codebase (yes, I know, its good for me :).
I want to access a http request header variable (placed by siteminder) and use it in a transform stage. So, here my test pipeline:
<!-- welcome page -->
<map:match pattern="roger.html">
<map:generate src="welcome.xml"/>
<map:transform src="welcome.xslt">
<map:parameter name="contextPath" value="{request:contextPath}"/>
<map:parameter name="parameter" value="{session-context:request/method}"/>
</map:transform>
<map:serialize type="xhtml"/>
</map:match>
(look familiar, no?)
Ok - so then I get this:
....
cause
input-modules: ComponentSelector could not find the component for hint [session-context] (key [session-context])
....
Any ideas?
Bruce.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session-context from sitemap
Posted by Tony Collen <co...@umn.edu>.
McDonald, Bruce wrote:
> Hey all,
>
> Wonder if anyone could short-circuit my searching through the cocoon codebase (yes, I know, its good for me :).
>
> I want to access a http request header variable (placed by siteminder) and use it in a transform stage. So, here my test pipeline:
>
> <!-- welcome page -->
> <map:match pattern="roger.html">
> <map:generate src="welcome.xml"/>
> <map:transform src="welcome.xslt">
> <map:parameter name="contextPath" value="{request:contextPath}"/>
> <map:parameter name="parameter" value="{session-context:request/method}"/>
> </map:transform>
>
> <map:serialize type="xhtml"/>
> </map:match>
>
> (look familiar, no?)
>
> Ok - so then I get this:
> ....
> cause
>
> input-modules: ComponentSelector could not find the component for hint [session-context] (key [session-context])
> ....
>
> Any ideas?
http://wiki.cocoondev.org/Wiki.jsp?page=InputModules is the most current
version of the Input Module docs. When 2.1.3 is released there will be
a rudimentary version of this doc available with the distro (which
reminds me, I need to update it).
Chances are that you do not have a module declared as "session-context"
in your cocoon.xconf file. You might want to check it out to see if
it's actually declared there.
This doc should also give you a good idea of what InputModules are
available:
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/package-summary.html
>
> Bruce.
Regards,
Tony
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org