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
scalarParameter.setName( handle.getName( ) );
		
		List properties = handle.getUserProperties( );
		for ( int i = 0; i < properties.size( ); i++ )
		{
			UserPropertyDefn p = ( UserPropertyDefn ) properties.get( i );
			scalarParameter.addUserProperty( p.getName( ), handle
					.getProperty( p.getName( ) ) );
		}
		String align = handle.getAlignment( );
		if ( DesignChoiceConstants.SCALAR_PARAM_ALIGN_CENTER.equals( align ) )
			scalarParameter.setAlignment( IScalarParameterDefn.CENTER );
		else if ( DesignChoiceConstants.SCALAR_PARAM_ALIGN_LEFT.equals( align ) )
			scalarParameter.setAlignment( IScalarParameterDefn.LEFT );
		else if ( DesignChoiceConstants.SCALAR_PARAM_ALIGN_RIGHT.equals( align ) )
			scalarParameter.setAlignment( IScalarParameterDefn.RIGHT );
		else
			scalarParameter.setAlignment( IScalarParameterDefn.AUTO );
		scalarParameter.setAllowBlank( handle.allowBlank( ) );
		scalarParameter.setAllowNull( handle.allowNull( ) );
		String controlType = handle.getControlType( );
		if ( DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX.equals( controlType ) )
			scalarParameter.setControlType( IScalarParameterDefn.CHECK_BOX );
		else if ( DesignChoiceConstants.PARAM_CONTROL_LIST_BOX
				.equals( controlType ) )
			scalarParameter.setControlType( IScalarParameterDefn.LIST_BOX );
		else if ( DesignChoiceConstants.PARAM_CONTROL_RADIO_BUTTON
				.equals( controlType ) )
			scalarParameter.setControlType( IScalarParameterDefn.RADIO_BUTTON );
		else