Bug 201363 The select value of Joint dataset's filter doesn't work[0706]
Description: The select value of Joint dataset's filter doesn't work[0706] Build number: 2.2.1.v20070828-0630 Steps to reproduce: 1, New a joint dataset 2, Specify the filter of dataset 3, Select value in the filter condition's Value1 Expected result: User can select the value from the value list Actual result: Exception occurs Error log: The expression's value can not be retrieved. Data set is not defined: Customer
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/SelectValueFetcher.java
if ( iter != null )
				{
					while ( iter.next( ) )
					{
						Object candiateValue = iter.getValue( BINDING_ROW_NAME );
						if ( candiateValue != null )
						{
							selectValueList.add( candiateValue );
						}
						iter.skipToEnd( 1 );
					}
				}
				results.close( );
			}
		}
		return selectValueList;
	}
	/**
	 * 
	 * @param selectValueExpression
	 * @param dataSetHandle
	 * @return
	 * @throws BirtException
	 */
	public static List getSelectValueList( String expression,
			DataSetHandle dataSetHandle ) throws BirtException
	{
		return getSelectValueList( expression, dataSetHandle, true );
	}
}