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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
