PDA

View Full Version : Pentaho Report Desinger publishing problem 2



qinhui99
08-28-2006, 12:51 AM
I tried to publish one report to files with Report Designer 1.1.7. Then I got two files: databaseSample and databaseSample.xaction. But when I viewed the databaseSample.xaction, I found some problems. The component-definition element should like these:
<component-definition>
<source>sql</source>
<live>true</live>
<jndi>SampleData</jndi>
<query><![CDATA[SELECT
"CUSTOMERS"."CUSTOMERNAME" AS CUSTOMERNAME,
"CUSTOMERS"."PHONE" AS PHONE,
"CUSTOMERS"."ADDRESSLINE1" AS ADDRESSLINE
FROM
"CUSTOMERS" CUSTOMERS]]></query>
<xsl>CustomReportParameters.xsl</xsl>
</component-definition>
</action-definition>

But it wasn't. It likes these:
<component-definition>
<source>sql</source>
<output-type>pdf</output-type>
<query><![CDATA[]]></query>
<driver></driver>
<user-id></user-id>
<password></password>
<connection></connection>
</component-definition>

Therefore ,the Publish function is not able to use. Pls check it.