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:[EMAIL PROTECTED]>
    *To:* Cocoon-Users (E-Mail) <mailto:[EMAIL PROTECTED]>
    *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: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > http://www.weidmueller.de
    >
    >

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




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



Reply via email to