Bug 153389 Can't page breaker by Data sets count
I want to create a report that implements a table which embeded in a Grid can break page by following js code in onCreate event handlers of table detail rowNum = Number(this.getRowData().getExpressionValue('row["0"]'))+1; if(rowNum %2 ==0){ this.getStyle().pageBreakAfter="always"; }else{ this.getStyle().pageBreakAfter=null; } The example like new_report060810.rptdesign in pagebreak.rar and the Error image 1.jpg also in pagebreak.rar The import thing I want to say is the table must be embeded in a Grid.How can i do? thanks
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ExpressionProvider.java
{
	
	protected static final Operator[] OPERATORS_ASSIGNMENT = new Operator[]{
			new Operator( "=", Messages.getString( "ExpressionProvider.Operator.Assign" ) ), 
			new Operator( "+=", Messages.getString( "ExpressionProvider.Operator.AddTo" ) ), 
			new Operator( "-=", Messages.getString( "ExpressionProvider.Operator.SubFrom" ) ), 
			new Operator( "*=", Messages.getString( "ExpressionProvider.Operator.MultTo" ) ), 
			new Operator( "/=", Messages.getString( "ExpressionProvider.Operator.DividingFrom" ) ), 
	};
	
	protected static Operator[] OPERATORS_COMPARISON = new Operator[]{
			new Operator( "==", Messages.getString( "ExpressionProvider.Operator.Equals" ) ), 
			new Operator( "<", Messages.getString( "ExpressionProvider.Operator.Less" ) ), 
			new Operator( "<=", Messages.getString( "ExpressionProvider.Operator.LessEqual" ) ),  
			new Operator( "!=", Messages.getString( "ExpressionProvider.Operator.NotEqual" ) ),  
			new Operator( ">", Messages.getString( "ExpressionProvider.Operator.Greater" ) ), 
			new Operator( ">=", Messages.getString( "ExpressionProvider.Operator.GreaterEquals" ) ), 
	};
	
	protected static final Operator[] OPERATORS_COMPUTATIONAL = new Operator[]{
			new Operator( "+", Messages.getString( "ExpressionProvider.Operator.Add" ) ), 
			new Operator( "-", Messages.getString( "ExpressionProvider.Operator.Sub" ) ), 
			new Operator( "*", Messages.getString( "ExpressionProvider.Operator.Mult" ) ),