Bug 155929 [regression]Format doesn't work correctly in dynamic parameter
Description: Format doesn't work correctly in dynamic parameter Steps to reproduce: 1. New sample data source and dataset from ORDERS. 2. New a report parameter, integer, list, dynamic, select ORDERNUMBER as value and display column, set format to currency. 3. New a report paramter, datetime, list, dynamic, select ORDERDATE as value and display column , set format as short time. 4. Preview Expected result: Show format effect in popped up parameter dialog. Actual result: I saw "10100###0.00" in first paramter list and "2003/1/16 ...shorttime". The format codes were added to the end of the value.
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 );
				}
				else if ( DesignChoiceConstants.PARAM_VALUE_TYPE_DYNAMIC
						.equals( parameterHandle.getValueType( ) ) )
				{
					
					label = ParameterValidationUtil.getDisplayValue( null,
							parameterHandle.getPattern( ), label, locale );
				}
				if ( label != null )
				{
					parameterBean.getSelectionList( ).add( label );
					parameterBean.getSelectionTable( ).put( label, value );
				}
				if ( value.equals( parameterBean.getValue( ) ) )
				{