Bug 177296 Redundant Values are added to parameter list in preview mode.[0705]
Description: Redundant Values are added to parameter list in preview mode. Build number:2.2.0.v20070312 Steps to reproduce: 1. Open attached report. 2. Preview. 3. Select datetime value and click OK. 4. Click Show Report Parameters button, check values Expected result: Values are unchanged and only one datetime value in list. Actual result: Two same datetime values in list.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtGetCascadeParameterActionHandler.java
selectionList[i] = new SelectItemChoice( item.getValue( ), item
					.getLabel( ) );
		}
		return selectionList;
	}
	private Map getParameterSelectionLists( IViewerReportDesignHandle design,
			Map params, InputOptions options, ViewerAttributeBean attrBean )
			throws ReportServiceException
	{
		if ( params == null || params.size( ) == 0 )
			return new HashMap( );
		List paramList = null;
		Map ret = new HashMap( );
		List remainingParamNames = new ArrayList( );
		String firstName = (String) params.keySet( ).iterator( ).next( );
		
		Collection paramDefs = attrBean.getParameterDefList( );
		ParameterDefinition paramDef = null;
		for ( Iterator it = paramDefs.iterator( ); it.hasNext( ); )
		{
			ParameterDefinition temp = (ParameterDefinition) it.next( );
			if ( temp.getName( ).equals( firstName ) )
			{
				paramDef = temp;
				break;
			}
		}
		if ( paramDef == null )
		{
			throw new ReportServiceException(