Skip to content

Commit

Permalink
fixed bug with parameters in jasper subreports
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalv authored and claes committed Sep 15, 2010
1 parent c760957 commit f38b985
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified plugins/net.bioclipse.brunn.ui/reports/small384Plate.jasper
Binary file not shown.
3 changes: 3 additions & 0 deletions plugins/net.bioclipse.brunn.ui/reports/small384Plate.jrxml
Expand Up @@ -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>
Expand Down
Binary file not shown.
Expand Up @@ -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>
Expand Down

0 comments on commit f38b985

Please sign in to comment.