Bug 161385 Redundant display text occour when preview a parameter
Redundant display text occour when preview a parameter Steps to reproduce: 1.new a boolean parameter 2.set "combo box" display type and "list of value" to static 3.new a parameter and display text "false" ,value "0" 4.drag the parameter to the layout 5.preview Expected result: there's only "false" displayed in parameter dialogue Actual result: there are "false" and "0"
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ComboBoxParameterFragment.java
ParameterSelectionChoice selectionItem = (ParameterSelectionChoice) iter
						.next( );
				
				String value = DataUtil.getDisplayValue( selectionItem
						.getValue( ) );
				if ( value == null )
					continue;
				String label = selectionItem.getLabel( );
				if ( label == null || label.length( ) <= 0 )
				{
					
					
					label = ParameterValidationUtil.getDisplayValue( null,
							parameterHandle.getPattern( ), selectionItem
									.getValue( ), locale );
				}
				if ( label != null )
				{
					parameterBean.getSelectionList( ).add( label );
					parameterBean.getSelectionTable( ).put( label, value );
				}
				
				
				if ( value.equals( parameterBean.getValue( ) ) )
				{
					parameterBean.setValueInList( true );
				}
				
				if ( value.equals( parameterBean.getDefaultValue( ) ) )
				{