Bug 122306 TOC on group won't be displayed
Description: TOC on group won't be displayed Steps to reproduce: 1.Add a sample datasource and a data with table "CUSTOMERS" 2.Add a table binding with data set 3.Add a group on the table and set the toc expression to "Group" 4.Preview in HTML Expected result: TOC "Group" will be displayed on the TOC pane Actual result: Nothing in the TOC pane
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
import org.eclipse.birt.report.model.api.SortKeyHandle;
import org.eclipse.birt.report.model.api.TableHandle;
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
/**
 * visit the report design and prepare all report queries and sub-queries to
 * send to data engine
 * 
 * @version $Revision: 1.42 $ $Date: 2005/12/07 02:23:22 $
 */
public class ReportQueryBuilder
{
	protected static Logger logger = Logger.getLogger( ReportQueryBuilder.class
			.getName( ) );
	public ReportQueryBuilder( )
	{
	}
	/**
	 * @param report
	 *            the entry point to the report design
	 * @param context
	 *            the execution context
	 */
	public void build( Report report, ExecutionContext context )
	{
		new QueryBuilderVisitor( ).buildQuery( report, context );
	}
	/**
	 * The visitor class that actually builds the report query
	 */
	protected class QueryBuilderVisitor extends DefaultReportItemVisitorImpl