Just to second this one .. More specifically, I would look at WODisplayGroup, and it's trivially simple to make your own page controls that control it if you find WOBatchNavigationBar to be ugly.  WODisplayGroup is basically designed to solve this exact problem. 

yourDisplayGroup = new WODisplayGroup();
yourDisplayGroup.setNumberOfObjectsPerBatch(25);
yourDisplayGroup.setObjectArray(nsarrayOfObjects);

PreviousLink : WOHyperlink {
action = "">
}

NextLink: WOHyperlink {
action = "">
}

CurrentPageNumber : WOString {
value = yourDisplayGroup.currentBatchIndex;
}

TotalPageCount : WOString {
value = yourDisplayGroup.batchCount;
}

ms

On Jun 29, 2006, at 5:25 PM, David Holt wrote:

Hi Miguel,

3) You could use and/or look at the code for WOBatchNavigationBar. It does require you to bind to a WODisplayGroup, though. I use them before or after the repetition with no problems.


David

-- 
It's like driving a car at night. You never see further than your headlights, but you can make the whole trip that way. 

E. L. Doctorow



On 29 Jun 2006, at 1:59 PM, Miguel Arroz wrote:


  3) How do I solve this mess?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to