cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scherler <thorsten.scher...@wyona.org>
Subject Re: Strange behaviour with <user-config>
Date Thu, 20 Mar 2003 08:47:12 GMT
Hi, that haven't  worked for me neither!

<user-config>fop/config.xml</user-config>

is the way it worked for me!

Perry Molendijk wrote:
Hi Thorston,

>  
> I had the same problem untill I did this:
>  
>
> <map:serializer mime-type="application/pdf" name="fo2pdf" 
> src="org.apache.cocoon.serialization.FOPSerializer">
>
> <user-config src="f:/apache/fop-fonts/userconfig.xml"/>
>
> </map:serializer>
>
> i.e. put in an absolute path.
>
>  
>
> Perry
>
>     ----- Original Message -----
>     *From:* Scherler, Thorsten <mailto:Thorsten.Scherler@weidmueller.de>
>     *To:* Cocoon-Users (E-Mail) <mailto:cocoon-users@xml.apache.org>
>     *Sent:* Wednesday, March 19, 2003 11:46 PM
>     *Subject:* Strange behaviour with <user-config>
>
>     Hello group,
>
>     I have written a small app which is working fine.
>     ...but as soon as I want my own fonts for fop it is not working
>     (the pdf).
>
>     e.g.
>     <map:serializer name="fo2pdf"
>     src="org.apache.cocoon.serialization.FOPSerializer"
>     logger="sitemap.serializer.fo2pdf" mime-type="application/pdf">
>     <user-config src="global/fonts/ci/config.xml"/>
>     </map:serializer>
>
>     if I have the code like that the I receive:
>     message UnnamedSelector: ComponentSelector could not find the
>     component for hint [fo2pdf]
>     description
>     org.apache.avalon.framework.component.ComponentException:
>     UnnamedSelector: ComponentSelector could not find the component
>     for hint [fo2pdf]
>
>     ...but as soon i put the the <user-config/> in comments (<!---->)
>     it is working allright.
>
>     The config.xml is in PATH_to_my_app/global/fonts/ci/config.xml.
>
>     Anybody had the problem before?
>
>     King regards!
>
>     > Mit freundlichem Gruss,
>     >
>     > Thorsten Scherler
>     > Marketing / Telefonmarketing
>     >
>     > Weidmüller GmbH & Co.
>     > P.O. Box 2807
>     > 33058 Paderborn
>     > Tel.:+ 49 - 5252-960-350
>     > Fax:+ 49 - 5252-960-116
>     > eMail: thorsten.scherler@weidmueller.de
>     <mailto:thorsten.scherler@weidmueller.de>
>     > http://www.weidmueller.de
>     >
>     >
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>     <mailto:cocoon-users-unsubscribe@xml.apache.org>
>     For additional commands, e-mail: cocoon-users-help@xml.apache.org
>     <mailto:cocoon-users-help@xml.apache.org>
>



---------------------------------------------------------------------
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