Bug 151381 [Smoke]The parameter didn't display in the web viewer
Description: Preview a parameter in the web viewer, it can't be previewed. Step to reproduce: 1. new a report and a parameter 2. drag it to the layout 3. preview it in the web viewer Actual result: the parameter is not displayed
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
{
			
			int intValue = ( (Number) source ).intValue( );
			if ( intValue == 0 )
				return new Boolean( false );
			return new Boolean( true );
		}
		else if ( source instanceof String )
		{
			if ( ( (String) source ).equalsIgnoreCase( "true" ) )
				return Boolean.TRUE;
			else if ( ( (String) source ).equalsIgnoreCase( "false" ) )
				return Boolean.FALSE;
			else
			{
				try
				{
					if ( Integer.parseInt( (String) source ) == 0 )
						return Boolean.FALSE;
					else
						return Boolean.TRUE;
				}
				catch ( NumberFormatException e )
				{
					throw new BirtException( pluginId,
							ResourceConstants.CONVERT_FAILS,
							new Object[]{
									source.toString( ), "Boolean"
							} );
				}