Bug 209126 DataException throws out when set highlight condition in sub-report[0302]
Description: Set highlight condition in sub-report, when "select value..." in the highlight dialog, DataException throws out. Build version:2.3.0.v20071108-0800 Steps to reproduce: 1.Get the attached report design file, which contains a sub-report. 2.Select the inner table, and then go to "highlight" tab in the property editor view to set a highlight rule. When click "select value...", DataException throws out. Error: The expression's value can not be retrieved. An error happened in data type conversion. Can not convert the value of org.eclipse.birt.data.engine.script.DataExceptionMocker@79c17b to Integer type.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
expressionValue2.setItems( popupItems );
		expressionValue2.addListener( SWT.Verify, expValueVerifyListener );
		expressionValue2.addListener( SWT.Modify, textModifyListener );
		expressionValue2.addListener( SWT.Selection, popBtnSelectionListener );
		expressionValue2.setVisible( false );
		if ( operator.getItemCount( ) > 0 && operator.getSelectionIndex( ) == -1)
		{
			operator.select( 0 );
		}
		
		condition.getParent( ).layout( true, true );		
		return 1;
	}
	
	private void disposeComposites( )
	{
		if ( compositeList.size( ) > 0 )
		{
			int count = compositeList.size( );
			for ( int i = 0; i < count; i++ )
			{
				Object obj = compositeList.get( i );
				if ( obj != null
						&& obj instanceof Widget
						&& ( !( (Widget) obj ).isDisposed( ) ) )
				{
					( (Widget) obj ).dispose( );
				}
			}
		}