Peter Molnar pisze:
On Ked, JĂșlius 22, 2008 5:45 pm, Grzegorz Kossakowski wrote:
That's interesting.
What about constructing following simple pipe:
<map:generate src="servlet:dojo11:/resource/internal/dojo-helper.xsl"/>
<map:serialize type="xml"/>
In the same sitemap where pipeline using XSLT is placed. Does this
pipeline return the expected xsl
file?
It seems, that it cannot find the file. I didn't change the pipelines
provided by the maven template, and it seemed correct to me (don't be
surprised by the different path, I have moved the file to an xsl/
subdirectory to match the location with the cforms implementation).
I have checked the same in the forms implementation, but in that case the
files are stored along the classes, and are accessed in the jar file.
<snip/>
Caused by: org.apache.cocoon.ResourceNotFoundException: No pipeline
matched request: resource/internal/xsl/dojo-helper.xsl
What about accessing this file directly from a browser?
Point browser to
http://localhost:8888/{mount_path}/resource/internal/dojo-helper.xsl
Where the mount_path is a mount path for dojo11 block (I guess it's simply dojo11). This should
return the xsl file to the browser.
If it's not a case then I guess I'll need to have a look at your sitemap to see why this cannot be
matched.
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]