Bug 132401 access to value of display text of dynamic parameter
I have parameter "departmentID". This is dynamic parameter that get values from DataSet "departments". The parameter keeps department id value. I need to show on the report name of department beside using departmentId in dataset query of the report. It would be good to have the way to get name of department without creating additional dataset, additional report item such as table and without additional parameter bounding.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
public void runAndRenderReport( HttpServletRequest request,
			IReportRunnable runnable, ByteArrayOutputStream outputStream,
			Locale locale, boolean rtl, Map parameters, boolean masterPage,
			boolean svgFlag, List activeIds, HTMLRenderContext htmlRenderContext )
			throws RemoteException
	{
		runAndRenderReport( request, runnable, outputStream,
				ParameterAccessor.PARAM_FORMAT_HTML, locale, rtl, parameters,
				masterPage, svgFlag, Boolean.TRUE, activeIds, htmlRenderContext );
	}
	private void runAndRenderReport( HttpServletRequest request,
			IReportRunnable runnable, OutputStream outputStream, String format,
			Locale locale, boolean rtl, Map parameters, boolean masterPage,
			boolean svgFlag, Boolean embeddable, List activeIds,
			HTMLRenderContext htmlRenderContext ) throws RemoteException
	{
		assert runnable != null;
		
		HTMLRenderOption option = new HTMLRenderOption( );
		option.setOutputStream( outputStream );
		option.setOutputFormat( format );
		option.setMasterPageContent( masterPage );
		option.setHtmlRtLFlag( rtl );
		option.setActionHandle( new ViewerHTMLActionHandler( locale, rtl,
				masterPage ) );
		
		option.setHtmlTitle( BirtResources
				.getMessage( ResourceConstants.BIRT_VIEWER_TITLE ) );
		if ( embeddable != null )
		{