jmurray Posted May 9, 2007 Share Posted May 9, 2007 I'm unable to get a PDF hyperlink to open a new browser window even though i set Target="Blank". Code: <image evaluationTime="Now" hyperlinkType="Reference" hyperlinkTarget="Blank" > <reportElement x="69" y="1" width="9" height="9" key="image-2"> <printWhenExpression><![CDATA[new java.lang.Boolean(($F{TickLevel}.intValue()>0) && ($P{RENDERING}.toString().compareTo("PDF"«»)==0))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <graphicElement stretchType="NoStretch"/> <imageExpression class="java.lang.String"><![CDATA["/usr/share/tomcat5/webapps/ROOT/reports/src/DigiToll/PROXY/img/grn_tick_lg.bmp"]]></imageExpression> <hyperlinkReferenceExpression><![CDATA["http://portal.networks.det.nsw.edu.au/pni/jsp/faq.jsp#Other2"]]></hyperlinkReferenceExpression> </image> Haven't found a reference to this type of issue elsewhere in the forum. Any ideas? Link to comment Share on other sites More sharing options...
jmurray Posted May 14, 2007 Author Share Posted May 14, 2007 Posting as a bug as behaviour does not conform to that described in the JasperReports documentation. Link to comment Share on other sites More sharing options...
pwd Posted October 4, 2010 Share Posted October 4, 2010 Does anyone have any information on this? I am in the same situation... When the PDF is opened in a browser, clicking the link navigates to the reference in the same window/tab and not a new one. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now