Bug 146709 Dates still do not work from main report to sub reports...
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
this.reportDocumentName = ParameterAccessor.getReportDocument( request );
		this.reportDesignName = ParameterAccessor.getReport( request );
		this.format = ParameterAccessor.getFormat( request );
		this.isToc = ParameterAccessor.isToc( request );
		this.maxRows = ParameterAccessor.getMaxRows( request );
		
		ReportEngineService.getInstance( ).setMaxRows( this.maxRows );
		
		processReport( request );
		
		String title = null;
		if ( title == null || title.trim( ).length( ) <= 0 )
		{
			title = BirtResources
					.getString( ResourceConstants.BIRT_VIEWER_TITLE );
		}
		this.reportTitle = ParameterAccessor.htmlEncode( title );
		this.__initParameters( request );
	}
	/*
	 * Prepare the report parameters
	 */
	protected void __initParameters( HttpServletRequest request )
			throws Exception
	{
		this.reportDesignHandle = getDesignHandle( request );
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		options.setOption( InputOptions.OPT_LOCALE, locale );
		options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) );