cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Thierry" <denis.thie...@aic-info.com>
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
data.

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:serialize/>
  </map:view>

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

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


<map:pipiline>
 ...
<map:match pattern="scribeIt.html">
  <map:generate type="serverpages" src="docs/scribeIt.xsp"
label="raw-data"/>
  <map:transform src="stylesheets/scribe2html.xsl"/>
  <map:transform src="stylesheets/papyrus.xsl"/>
  <map:serialize/>
</map:match>
...
</map:pipeline>

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

Denis




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message