Bug 148610 [regression] Java based scripting -> table repeat header does not work properly in web viewer
steps to reproduce: - use attached reports and Java classes - preview in web viewer expected behavior: - table headers will not be repeated actual behavior: - table headers were repeated
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/executor/doc/ReportItemReader.java
if ( groupDesign.isHeaderRepeat( )
						&& groupDesign.getHeader( ) != null )
				{
					addHeaderToFragment( content );
				}
			}
			else if ( genBy instanceof ListItemDesign )
			{
				ListItemDesign listDesign = (ListItemDesign) genBy;
				if ( listDesign.isRepeatHeader( )
						&& listDesign.getHeader( ) != null )
				{
					addHeaderToFragment( content );
				}
			}
		}
		IResultSet prset = parent == null ? null : parent.getResultSet( );
		
		reader.context.setResultSet(prset);
		
		rset = reader.openQuery( prset, content );
		if ( rset == prset )
		{
			rset = null;
		}
		
		reader.initalizeContentVisitor.visit( content, null );
	}
	private void addHeaderToFragment( IContent content )
	{