Permalink
Browse files

fixed bug with parameters in jasper subreports

  • Loading branch information...
jonalv committed Sep 15, 2010
1 parent b9ae7e6 commit 6c371cfac4e42ee1502b2e0976da79593a11b58b
Binary file not shown.
@@ -59,6 +59,9 @@
<band height="300" splitType="Stretch">
<subreport>
<reportElement x="0" y="70" width="555" height="230"/>
<subreportParameter name="SUBREPORT_DIR">
<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
</subreportParameter>
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{diagrams})]]></dataSourceExpression>
<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "small384Plate_subreport1.jasper"]]></subreportExpression>
</subreport>
@@ -87,6 +87,9 @@
</xyLineChart>
<subreport>
<reportElement x="202" y="13" width="75" height="109"/>
<subreportParameter name="SUBREPORT_DIR">
<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="UNIT">
<subreportParameterExpression><![CDATA[$F{unit}]]></subreportParameterExpression>
</subreportParameter>

0 comments on commit 6c371cf

Please sign in to comment.