Bug 121352 The data set binding property cannot be retrieved in report preview layout
In report preview page, the datasource/dataset property binding lists cannot be retrieved. The dataset binding can not work correctly in layout preview because it's value cannot get from the binding list. But in the data set edit page, the binding value can be got. You can refer to the attachment.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
String designPath = getFileName( );
		File designFile = new File( designPath );
		if ( !designFile.exists( ) )
			return null;
		if ( designFile.isFile( ) )
			return designFile.getParentFile( );
		return null;
	}
	/**
	 * Finds a custom color by name.
	 * 
	 * @param colorName
	 *            the custom color name
	 * @return the custom defined color that matches, or <code>null</code> if
	 *         the color name was not found in the custom color palette.
	 */
	public CustomColor findColor( String colorName )
	{
		StructureDefn defn = (StructureDefn) MetaDataDictionary.getInstance( )
				.getStructure( CustomColor.CUSTOM_COLOR_STRUCT );
		return (CustomColor) StructureRefUtil.findStructure( this, defn,
				colorName );
	}
	/**
	 * Finds a config variable by name
	 * 
	 * @param variableName
	 *            the configure variable name
	 * @return the config variable that matches, or <code>null</code> if the
	 *         variable name was not found.