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
new Operator( "/", Messages.getString( "ExpressionProvider.Operator.Divides" ) ),  
			new Operator( "++ ", Messages.getString( "ExpressionProvider.Operator.Inc" ) ),  
			new Operator( "-- ", Messages.getString( "ExpressionProvider.Operator.Dec" ) ),  
	};
	
	protected static final Operator[] OPERATORS_LOGICAL = new Operator[]{
			new Operator( "&&", Messages.getString( "ExpressionProvider.Operator.And" ) ),  
			new Operator( "||", Messages.getString( "ExpressionProvider.Operator.Or" ) ),  
	};
	
	protected static final Operator[] OPERATORS_ON_BAR = new Operator[]{
			OPERATORS_COMPUTATIONAL[0],
			OPERATORS_COMPUTATIONAL[1],
			OPERATORS_COMPUTATIONAL[2],
			OPERATORS_COMPUTATIONAL[3],
			OPERATOR_SEPARATOR,
			new Operator( "!", Messages.getString( "ExpressionProvider.Operator.Not" ) ),
			new Operator( "=", Messages.getString( "ExpressionProvider.Operator.Equals" ) ),
			OPERATORS_COMPARISON[1],
			OPERATORS_COMPARISON[4],
			OPERATOR_SEPARATOR,
			new Operator( "&", Messages.getString( "ExpressionProvider.Operator.BitAnd" ) ),
			new Operator( "|", Messages.getString( "ExpressionProvider.Operator.BitOr" ) ),
			new Operator( "(", Messages.getString( "ExpressionProvider.Operator.LeftBracket" ) ),
			new Operator( ")", Messages.getString( "ExpressionProvider.Operator.RightBracket" ) ),
	};
	protected static final String DISPLAY_TEXT_ASSIGNMENT = Messages.getString( "ExpressionProvider.Operators.Assignment" ); 	
	protected static final String DISPLAY_TEXT_COMPARISON = Messages.getString( "ExpressionProvider.Operators.Comparison" ); 
	protected static final String DISPLAY_TEXT_COMPUTATIONAL = Messages.getString( "ExpressionProvider.Operators.Computational" ); 
	protected static final String DISPLAY_TEXT_LOGICAL = Messages.getString( "ExpressionProvider.Operators.Logical" );