this.configMap .put( paramName, configVar.getValue( ) );
ParameterDefinition parameterObj = (ParameterDefinition) paramIr .next( ); if ( paramName.equals( parameterObj.getName( ) ) ) { ReportParameterConverter converter = new ReportParameterConverter( parameterObj.getPattern( ), ULocale.US );  paramValue = converter.parse( paramValue .toString( ), parameterObj .getDataType( ) );  break; } }  if ( paramName != null && paramName.length( ) > 0 && paramValue != null ) { this.configMap.put( paramName, paramValue );
	protected void parseConfigVars( HttpServletRequest request )	{		// get report config filename		String reportConfigName = this.reportDesignName.replaceFirst(				IBirtConstants.SUFFIX_DESIGN_FILE,				IBirtConstants.SUFFIX_DESIGN_CONFIG );		// Generate the session handle		SessionHandle sessionHandle = DesignEngine.newSession( ULocale				.getDefault( ) );		ReportDesignHandle handle = null;		try		{			this.configMap = new HashMap( );			// Open report config file			handle = sessionHandle.openDesign( reportConfigName );			// initial config map			if ( handle != null )			{				Iterator configVars = handle.configVariablesIterator( );				while ( configVars != null && configVars.hasNext( ) )				{					ConfigVariableHandle configVar = (ConfigVariableHandle) configVars							.next( );					if ( configVar != null && configVar.getName( ) != null )					{						// check the parameter whether exist or not						String paramName = getParameterName( configVar								.getName( ) );						if ( paramName != null && paramName.length( ) > 0 )						{							this.configMap									.put( paramName, configVar.getValue( ) );						}					}				}				handle.close( );			}		}		catch ( Exception e )		{			try			{				if ( handle != null )					handle.close( );			}			catch ( Exception err )			{			}		}	}