<band height="23">
<textField>
<reportElement style="Style_Group_Name" x="0" y="0" width="1070" height="23">
<printWhenExpression><![CDATA[$F{SHOP_CODE}!=null]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression><![CDATA[$F{SHOP_NAME}]]></textFieldExpression>
</textField>
<textField hyperlinkType="Reference" hyperlinkTarget="Blank">
<reportElement style="Style_Group_Name" x="0" y="0" width="1070" height="23" forecolor="#0000FF">
<printWhenExpression><![CDATA[$F{SHOP_CODE}.startsWith("CNHCM")&&$F{SHOP_CODE}.endsWith("6")]]></printWhenExpression>
</reportElement>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{SHOP_NAME}]]></textFieldExpression>
<hyperlinkReferenceExpression><![CDATA["http://localhost:8080/bcsxkd2/faces/sxkd/EditData.xhtml?param=" + $F{SHOP_CODE} + "," + $P{str_date} + "," + $F{CODE} + "," + $F{NAME} + "," + $P{shop_code}]]></hyperlinkReferenceExpression>
<hyperlinkTooltipExpression><![CDATA["Chỉnh sửa"]]></hyperlinkTooltipExpression>
</textField>
</band>
2nd Textfiled with overwrite 1st textfield style in the code below.
Không có nhận xét nào:
Đăng nhận xét