2006 IR Open Dicussion Posted September 5, 2006 Share Posted September 5, 2006 By: Rob Karatzas - tutor set isTitleNewPage="false" from main report? 2006-05-08 11:16 hi folks I need to be able to set isTitleNewPage="true" to "false" in a SUBREPORT when a MAIN report blob is null: new Boolean(($F{FILEIMG}!= null)) anyone ever done such a thing or have a scriptlet example? couldn't find anything like this is the manual, nor on the forum. basically, CAD drawings are display with the drawing and one page and the callouts/parts are displayed on the next. however, our users are complaining about having a few (mostly) blank pages printed for every 100 printed. thanks rob :) By: Rob Karatzas - tutor RE: set isTitleNewPage="false" from main report? 2006-05-09 10:15 I see a jasper reference to it here: http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/design/JasperDesign.html#TITLE_NEW_PAGE_PROPERTY Just wondering if we can via scriplet or how we set this dynamically. rob By: Rob Karatzas - tutor RE: set isTitleNewPage="false" from main report? 2006-05-09 10:31 another reference here: http://www.kickjava.com/src/net/sf/jasperreports/engine/design/JasperDesign.java.htm getPropertyChangeSupport().firePropertyChange(TITLE_NEW_PAGE_PROPERTY, oldValue, this.isTitleNewPage); question is, can this be done via scriplet and will the engine interpret this if set dynamically during runtime. rob By: Rob Karatzas - tutor RE: set isTitleNewPage="false" from main report? 2006-05-16 09:05 finally conclusion: don't think doing any of this DYNAMICALLY is possible (via the interface and certainly you'd have to look at the source being generated and/or ireport). rob PS I'm always open to ideas and/or solutions 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