Bug 142132 [regression] cascading parameter does not work properly
steps to reproduce: - use attached report, which contains a group of cascading parameters - preview report expected behavior: - cascading parameter works properly actual behavior: - it simply didn't - i tried several combination, the 3rd value were always empty
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractGetCascadeParameterActionHandler.java
selectionList.setValue( i, ( String ) list.get( i ) );
		}
		return selectionList;
	}
	protected abstract void handleUpdate( CascadeParameter cascadeParameter );
	private Map getParameterSelectionLists( IViewerReportDesignHandle design,
			Map params, InputOptions options ) throws ReportServiceException
	{
		if ( params == null || params.size( ) == 0 )
			return new HashMap( );
		List[] listArray = null;
		Map ret = new HashMap( );
		List remainingParamNames = new ArrayList( );
		String firstName = ( String ) params.keySet( ).iterator( ).next( );
		Collection paramDefs = getReportService( ).getParameterDefinitions(
				design, options, false );
		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( "Invalid parameter: " + firstName );
		}