Hi all,
First time using a selector (don't laugh!) and I wrote a simple pipeline that changes based on the parameter matched:
<map:pipeline>
<map:match pattern="**/*/*/teamstats.html">
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{2}"/>
<map:when test="menssports">
<map:read mime-type="text/html" src="content/authoring/stats/m-{3}/teamstats.htm"/>
</map:when>
<map:when test="womenssports">
<map:read mime-type="text/html" src="content/authoring/stats/w-{3}/teamstats.htm"/>
</map:when>
</map:select>
</map:match>
</map:pipeline>
When I go to the page: http://www.someplace.com:8080/lenya/athletics/authoring/menssports/ football/teamstats.html
I get the following error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Streaming of an internal pipeline is not possible with a reader.
I have my files in the right place, and I followed the examples in the documentation online and in the Cocoon book. Any thoughts about what I need to check to get this to work?
Jon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
