You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by z-...@web.de on 2006/08/21 18:58:45 UTC

[Portal] How to integrate PDF producing pipeline?

Hello @all,

sorry for repeating the question, but I still can't get it working.
I have a cocoon application which I added to portal. HTML-links were
transformed to portal events. One of the links calls the pipeline which
produces a PDF file. Everything works fine outside of the portal. If I 
click the link in the portal, an empty page is displayed. I've attached
both logs. Please could someone help me or point me to some docs?!

Best regards,
Wadim

cocoon.log
------------------------------------------
INFO  (2006-08-21) 17:41.48:812 [sitemap] (/cocoon/portal/portal?cocoon-portal-event=6) http-8080-Processor24/ForwardRedirector: Redirecting to 'cocoon:/programmeAsPDF'
INFO  (2006-08-21) 17:41.48:929 [sitemap.serializer.fo2pdf.fop] (/cocoon/portal/portal?cocoon-portal-event=6) http-8080-Processor24/MessageHandler: Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
...
INFO  (2006-08-21) 17:41.52:036 [access] (/cocoon/portal/portal?cocoon-portal-event=6) http-8080-Processor24/CocoonServlet: 'portal/portal' Processed by Apache Cocoon 2.1.10-dev in 3.816 seconds.
-------------------------------------------

portal.log
-------------------------------------------
INFO    (2006-08-21) 17:41.48:230   [portal] (/cocoon/portal/portal) http-8080-Processor24/CachingURICopletAdapter: CopletInstanceEvent org.apache.cocoon.portal.event.impl.CopletJXPathEvent@6f45d7f2 caught by CachingURICopletAdapter
INFO    (2006-08-21) 17:41.48:230   [portal] (/cocoon/portal/portal) http-8080-Processor24/CachingURICopletAdapter: CopletInstanceEvent org.apache.cocoon.portal.event.impl.CopletJXPathEvent@6f45d7f2 caught by CachingURICopletAdapter
INFO    (2006-08-21) 17:41.52:024   [portal] (/cocoon/portal/portal) http-8080-Processor24/AbstractCopletAdapter: Streamed coplet Programme (instance Programme-1) in 3389ms.
-------------------------------------------

--
This message was sent on behalf of z-cool@web.de at openSubscriber.com
http://www.opensubscriber.com/messages/users@cocoon.apache.org/topic.html

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


Re: [Portal] How to integrate PDF producing pipeline?

Posted by Carsten Ziegeler <cz...@apache.org>.
z-cool@web.de schrieb:
> Hello @all,
> 
> sorry for repeating the question, but I still can't get it working.
> I have a cocoon application which I added to portal. HTML-links were
> transformed to portal events. One of the links calls the pipeline which
> produces a PDF file. Everything works fine outside of the portal. If I 
> click the link in the portal, an empty page is displayed. I've attached
> both logs. Please could someone help me or point me to some docs?!
> 
Mark the link for the pdf with "external='true'" and perhaps with a
target, like:
<a href="yourpdfpipeline" target="_blank" external="true">PDF</a>

If you specify a link with external=true, the link is not rewritten by
the portal.


Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

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