Bug 182933 Pattern in birt:paramDef tag doesn't work.[0603]
Description: Pattern in birt:paramDef tag doesn't work. Build number:2.2.0.v200704180630 Steps to reproduce: 1. New a report with a parameter p_flo, float type. 2. New a jsp file with content: <birt:parameterPage id="0" name="customparameterpage" reportDesign="report/customJspTagParamDefPattern.rptdesign" isCustom="true"> <birt:paramDef id="4" name="p_flo" pattern="$#,00.00" value ="$2,31,45.789456"/> <input type="submit" name="OK" value="submit"/> </birt:parameterPage> 3. run the jsp file. Expected result: Accept the value with the pattern Actual result: The value "$2,31,45.789456" is invalid with the type "float". Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/DataUtil.java
value, locale );
			}
			catch ( Exception e )
			{
				
				obj = ParameterValidationUtil.validate( dataType, defFormat,
						value );
			}
		}
		else
		{
			
			obj = ParameterValidationUtil.validate( dataType, defFormat, value );
		}
		return obj;
	}
	/**
	 * Gets the display string for the value with default locale and default
	 * format, The value must be the valid data type. That is:
	 * 
	 * <ul>
	 * <li>if data type is <code>PARAM_TYPE_DATETIME</code>, then the value
	 * must be <code>java.util.Date<code>.</li>
	 * <li>if the data type is <code>PARAM_TYPE_FLOAT</code>, then the value must
	 * be <code>java.lang.Double</code>.</li>
	 * <li>if the data type is <code>PARAM_TYPE_DECIMAL</code>, then the value must
	 * be <code>java.math.BigDecimal</code>.</li>
	 * <li>if the data type is <code>PARAM_TYPE_BOOLEAN</code>, then the value must
	 * be <code>java.lang.Boolean</code>.</li>
	 * <li>if the data type is <code>PARAM_TYPE_STRING</code>, then the value must