Bug 153377 dynamic type cannot get from IScalarParameterDefn.getSelectionListType
Description: dynamic type cannot get from IScalarParameterDefn.getSelectionListType Steps to reproduce: 1. Get a dynamic parameter's selection list type through IScalarParameterDefn.getSelectionListType() method Expected result: Return 1 Actual result: Return 0 The other issue: IScalarParameterDefn.getSelectionList() method cannot retrieve dynamic parameter value list out.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
List properties = handle.getUserProperties( );
		for ( int i = 0; i < properties.size( ); i++ )
		{
			UserPropertyDefn p = (UserPropertyDefn) properties.get( i );
			paramGroup.addUserProperty( p.getName( ), handle.getProperty( p
					.getName( ) ) );
		}
		int size = parameters.getCount( );
		for ( int n = 0; n < size; n++ )
		{
			apply( parameters.get( n ) );
			if ( currentElement != null )
			{
				paramGroup.addParameter( (IParameterDefnBase) currentElement );
			}
		}
		currentElement = paramGroup;
	}
	public void visitScalarParameter( ScalarParameterHandle handle )
	{
		assert ( handle.getName( ) != null );
		
		ScalarParameterDefn scalarParameter = new ScalarParameterDefn( );
		scalarParameter.setHandle( handle );
		scalarParameter.setParameterType( IParameterDefnBase.SCALAR_PARAMETER );
		scalarParameter.setName( handle.getName( ) );
		
		List properties = handle.getUserProperties( );
		for ( int i = 0; i < properties.size( ); i++ )