Bug 168320 MaxRowsOfRecords of birt:report doesn't work.[0603]
Description: MaxRowsOfRecords of birt:report doesn't work. Build number:2.2.0.v20061216 Steps to reproduce: 1. New a jsp file based on birt template, input content in body as : <birt:report id="1" contextRoot= "wtp_jsp_tags" reportDesign="max_rows.rptdesign" maxRowsOfRecords="3" height="600"> </birt:report> note: report design is attached. 2. Preview the jsp file Expected result: Only display 3 data rows for table, list and chart. Actual result: All data display out. This property works well in birt:viewer tag. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ReportTag.java
|| viewer.isForceIFrame( ) )
		{
			__handleIFrame( viewer.createURI( IBirtConstants.VIEWER_PREVIEW ),
					viewer.getId( ) );
			return;
		}
		
		this.options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST,
				(HttpServletRequest) pageContext.getRequest( ) );
		options.setOption( InputOptions.OPT_LOCALE, this.locale );
		options.setOption( InputOptions.OPT_RTL, Boolean.valueOf( viewer
				.getRtl( ) ) );
		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT, Boolean
				.valueOf( viewer.getAllowMasterPage( ) ) );
		options.setOption( InputOptions.OPT_SVG_FLAG, Boolean.valueOf( viewer
				.getSvg( ) ) );
		options.setOption( InputOptions.OPT_FORMAT, outputFormat );
		options.setOption( InputOptions.OPT_IS_DESIGNER, new Boolean( false ) );
		options.setOption( InputOptions.OPT_SERVLET_PATH,
				IBirtConstants.SERVLET_PATH_PREVIEW );
		
		BirtReportServiceFactory.getReportService( ).setContext(
				pageContext.getServletContext( ), this.options );
		
		reportDesignHandle = getDesignHandle( );
		
		Collection parameterDefList = getReportService( )
				.getParameterDefinitions( this.reportDesignHandle, options,
						false );