Bug 147566 Parameter selection page, space is displayed as "#32"
Parameter selection page, space is displayed as "#32" Steps: Data source: sample db Data set: select * from customers 1.Create a cascading parameter, select the data set, p1: row["customernumber"]; p2: row["customername"] 2.Drag the p2 into layout 3.Preview in web viewer Actual Results: 1.Parameter selection page is pop up 2.p1 select 128 3.view p2's value Expected Results: 1.Can be displayed correctly.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ComboBoxParameterFragment.java
parameterBean.setValueInList( false );
		if ( selectionList != null )
		{
			
			ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean
					.findParameter( parameter.getName( ) );
			for ( Iterator iter = selectionList.iterator( ); iter.hasNext( ); )
			{
				ParameterSelectionChoice selectionItem = (ParameterSelectionChoice) iter
						.next( );
				
				String value = ParameterValidationUtil
						.getDisplayValue( selectionItem.getValue( ) );
				String label = selectionItem.getLabel( );
				if ( label == null || label.length( ) <= 0 )
				{
					
					
					label = ParameterValidationUtil.getDisplayValue( null,
							parameterHandle.getPattern( ), selectionItem
									.getValue( ), attrBean.getLocale( ) );
				}
				label = ParameterAccessor.htmlEncode( label );
				if ( label != null )
				{
					parameterBean.getSelectionList( ).add( label );
					parameterBean.getSelectionTable( ).put( label, value );
				}
				if ( value != null && value.equals( parameterBean.getValue( ) ) )
				{