Java Reference
In-Depth Information
from aircraft
where state = $P{state}]]>
</queryString>
<field name="city" class="java.lang.String"/>
<title>
<band height="30">
<textField>
<reportElement x="0" y="0" width="300" height="24"/>
<textElement isStyledText="true"/>
<textFieldExpression>
<![CDATA["<style isBold=\"true\"
pdfFontName=\"Helvetica-Bold\">Aircraft
Registered in " + $P{state} + "</style>"]]>
</textFieldExpression>
</textField>
</band>
</title>
<detail>
<band height="30">
<subreport>
<reportElement x="0" y="0" height="30" width="500"
isPrintWhenDetailOverflows="true"/>
<subreportParameter name="state">
<subreportParameterExpression>
<![CDATA[$P{state}]]>
</subreportParameterExpression>
</subreportParameter>
<subreportParameter name="city">
<subreportParameterExpression>
<![CDATA[$F{city}]]>
</subreportParameterExpression>
</subreportParameter>
<connectionExpression>
<![CDATA[$P{REPORT_CONNECTION}]]>
</connectionExpression>
<subreportExpression class="java.lang.String">
<![CDATA["http://localhost:8080/reports
/reports/AircraftCityReport.jasper"]]>
</subreportExpression>
</subreport>
</band>
</detail>
</jasperReport>
 
Search WWH ::




Custom Search