Hi, a quick hint about writing a Xaction who must render a Prpr Report. If you try to use the xaction writing plugin for Eclipse, the xaction probably wont work. Here is the correct xaction, and you should overwrite the xaction with this in Eclipse (changing the prpt name of course):
<?xml version="1.0" encoding="UTF-8"?>
<action-sequence>
<title>Test report in PDF format</title>
<version>1</version>
<logging-level>TRACE</logging-level>
<documentation>
<author>Emmanuel Guiton</author>
<description>Generates a PDF test report.</description>
<help/>
<result-type/>
<icon/>
</documentation>
<inputs/>
<outputs>
<test_report type="content">
<destinations>
<response>content</response>
</destinations>
</test_report>
</outputs>
<resources>
<report-definition>
<solution-file>
<location>test-report.prpt</location>
<mime-type>application/zip</mime-type>
</solution-file>
</report-definition>
</resources>
<actions>
<action-definition>
<component-name>SimpleReportingComponent</component-name>
<action-type>Test report</action-type>
<action-resources>
<report-definition type="resource"/>
</action-resources>
<action-outputs>
<outputstream type="content" mapping="test_report"/>
</action-outputs>
<component-definition>
<outputType><![CDATA[application/pdf]]></outputType>
<useContentRepository><![CDATA[true]]></useContentRepository>
<paginate><![CDATA[false]]></paginate>
</component-definition>
</action-definition>
</actions>
</action-sequence>
Hope this help.
Mostrando entradas con la etiqueta prpt xaction. Mostrar todas las entradas
Mostrando entradas con la etiqueta prpt xaction. Mostrar todas las entradas
jueves, 17 de febrero de 2011
Suscribirse a:
Entradas (Atom)