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
String filePath = getParameter( request, PARAM_REPORT_DOCUMENT );
		filePath = preProcess( filePath );
		if ( "".equals( filePath ) ) 
		{
			filePath = generateDocumentFromReport( request );
			filePath = createDocumentPath( filePath, request );
		}
		else
		{
			filePath = createAbsolutePath( filePath );
		}
		return filePath;
	}
	/**
	 * Create the file path of the the document. The document will be put under
	 * the working folder birt document directory based on different session id.
	 * 
	 * @param filePath
	 *            the document path cretaed from the report design file.
	 * @param request
	 *            Http request, used to get the session Id.
	 * @return
	 * @throws AxisFault
	 */
	protected static String createDocumentPath( String filePath,
			HttpServletRequest request )
	{
		String temp = null;
		String projectName = null;
		String documentName = null;