AW: Problem with PDF / FO

"Bernhard Woehrlin" <[email protected]>
Newsgroups gmane.comp.java.strutscx.user
Message-ID <[email protected]>
Hi Dirk,

just some thoughts: You do not get any error messages? Does the Acrobat
Reader show up if you point to this link? Could be an error in your XSL-FO,
too.

Good luck,

Berny



-----Ursprungliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im Auftrag von
[email protected]
Gesendet: Mittwoch, 2. Juli 2003 20:17
An: [email protected]
Betreff: [Strutscx-user] Problem with PDF / FO


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



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
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.