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 Image IMAGE_OPERATOR = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_OPERATOR );
	protected static final Image IMAGE_COLUMN = getIconImage( IReportGraphicConstants.ICON_DATA_COLUMN );
	protected static final Image IMAGE_METHOD = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_METHOD );
	protected static final Image IMAGE_STATIC_METHOD = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_STATIC_METHOD );
	protected static final Image IMAGE_MEMBER = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_MEMBER );
	protected static final Image IMAGE_STATIC_MEMBER = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_STATIC_MEMBER );
	public static final String OPERATORS = Messages.getString( "ExpressionProvider.Category.Operators" ); 
	public static final String COLUMN_BINDINGS = Messages.getString( "ExpressionProvider.Category.ColumnBinding" ); 
	
	
	public static final String PARAMETERS = Messages.getString( "ExpressionProvider.Category.Parameters" ); 
	public static final String NATIVE_OBJECTS = Messages.getString( "ExpressionProvider.Category.NativeObjects" );
	public static final String BIRT_OBJECTS = Messages.getString( "ExpressionProvider.Category.BirtObjects" );
	protected static final String ALL = Messages.getString( "ExpressionProvider.Label.All" ); 
	private static final String TOOLTIP_BINDING_PREFIX = Messages.getString( "ExpressionProvider.Tooltip.ColumnBinding" ); 
	protected DesignElementHandle elementHandle;
	private List filterList;
	private boolean includeSelf;
	/**
	 * Create a new expression provider with the current module
	 */
	public ExpressionProvider( )
	{
		this( null );
	}
	/**
	 * Create a new expression provider with the given element
	 * 
	 * @param handle
	 *            the handle of the element