cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark S. Kent" <>
Subject Creating CSV and XML files
Date Thu, 01 Nov 2001 23:19:55 GMT
We are using JBoss and beans to manage the other pages in our site but I'm
using Cocoon2 for the reports because they have the ability to take data and
create other formats (namely HTML,PDF,CSV,and XML).  Our reports will be
available in any of the formats and I'd like to use the same query in ESQL
in my XML file for all of them.

So, has anyone "called" Cocoon2 page from a from "outside" of Cocoon that
will run the query, create the file in a user's temporary folder, then
redirect back to the report form selection screen?

I'm able to get the reports for HTML and PDF to simply display in the
browser's bottom frame of our app, but was planning on providing a "link" to
the CSV and XML reports file as they tend to want to be "handled" by the
browser.  I'd rather have a "right-click-Save-As" link than trying to worry
about what a browser will "attempt" to do with the file.


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message