Home
Analytics
Change the no.of pages to be displayed in BIRT report
SriSudha
We are using BIRT version 3.2.15. Can you please help me how to change the no.of pages to be displayed. By default it is showing 100pages, 50 rows per page. I want to change the count to 150 pages. I tried in web.xml, but no use. Please reply to this topic ASAP.
Thanks,
SriSudha.
Find more posts tagged with
Comments
mwilliams
You can change the page break interval in the page break section of the property editor for your table.
SriSudha
Hi Williams,
Thanks for your reply. Can you please give the file name where i can change the value, as i am directly working on files here and not using any tool.
arunkumarb
HI,
For Page break option,
GO to Properites-->page break. In page break option you can set intval.
arunkumarb
HI,
In XML source file search for pageBreakInterval, By default 0 will be there, So repalce 0 by your value.
REgards,
Arun.
SriSudha
Hi Arun. I am looking for changing the no.of pages to be displayed. Not for the page break.
arunkumarb
<blockquote class='ipsBlockquote' data-author="'SriSudha'" data-cid="82707" data-time="1315995066" data-date="14 September 2011 - 03:11 AM"><p>
Hi Arun. I am looking for changing the no.of pages to be displayed. Not for the page break.<br /></p></blockquote>
<br />
<br />
could you upload ur rptdesign file with sample database. so that I can see ur problem practically.<br />
REgards,<br />
Arun
mwilliams
If you know the total number of results you have you can make the page break interval such that you have the number of pages you're wanting.
SriSudha
I want the exact page where i can change the no.of pages to be displayed. I found BirtViewerAjaxLibrary_1.js page, where i can do change the no.of pages to be displayed(I changeds it from 100 to 104). But it is not displaying any content for 101 to 104 pages. It is throwing an Exception.
error page number range: 104
See Stack Trace:
org.eclipse.birt.report.engine.api.impl.PageSequenceParse.parsePageSequence(PageSequenceParse.java:82)
org.eclipse.birt.report.engine.api.impl.RenderTask.setPageRange(RenderTask.java:240)
com.actuate.reportapi.engine.birt.ViewReportTask.doTask(Unknown Source)
com.actuate.reportapi.engine.Task.execute(Unknown Source)
com.actuate.reportservice.ReportServiceLocal.renderReport(Unknown Source)
com.actuate.birt.BirtViewerReportService.getPage(Unknown Source)
com.actuate.iv.service.actionhandler.IVGetPageActionHandler.doExecution(Unknown Source)
com.actuate.iv.service.actionhandler.IVGetPageActionHandler.doExecute(Unknown Source)
com.actuate.iv.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
com.actuate.iv.soapengine.processor.IVComponentProcessor.executeAction(Unknown Source)
com.actuate.iv.soapengine.processor.IVDocumentProcessor.handleGetPage(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.actuate.iv.soapengine.processor.IVComponentProcessor.process(Unknown Source)
com.actuate.schemas.ActuateSoapBindingImpl.getIVUpdatedObjects(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
com.actuate.iv.servlet.IVHttpDispatcher.handleRequest(Unknown Source)
com.actuate.iv.servlet.IVServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)
mwilliams
I don't think that changing the number of pages will change the fact that the data will all be displayed how your page break interval defines it. So, if you want all of your data to be displayed in 150 pages, the best option will be to find how many rows are in your dataSet with a computed column and then define your page break interval(in script) for your table to be Math.ceil( NumRows / 150 ).
SriSudha
Thanks Williams, I will check and let you know.
mwilliams
Sounds good. Let me know if you have issues with this.