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
if ( model != null )
			return model.getFlattenParameters( );
		else
			return null;
	}
	/**
	 * @return the parameter handle
	 */
	public ParameterHandle findParameter( String paramName )
			throws ReportServiceException
	{
		if ( paramName == null )
			return null;
		IReportRunnable runnable = (IReportRunnable) this.reportDesignHandle
				.getDesignObject( );
		ModuleHandle model = null;
		if ( runnable != null )
			model = runnable.getDesignHandle( ).getModuleHandle( );
		if ( model != null )
			return model.findParameter( paramName );
		else
			return null;
	}
	/**
	 * @return the maxRows
	 */
	public int getMaxRows( )
	{
		return maxRows;
	}