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
int page = getParameterAsInt( request, PARAM_PAGE );
		return page < 1
				? getReportParameter( request, PARAM_BOOKMARK, null )
				: null;
	}
	/**
	 * Get query string with new parameter value.
	 * 
	 * @param request
	 *            http request
	 * @param name
	 *            parameter name
	 * @param value
	 *            default parameter value
	 * @return new query string with new parameter value
	 */
	public static String getEncodedQueryString( HttpServletRequest request,
			String name, String value )
	{
		String queryString = ""; 
		Enumeration e = request.getParameterNames( );
		Set nullParams = getParameterValues( request, PARAM_ISNULL );
		boolean isFirst = true;
		while ( e.hasMoreElements( ) )
		{
			String paramName = (String) e.nextElement( );
			if ( paramName != null
					&& !paramName.equalsIgnoreCase( PARAM_ISNULL ) )
			{
				String paramValue = getParameter( request, paramName, false );