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 userProperties = handle.getUserProperties( );
		if ( userProperties == null || namedExpressions == null )
			return;
		for ( int i = 0; i < userProperties.size( ); i++ )
		{
			UserPropertyDefn userDef = (UserPropertyDefn) userProperties
					.get( i );
			if ( userDef.getTypeCode( ) == IPropertyType.EXPRESSION_TYPE )
			{
				String name = userDef.getName( );
				String exprString = handle.getStringProperty( name );
				if ( exprString != null && !exprString.trim( ).equals( "" ) )
				{
					
					namedExpressions.put( name, exprString );
				}
			}
		}
	}
	/**
	 * setup the master page object from the base master page handle.
	 * 
	 * @param page
	 *            page object
	 * @param handle
	 *            page handle
	 */
	private void setupMasterPage( MasterPageDesign page, MasterPageHandle handle )
	{
		setupStyledElement( page, handle );