Bug 187763 Parameter sorting issue using attached report design[0002]
Parameter sorting issue using attached report design[0002] Build number: 2.2.0.v20070518-1253 Steps to reproduce: 1.open attach report design 2.preview in layout and select "Germany" 3.click "Show Parameter" ,selecg "Germany" again Expected result: parameter list box is displayed properly Actual result: Many "Germany" display text displayed ,see attached screen shot Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/RadioButtonParameterFragment.java
* 
	 * @param parameter
	 *            parameter definition reference.
	 */
	public RadioButtonParameterFragment( ParameterDefinition parameter )
	{
		super( parameter );
	}
	protected void prepareParameterBean( HttpServletRequest request,
			IViewerReportService service, ScalarParameterBean parameterBean,
			Locale locale ) throws ReportServiceException
	{
		ViewerAttributeBean attrBean = (ViewerAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		assert attrBean != null;
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		Collection selectionList = service.getParameterSelectionList( attrBean
				.getReportDesignHandle( request ), options, parameterBean
				.getName( ) );
		ParameterDefinition paramDef = parameterBean.getParameter( );
		if ( selectionList != null )
		{
			for ( Iterator iter = selectionList.iterator( ); iter.hasNext( ); )
			{
				ParameterSelectionChoice selectionItem = (ParameterSelectionChoice) iter
						.next( );
				Object value = selectionItem.getValue( );
				try
				{