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/utility/ParameterAccessor.java
parameterValues.add( toUTFString( ISOParameterValues[i] ) );
			}
		}
		return parameterValues;
	}
	/**
	 * Preprocess a string.
	 * 
	 * @param string
	 *            the string to process.
	 * @return a string which is not null and without excessive spaces.
	 */
	protected static String preProcess( String string )
	{
		return string == null ? "" : string.trim( ); 
	}
	/**
	 * Convert UTF-8 string into ISO-8895-1
	 * 
	 * @param s
	 *            UTF-8 string
	 * @return
	 */
	protected static String toISOString( String s )
	{
		String ISOString = s;
		if ( s != null )
		{
			try
			{