Bug 122584 Cascading parameter values can't be displayed properly in html viewer.
Description: Cascading parameter values can't be displayed properly in html viewer. Steps to reproduce: 1. Preview attached design file in html viewer. 2. Click on "change parameter" button in html viewer. 3. Select the first parameter value and expect that the second parameter value in the same cascading parameter group could be displayed, but it is not displayed.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
public static Date toDate( Object source ) throws BirtException
	{
		if ( source == null )
			return null;
		else if ( source instanceof Date )
		{
			return new Date( ( (Date) source ).getTime( ) );
		}
		else if ( source instanceof String )
		{
			return toDate( (String) source  );
		}
		else
			throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS, "Date",
					resourceBundle );
	}
	/**
	 * convert String with the specified locale to java.util.Date
	 * 
	 * @param source
	 *            the String to be convert
	 * @param locate
	 * 			  the locate of the string
	 * @return result Date
	 */
	public static Date toDate( String source, Locale locale )
			throws BirtException
	{
		DateFormat dateFormat = null;
		Date resultDate = null;