kitakura Posted August 27, 2008 Share Posted August 27, 2008 Hi, I would like to show one whole report in a single html page -- ignoring pagination.I created a customized jsp using DefaultJasperViewer.jsp. I think I need to set "IS_IGNORE_PAGINATION" to true in fillReport. But I don't know where this report is being filled. I looked into JasperViewerTag in jasperserver.tld but I have no idea what is going on. Can someone tell me how to set this value?Thank you!Kassie Link to comment Share on other sites More sharing options...
anandharaj Posted August 28, 2008 Share Posted August 28, 2008 Hi,This need to be done in JRXML file:<jasperReport name="REPORT_NAME" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="2600" pageHeight="842" columnWidth="2600" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isFloatColumnFooter="true" isTitleNewPage="false" isSummaryNewPage="false" isIgnorePagination="true"> Link to comment Share on other sites More sharing options...
kitakura Posted August 28, 2008 Author Share Posted August 28, 2008 Thank you! I knew this was something simple like that!Kassie Link to comment Share on other sites More sharing options...
kitakura Posted September 2, 2008 Author Share Posted September 2, 2008 Hi, I was able to turn off the pagination from jrxml but what I really wanted to do is turning off/on from parameter. I read"IS_IGNORE_PAGINATION built-in parameter fordisabling pagination and allow creating flow-baseddocuments instead of page-based documents"Does this work on JasperServer? Link to comment Share on other sites More sharing options...
zerglicious Posted September 2, 2008 Share Posted September 2, 2008 Hey SuperMonkey,You may not want to go to this level of depth but you can pass the IGNORE_PAGINATION flag as a parameter to the filling process. In a recent project I did, we customized the Excel and CSV generation processes because we didn't want those reports to be paginated. You can of course override the export class implementations by updating the appropriate appliationContext files. Attached is a CustomReportExcelReporter class which uses the IGNORE_PAGINATION flag.You could probably pass this flag as one of the input controls but you might have to do a little customization of the EngineServiceImpl to pick it up before report generation. Link to comment Share on other sites More sharing options...
biaggi Posted September 3, 2008 Share Posted September 3, 2008 Another solution is just to use a control input with a boolean and use that value in the value of the flag the xml :D is a good workaround if it works ;) Link to comment Share on other sites More sharing options...
sebi Posted November 13, 2008 Share Posted November 13, 2008 Hi zerglicious, Could you please re-post the attachment. Thanks. Sebi Link to comment Share on other sites More sharing options...
rwmech Posted August 4, 2009 Share Posted August 4, 2009 kitakuraWrote: Hi, I was able to turn off the pagination from jrxml but what I really wanted to do is turning off/on from parameter. I read "IS_IGNORE_PAGINATION built-in parameter for disabling pagination and allow creating flow-based documents instead of page-based documents" Does this work on JasperServer? This thread is a bit old but I wanted to say that if you create a parameter on jasperserver called IS_IGNORE_PAGINATION it will work. iReport however bombs out terribly when you try to add this. I wasnt able to find a way to get this to work in iReport except to use the report level flag in the properties page. 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