Bug 167527 Label text does not display correctly [0302]
Description: Label text does not display correctly. Build number: 2.2.0.v20061211-0630 Steps to reproduce: 1. Insert a label item. 2. Define highlight rule for it, choose font color red. 3. Input this.text=this.getHighlightRules()[0].color in onPrepare method of label item. 4. Preview Expected result: The label should display "red". Actual result: The label display "16711680". Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/ReportItem.java
* 
	 * @param binding
	 * @throws ScriptException
	 */
	public void addDataBinding( IDataBinding binding ) throws ScriptException
	{
		if ( binding == null )
			return;
		PropertyHandle propHandle = handle
				.getPropertyHandle( IReportItemModel.BOUND_DATA_COLUMNS_PROP );
		try
		{
			propHandle.addItem( binding.getStructure( ) );
		}
		catch ( SemanticException e )
		{
			throw new ScriptException( e.getLocalizedMessage( ) );
		}
	}
	/**
	 * Gets all hide rules.
	 */
	public IHideRule[] getHideRules( )
	{
		PropertyHandle propHandle = handle
				.getPropertyHandle( IReportItemModel.VISIBILITY_PROP );
		Iterator iterator = propHandle.iterator( );
		List rList = new ArrayList( );
		int count = 0;
		while ( iterator.hasNext( ) )