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
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.presentation.aggregation.parameter;
import java.util.Collection;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.context.ScalarParameterBean;
import org.eclipse.birt.report.context.ViewerAttributeBean;
import org.eclipse.birt.report.model.api.ScalarParameterHandle;
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import org.eclipse.birt.report.model.api.util.ParameterValidationUtil;
import org.eclipse.birt.report.service.api.IViewerReportDesignHandle;
import org.eclipse.birt.report.service.api.IViewerReportService;