cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From km <kmurm...@o2.pl>
Subject Re: Problem with PDF and Cocoon
Date Thu, 15 Feb 2007 10:32:34 GMT
HelloI found (propably) why I have a problem with pictures by pdf. The problem is by fo2pdf.
Can some tell me, if it is normal, that bei fo2pdf my matcher is twice called?In Logs from
httpwatch I found this: 00:00:00.000 0.803 492 3395 GET 200 text/html;charset=UTF-8 http://localhost:8080/performer/product/showPdfInfo;jsessionid=89BFD3AC418F5259F345314E30344E56?prod_id=12281&amp;mp_id=13001&amp;mpsession_id=7C0C2BC77B22014842AC9FEE8E0799E6&amp;pdfContent=103336&amp;cmid=1
 00:00:00.822 0.013 576 3819 GET 200 text/css http://localhost:8080/performer/product/style/popup/popupColorDefault.css
 00:00:00.825 0.002 0 0 GET (Cache) image/gif http://localhost:8080/performer/product/spacer.gif
 00:00:00.957 1.777 655 78107 GET 200 application/pdf http://localhost:8080/performer/product/getPdfContent;jsessionid=89BFD3AC418F5259F345314E30344E56?prod_id=12281&amp;pdfContent=103336&amp;cmid=1&amp;mp_id=13001&amp;mpsession_id=7C0C2BC77B22014842AC9FEE8E0799E6
 00:00:03.139 0.657 473 78107 GET 200 application/pdf http://localhost:8080/performer/product/getPdfContent;jsessionid=89BFD3AC418F5259F345314E30344E56?prod_id=12281&amp;pdfContent=103336&amp;cmid=1&amp;mp_id=13001&amp;mpsession_id=7C0C2BC77B22014842AC9FEE8E0799E6getPdfContent
is my matcher for a webservice that have the content of pdf document.When I change my serilize
from fo2pdf to xml, this is called only once. By fo2pdf - twice.I guess, that that why I call
the pictures twice.Can someone confirm this?km
Hello
Thank you for the answer.
The pictures are in database and they are called as a webservice. when I do a static file
(document.fo) and put this file on generator, no transform, only with  fo2pdf serializer,
then pictures are called twice too.
I use a standard serializer from cocoon 2.1.
kris
Kris
Probably best to post some "test case" code so
others
can try and reproduce your error (esp. if it happens
with static files as well).
&gt;&gt;&gt; km &lt;kmurmylo@o2.pl&gt; 2007/02/04 05:15:19 PM
&gt;&gt;&gt;
Hello
I use Apache and Cocoon 2.1 to create a PDF Document.
I use to do it webservices - one for a content and picture_id, and
the next one to call pictures from database. Everything work almost
perfectly - I have only one problem when I call a picture. Every
picture is twice called, I don't know why, becouse in my
xsl-fo.xsl it is only a one structure to get the picture. It is
undepent from the source - the same problem is when I use the
document from a static file (not from Webservice from database).
Can someone help me? I can not explain why it do so.
Please and thanks
Kris
--
****************************
kmConsulting
Krzysztof Murmylo
Mobil: +49 179 31 53 791
eMail: info@kmconsulting.org
http://www.kmconsulting.org
****************************
---------------------------------------------------------------------
To unsubscrib! e, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
--
This message is subject to the CSIR's copyright, terms and
conditions and e-mail legal notice.
Views expressed herein do not necessarily represent the views of
the CSIR.
CSIR E-mail Legal Notice
CSIR Copyright, Terms and Conditions
For electronic copies of the CSIR Copyright, Terms and Conditions
and the CSIR Legal Notice
send a blank message with "REQUEST LEGAL" in the subject
line to CSIR CallCentre 
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
--
****************************
kmConsulting
Krzysztof Murmylo
Mobil: +49 179 31 53 791
eMail: info@kmconsulting.org
http://www.kmconsulting.org
****************************
-- 
**************************** 
kmConsulting 
Krzysztof Murmylo 
Mobil: +49 179 31 53 791 
eMail: info@kmconsulting.org 
http://www.kmconsulting.org 
****************************
Mime
View raw message