Hi,
I am having an issue
with subreports showing up on my master report.
I am including the
subreport in this fashion in my masterReport.jrxml file.
<parameter name="SUBREPORT_DIR" isForPrompting="true" class="java.lang.String">
<defaultValueExpression ><![CDATA["C:\\eclipse\\workspace\\jasperReportsApp\\WebRoot\\WEB-INF\\reports\\"]]></defaultValueExpression>
</parameter>
<subreport isUsingCache="true">
<reportElement x="10" y="26" width="330" height="30" key="subreport-1"/>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "testingSub.jasper"]]></subreportExpression>
</subreport>
the
testingSub.jasper just has a static text box in it and nothing else.
I am not able to
view my subreport in ireport and in my application.
Any help would be
appreciated.