Problem with PDF / FO

[email protected]
Newsgroups gmane.comp.java.strutscx.user,gmane.spam.detected
Message-ID <[email protected]>
Hi,

 

I have a Problem with PDF / FO. What are the configurations to transform
an xml in PDF? I use the RetrieveSingleAction to get my PresentationVO and
want to transform this to PDF. But I get an empty page. Why ?

 

This are my variables that I send: ?viewtype=pdf&amp;fop=true like in the
example.

 

That's my struts-config:    

<action path="/restricted/pdf/test_show" 

            type="com.cosinex.action.GetTestAction">

      <forward name="success" path="/StrutsCXServlet"/>

    </action>

 

 

That's my strutscx-config:

            <definition name="test.pdf.show">

                  <put>/WEB-INF/xsl/pdf/test_retrievesingle.xsl</put>

            </definition>

 

 

That's my userconfig.xml:

 

        <font

 
metrics-file="http://localhost:8080/cwp/WEB-INF/font-metrics/times-new-rom
an.xml"

            kerning="yes"

 
embed-file="http://localhost:8080/cwp/WEB-INF/fonts/THEMIX5_.TTF">

            <font-triplet name="Times New Roman" style="normal"
weight="normal"/>

        </font>

 

        <font

 
metrics-file="http://localhost:8080/cwp/WEB-INF/font-metrics/times-new-rom
an-bold.xml"

            kerning="yes"

 
embed-file="http://localhost:8080/cwp/WEB-INF/fonts/pascsb.ttf">

            <font-triplet name="Times New Roman Bold" style="normal"
weight="normal"/>

        </font>

 

What are my faults?

 

Best regards,

Dirk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.