PDA

View Full Version : xaction issues questions



cruel_world
10-16-2006, 08:53 PM
I'm a bit confused on the way we are expected to define data sources and queries for .xactions.

Q) I can define the ds and query in the report spec why, In Design Studion .2.0.233 do i have to redefine the ds and query. Isn't this stored with the spec? It looks like it used to be? from the following examples from the samples.......( See Below )

Q) BIRT 2.0 works if I define the report in the SPEC but not Jfree. but if I dont code the /output in the xml, only "Action Successful" is displayed. Why is this?

Q) Is the Idea to code the report with Perameters then use a query in the .xaction to map to the report parameters?

Q) Where can I look for more information? The examples dont seem to be insync with current functionality.

New Spec?
<actions>
<action-definition>
<component-name>JFreeReportComponent</component-name>
<action-type>JFree Report</action-type>
<action-resources>
<report-definition type="resource"/>
</action-resources>
<component-definition>
<output-type>html</output-type>
</component-definition>
</action-definition>
</actions>


Old Spec?
<actions>
<action-definition>
<component-name>JFreeReportComponent</component-name>
<action-type>report</action-type>
<action-inputs>
<output-type type="string"/>
<customernumber type="string"/>
<time_stop type="string"/>
<time_start type="string"/>
</action-inputs>
<component-definition>
<source>sql</source>
<live>true</live>
<jndi>SampleData</jndi>
<query><![CDATA[SELECT CUSTOMERS....]]></query>
</component-definition>
</action-definition>

</actions>