Bug 164430 [regression]Dynamic parameter without display text display no values[0705]
Description: Dynamic parameter without display text display no values in parameter dialog when preview the report. Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1. New a data source and dataset. 2. New a dynamic report parameter, keep display text none. 3. Preview Expected result: Values from dataset are listed in paramter dialog. Actual result: empty list. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
SelectionChoice choice = (SelectionChoice) iter.next( );
			if ( choice != selectedChoice )
			{
				String value = null;
				if ( COLUMN_VALUE.equals( property ) )
				{
					value = choice.getValue( );
					if ( isEqual( value, newValue ) )
					{
						return true;
					}
				}
				else if ( COLUMN_DISPLAY_TEXT.equals( property ) )
				{
					value = choice.getLabel( );
					if ( value == null )
					{
						value = choice.getValue( );
					}
					if ( value == null )
					{
						value = LABEL_NULL;
					}
					if ( value.equals( newValue ) )
					{
						return true;
					}
				}
			}
		}