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/parser/EngineIRVisitor.java
selectionChoice.setLabel( selection.getLabelKey( ), selection
					.getLabel( ) );
			selectionChoice.setValue( selection.getValue( ), scalarParameter
					.getDataType( ) );
			values.add( selectionChoice );
		}
		scalarParameter.setSelectionList( values );
		scalarParameter.setAllowNewValues( !handle.isMustMatch( ) );
		scalarParameter.setFixedOrder( handle.isFixedOrder( ) );
		if ( scalarParameter.getSelectionList( ) != null
				&& scalarParameter.getSelectionList( ).size( ) > 0 )
			scalarParameter
					.setSelectionListType( IScalarParameterDefn.SELECTION_LIST_STATIC );
		else
			scalarParameter
					.setSelectionListType( IScalarParameterDefn.SELECTION_LIST_NONE );
		scalarParameter.setValueConcealed( handle.isConcealValue( ) );
		currentElement = scalarParameter;
	}
	public void visitLabel( LabelHandle handle )
	{
		
		LabelItemDesign labelItem = new LabelItemDesign( );
		setupReportItem( labelItem, handle );
		
		String text = handle.getText( );
		String textKey = handle.getTextKey( );
		labelItem.setText( textKey, text );
		
		ActionHandle action = handle.getActionHandle( );