Jump to content

Unable to add a pdf hyper link and even href link also not working in jasper version 4.5


Recommended Posts

<textField hyperlinkType="Reference"
           hyperlinkTarget="_blank">
                <reportElement x="5" y="5" width="200" height="15"/>
                <textElement markup="html"/>
                <textFieldExpression class="java.lang.String"><![CDATA["Click Here!"]]></textFieldExpression>
                <hyperlinkReferenceExpression><![CDATA["http://www.google.com"]]></hyperlinkReferenceExpression>
            </textField>

             <textField>
                <reportElement x="64" y="63" width="80" height="31"/>
                <textElement markup="html"/>
                <textFieldExpression><![CDATA[" Visit <font color='blue'><u><a target=\"_blank\"  href=\"http://www.google.com\">google</a></u></font> ]]></textFieldExpression>
            </textField>

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...