Bug 144153 [regression] drill through to a report with parameter does not work properly
steps to reproduce: - use the attached report design (new_report_2.rptdesign contains a drill through link) (new_report_3.rptdesign contains a parameter without default value) - preview new_report_2.rptdesign in HTML and PDF - click on Carine expected behavior: - drill through to new_report_3.rptdesign - parameter dialog should be displayed actual behavior: - browser internal error
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
{
		IReportRunnable runnable = (IReportRunnable) this.reportDesignHandle
				.getDesignObject( );
		assert runnable != null;
		ModuleHandle model = runnable.getDesignHandle( ).getModuleHandle( );
		assert model != null;
		return model.getFlattenParameters( );
	}
	/**
	 * @return the parameter handle
	 */
	public ParameterHandle findParameter( String paramName )
			throws ReportServiceException
	{
		if ( paramName == null )
			return null;
		IReportRunnable runnable = (IReportRunnable) this.reportDesignHandle
				.getDesignObject( );
		assert runnable != null;
		ModuleHandle model = runnable.getDesignHandle( ).getModuleHandle( );
		assert model != null;
		return model.findParameter( paramName );
	}
	/**
	 * @return the maxRows
	 */
	public int getMaxRows( )
	{
		return maxRows;
	}