• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use WODisplayGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to use WODisplayGroup (From: Francesco Romano <email@hidden>)

  • Prev by Date: How to use WODisplayGroup
  • Next by Date: Re: How to use WODisplayGroup
  • Previous by thread: How to use WODisplayGroup
  • Next by thread: Re: How to use WODisplayGroup
  • Index(es):
    • Date
    • Thread