cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Thierry" <>
Subject Trouble with Views and XSP ...
Date Thu, 13 Jun 2002 15:44:35 GMT
Hi all,

Sorry if this already came but I got trouble using views and XSP generated

I designed an xsp file that generates some raw data that I want to see in
HTML, PDF or XLS format ...

Hence I created the following:

  <map:view name="scribeIt-html" from-label="raw-data">
    <map:transform src="stylesheets/scribe2html.xsl"/>
    <map:transform src="stylesheets/papyrus.xsl"/>

  <map:view name="scribeIt-pdf" from-label="raw-data">
    <map:transform src="stylesheets/scribe2fo.xsl"/>
    <map:serialize type="fo2pdf"/>

  <map:view name="scribeIt-excel" from-label="raw-data">
    <map:transform src="stylesheets/scribe2xls.xsl"/>
    <map:serialize type="xls"/>

<map:match pattern="scribeIt.html">
  <map:generate type="serverpages" src="docs/scribeIt.xsp"
  <map:transform src="stylesheets/scribe2html.xsl"/>
  <map:transform src="stylesheets/papyrus.xsl"/>

and finally I have links defined as scribeIt.html?cocoon-view=scribeIt-pdf

I do not get errors but the view does not access to the full generated file
from the xsp generator!!!

BTW I'm using Tomcat 4.03, JSK1.4 and Cocoon202


To unsubscribe, e-mail:
For additional commands, email:

View raw message