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
return imageName != null && imageName.length( ) > 0;
	}
	/**
	 * Check whether the request is to get reportlet.
	 * 
	 * @param request
	 *            http request
	 * @return is get reportlet or not
	 */
	public static boolean isGetReportlet( HttpServletRequest request )
	{
		return isBookmarkReportlet( request ) || isIidReportlet( request );
	}
	/**
	 * if the PARAM_ISREPORTLET is trure and the PARAM_BOOKMARK is not null,
	 * this method will return true. Otherwise, return false.
	 * 
	 * @param request
	 * @return true for render the reportlet based on bookmark, else, false.
	 */
	public static boolean isBookmarkReportlet( HttpServletRequest request )
	{
		if ( "true"
				.equalsIgnoreCase( getParameter( request, PARAM_ISREPORTLET ) ) )
		{
			String bookmark = getParameter( request, PARAM_BOOKMARK );
			return bookmark != null && bookmark.length( ) > 0;
		}
		return false;
	}