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
if ( value == null )
		{
			return null;
		}
		value = value.replaceAll( "\"", "\"\"" ); 
		boolean needQuote = false;
		needQuote = ( value.indexOf( ',' ) != -1 )
				|| ( value.indexOf( '"' ) != -1 )
				|| ( value.indexOf( 0x0A ) != -1 )
				|| value.startsWith( " " ) || value.endsWith( " " ); 
		value = needQuote ? "\"" + value + "\"" : value; 
		return value;
	}
	/**
	 * Prepare the report parameters.
	 * 
	 * @param request
	 * @param task
	 * @param configVars
	 * @param locale
	 * @return map of the request parameters
	 */
	public HashMap parseParameters( HttpServletRequest request,
			IGetParameterDefinitionTask task, Map configVars, Locale locale )
	{
		assert task != null;
		HashMap params = new HashMap( );
		Collection parameterList = task.getParameterDefns( false );
		for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); )
		{