protected String getParamValueAsString( HttpServletRequest request,
protected Object getParamValueAsString( HttpServletRequest request,
	protected String getParamValueAsString( HttpServletRequest request,			ScalarParameterHandle parameter )	{		String paramName = parameter.getName( );		String paramValue = null;		if ( ParameterAccessor.isReportParameterExist( request, paramName ) )		{			// Get value from http request			paramValue = ParameterAccessor.getReportParameter( request,					paramName, null );			return paramValue;		}		Object paramValueObj = null;		if ( this.isDesigner				&& ( IBirtConstants.SERVLET_PATH_RUN.equalsIgnoreCase( request						.getServletPath( ) ) || IBirtConstants.SERVLET_PATH_PARAMETER						.equalsIgnoreCase( request.getServletPath( ) ) )				&& this.configMap != null				&& this.configMap.containsKey( paramName ) )		{			// Get value from config file			paramValueObj = this.configMap.get( paramName );		}		else if ( this.parameterMap != null				&& this.parameterMap.containsKey( paramName ) )		{			// Get value from document			paramValueObj = this.parameterMap.get( paramName );			// Convert to locale string format			paramValueObj = ParameterValidationUtil.getDisplayValue( null,					parameter.getPattern( ), paramValueObj, locale );		}		if ( paramValueObj != null )			paramValue = paramValueObj.toString( );		return paramValue;	}