Menu

#4 ERXBatchingDisplayGroup problem..

open
nobody
None
5
2012-12-07
2005-10-16
Anonymous
No

I have never been able to get the batchingDisplayGroup to work. I
always get an index out of bounds exception. Whats the deal here.
Below is the code in my component to set it up:

protected ERXBatchingDisplayGroup dg;

public tablerecordDG(WOContext context) {
super(context);
EODatabaseDataSource dds = new
EODatabaseDataSource(this.session().defaultEditingContext(),
"Items");
dg = new ERXBatchingDisplayGroup();
dg.setDataSource(dds);
dg.setNumberOfObjectsPerBatch(20);
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.