Store the result in the session, by using one or more of the session
transformers.
http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transform
er.html

One pipeline genereates the result, stores it in the session and generates
the HTML.
Another pipeline reads the result from the session and generates the Excel
version.

Askild
-

Anna Bikkina wrote:
> Other than xreporter is there a way I can do this. I do not 
> want to introduce 
> xreporter because I have only one report and I dont want to 
> add complexity to 
> my existing application.
> 
> I have a xsp file that generates output which has to be converted to 
> html(thats working) . I need the same resultset obtained in 
> the xsp file to 
> generate a excel if the user requests. Is there a way I can 
> avoid quering the 
> database again? If no, is there a way I can use the html 
> ouput(built with the 
> result data from database) as input to my excel generation.
> 
> Please reply..
> 
> 
> Thanks,
> Anna.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to