nglorieux Posted January 30, 2010 Share Posted January 30, 2010 the code seems like it's there,what do I need to do to enable the xhtml exporter on the jasperserver? Thanks guys, Link to comment Share on other sites More sharing options...
baggypants Posted February 1, 2010 Share Posted February 1, 2010 Nothing useful yet http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=70024 Link to comment Share on other sites More sharing options...
nglorieux Posted February 17, 2010 Author Share Posted February 17, 2010 I found a way to enable xhtml for my reports:I downloaded the source code of CE, modified the JasperViewerTag class to use JRXhtmlExporter instead of JRHtmlExporter. Compiled with maven.deployed the new jasperserver-war-jar-3.7.0.jar in the WEB-INF/libModified the type of the exporter bean in DefaultJasperViewer.jsp to be JRXhtmlExporter.and I now have xhtml for my reports, not trivial to figure out, not sure this is the best way, but it is at the end an easy way. Link to comment Share on other sites More sharing options...
baggypants Posted February 18, 2010 Share Posted February 18, 2010 Brilliant. could you upload the recompiled .jar as a dropin patch for us mere mortals? or does it need to be compiled depending on an install? Link to comment Share on other sites More sharing options...
nglorieux Posted February 25, 2010 Author Share Posted February 25, 2010 here is the recompiled jarmake sure you use 3.7.0 as jasperserver and don't forget to change the type of the bean in WEB-INF/jsp/DefaultJasperViewer.jsp<jsp:useBean id="exporter" type="JRXhtmlExporter" scope="request"/> let me know if it works out for you Link to comment Share on other sites More sharing options...
baggypants Posted February 26, 2010 Share Posted February 26, 2010 Thats seven shades of awesome. Thanks! Link to comment Share on other sites More sharing options...
swood Posted March 1, 2010 Share Posted March 1, 2010 I have packaged these changes as a patch at http://jasperforge.org/scm/viewvc.php/JasperServer-3.7.0/Default-XHTML-Exporter.zip?root=jasperserverpatches&view=logNeed to login to the Forge to see and download this. To install, unzip this file into the JasperServer WAR. ShermanJaspersoft Link to comment Share on other sites More sharing options...
kingsmack Posted June 29, 2010 Share Posted June 29, 2010 We've tried this on our jasperserver-pro with the following error when accessing a report:org.springframework.beans.NotWritablePropertyException: Invalid property 'requestParameterAnchor' of bean class [com.jaspersoft.jasperserver.war.action.ViewReportAction]: Bean property 'requestParameterAnchor' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?Is there a jasperserver-pro build available? Link to comment Share on other sites More sharing options...
dhaselmeier Posted October 14, 2010 Share Posted October 14, 2010 We also would need this for jasperserver-pro... is this available somwhere? Thanks in advance!Post Edited by dhaselmeier at 10/14/2010 10:41 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