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 -----
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="" logger="sitemap.serializer.fo2pdf" mime-type="application/pdf">
<user-config src=""/>
</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: [EMAIL PROTECTED]
> http://www.weidmueller.de
>
>

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

Reply via email to