...
- You have full admin access to ParadigmEMS
- You are a competent user of ParadigmEMS
You have already downloaded Jasper iReport v3.0, refer to How to download and install iReport v3.0Installing Jasper iReport
Warning | ||
---|---|---|
| ||
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
+"•" |
Hyperlink
From https://stackoverflow.com/questions/11254009/create-an-external-url-hyperlink-with-jasperreports:
To make a textField a hyperlink to an external URL, you need to add the attribute hyperlinkType="Reference" to the element, and add a <hyperlinkReferenceExpression> tag within it. The reference expression is where you put the URL. For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<textField hyperlinkType="Reference" hyperlinkTarget="Blank">
<reportElement x="5" y="5" width="200" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA["Click Here!"]]></textFieldExpression>
<hyperlinkReferenceExpression><![CDATA["http://www.google.com"]]></hyperlinkReferenceExpression>
</textField> |
The hyperlinkTarget attribute behaves in the same way as the target attribute in HTML. Note that only textFields, images, and charts can be hyperlinked in this way.
Escaping
Escaping double quote
...