Bug 146709 Dates still do not work from main report to sub reports...
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/ParameterValidationUtil.java
else if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN
				.equalsIgnoreCase( dataType )
				|| value instanceof Boolean )
		{
			if ( ( (Boolean) value ).booleanValue( ) )
			{
				return getMessage( locale,
						BooleanPropertyType.BOOLEAN_TRUE_RESOURCE_KEY );
			}
			return getMessage( locale,
					BooleanPropertyType.BOOLEAN_FALSE_RESOURCE_KEY );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING
				.equalsIgnoreCase( dataType )
				|| value instanceof String )
		{
			StringFormatter formatter = new StringFormatter( locale );
			formatter.applyPattern( format );
			return formatter.format( (String) value );
		}
		else
		{
			StringFormatter formatter = new StringFormatter( locale );
			formatter.applyPattern( format );
			return formatter.format( value.toString( ) );
		}
	}
	/**
	 * Gets the display string for the value with the given data type, format
	 * and the default locale defined by the class(Locale.US). The value must be