cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ROSSEL Olivier <olivier.ros...@airbus.com>
Subject RE: Can cocoon write pdf to a file?
Date Fri, 16 Aug 2002 15:11:16 GMT
I think you can use such a a pipeline:
 
-> SWT
         --> Serializer : PDF
-> sucessOrFailure2mail.xsl
-> Sendmail transformer
 
So the first step makes the PDF and provides a report as XML .
The second step creates a report mail from the XML output of the SWT.
The third step sends the mail (may be with the URL where the PDF can be
found).
 
 

-----Message d'origine-----
De: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
Date: vendredi 16 août 2002 17:05
À: 'cocoon-users@xml.apache.org'
Objet: RE: Can cocoon write pdf to a file?



well, I don't remember who started the thread, not me though :) 

I'll also need some sort of solution with large PDF files. The idea is that
you come and launch report, and given a URL to check it later (when PDF is
ready). The URL would point to a file on the disk, which will be stored for
some time, say one day.

Cashing is for a different situation, which you described. 



> -----Original Message----- 
> From: Geoff Howard [ mailto:ghoward@crosswalk.com
<mailto:ghoward@crosswalk.com> ] 
> Sent: Friday, August 16, 2002 10:54 AM 
> To: 'cocoon-users@xml.apache.org' 
> Subject: RE: Can cocoon write pdf to a file? 
> 
> 
> > -----Message d'origine----- 
> > De: Argyn Kuketayev [ mailto:Argyn.Kuketayev@plateau.com
<mailto:Argyn.Kuketayev@plateau.com> ] 
> > Date: vendredi 16 août 2002 16:40 
> > À: 'cocoon-users@xml.apache.org' 
> > Objet: RE: Can cocoon write pdf to a file? 
> > 
> ... 
> > on the other hand, having the caching configured properly 
> > would probably 
> > solve the problem too. 
> 
> Wait, this last statement makes it sound like you are only interested 
> in keeping the results cached to reduce load.  If that is the case, 
> use cocoon caching - it will automatically keep the result in 
> memory and 
> optionally write it out to disk/database as well.  Caching 
> will not keep 
> a .pdf file anywhere - it remembers ("compiles" in docs is misnomer) 
> the byte-stream for reuse if appropriate.  I would highly 
> reccomend against 
> attempting to introduce your own file-based caching system 
> when a good one 
> is already in place. 
> 
> Hopefully, that's not what you meant by that.  
> 
> Geoff 
> 
> --------------------------------------------------------------------- 
> Please check that your question  has not already been answered in the 
> FAQ before posting.     < http://xml.apache.org/cocoon/faq/index.html
<http://xml.apache.org/cocoon/faq/index.html> > 
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org> 
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org> 
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message