miker.carrollwnco.com Posted June 6, 2007 Share Posted June 6, 2007 I'm running into an issue when I place Hyperlink enabled fields into a Frame... they do not work. Without the Frame its fine. Any suggestions? Link to comment Share on other sites More sharing options...
lucianc Posted June 6, 2007 Share Posted June 6, 2007 Could you post more information about this? Something likeJR versionRelevant JRXML fragmentsFormat where this happens (JRViewer/PDF/HTML/etc)[/ul] Regards,Lucian Link to comment Share on other sites More sharing options...
miker.carrollwnco.com Posted June 6, 2007 Author Share Posted June 6, 2007 The jasper jar jasperreports_1.3.0.jar The problem manifests itself in the JasperViewer. I am using conditional alternate row shading, implemented by using the following frame. <frame> <reportElement style="RowShader" stretchType="RelativeToBandHeight" mode="Opaque" x="2" y="-1" width="324" height="15"/> <box padding="0" topBorder="1Point" topBorderColor="#C0C0C0" leftBorder="None" leftBorderColor="#FFFFFF" bottomBorder="1Point" bottomBorderColor="#C0C0C0" rightBorder="None" rightBorderColor="#FFFFFF"/> <textField hyperlinkType="Reference" hyperlinkTarget="Blank"> <reportElement x="4" y="2" width="45" height="12" forecolor="#0000FF"/> <textElement textAlignment="Right"> <font fontName="Courier New" isUnderline="true" pdfFontName="Courier"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{fltNumber}]]></textFieldExpression> <hyperlinkReferenceExpression><![CDATA["FLIGHT:" + $F{fltNumber}]]></hyperlinkReferenceExpression> </textField> Without the Frame this link works fine. It is located in the detail band. Link to comment Share on other sites More sharing options...
lucianc Posted June 6, 2007 Share Posted June 6, 2007 This has been fixed in JR 1.3.0 or 1.3.1 (don't remember exactly). Correction: that's 1.3.1 or 1.3.2. Regards,LucianPost edited by: lucianc, at: 2007/06/06 16:37 Link to comment Share on other sites More sharing options...
miker.carrollwnco.com Posted June 7, 2007 Author Share Posted June 7, 2007 Thank you for your response. I have tried this in both 3.2 and 3.3. It does not seem to be working in either version. I have not tried 3.1. Link to comment Share on other sites More sharing options...
miker.carrollwnco.com Posted June 7, 2007 Author Share Posted June 7, 2007 I have discovered the problem. This project extended made alot of enhancements to JRViewer. Is the source code to JRViewer.java available for 3.3? Link to comment Share on other sites More sharing options...
lucianc Posted June 7, 2007 Share Posted June 7, 2007 The sources are present in the "project" distribution (see the JasperReports download page). Regards,Lucian Link to comment Share on other sites More sharing options...
miker.carrollwnco.com Posted June 7, 2007 Author Share Posted June 7, 2007 Thank you so much for the timely response and information. Regards,Mike Carroll 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