Re: How to use WODisplayGroup
Re: How to use WODisplayGroup
- Subject: Re: How to use WODisplayGroup
- From: Johann Werner <email@hidden>
- Date: Sat, 6 Dec 2008 13:27:31 +0100
Am 06.12.2008 um 11:56 schrieb Francesco Romano:
Hi...
Looking in the API and in various sites I understand that
WODisplayGroup could be a very useful object for managing a table..
I understand how to create it using WOLips or programmatically (I
think the following rows are right..)
EODatabaseDataSource ds = new
EODatabaseDataSource(session().defaultEditingContext(),_table);
displayGroup.setDataSource(ds);
displayGroup.fetch();
But.. I don't understand how to display data managed by my
WODisplayGroup...
Somebody can explain how to do that?
The primary usage of display groups is in repetitions where you would
use displayGroup.displayedObjects()
This gives you an NSArray that reflects the sort orderings and
qualifiers of your display group. Additionally it returns only a
specific batch of objects if you set
displayGroup.setNumberOfObjectsPerBatch(int). Of course there is a
plethora of other features to discover ;-)
jw
Francesco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden