• 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: WODisplayGroup & RawRows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup & RawRows


  • Subject: Re: WODisplayGroup & RawRows
  • From: Jean-François Veillette <email@hidden>
  • Date: Wed, 8 Mar 2006 09:30:26 -0500

Hi François,

My app has a user-configurable search page, which displays results in a WODisplayGroup (10 results at a time). Depending on the search, up to 500 complex objects can be fetched, thus the page is rather slow to load, so I'd like to use RawRows to speed things up.

Transforming raw-row to eo is relatively fast, at least for 500 raw-rows.
If it's slow, I would I suspect something like 'batch-faulting' on to-many relationship for those eo, or something like that (something collateral to the fact that these are eo).



Configuring the fetch to use RawRows is a picnic, but how to convert those raw rows 10 at a time, just before they are displayed by the display group ?

In appendToResponse, before calling super(), you could ask the displayedObjects() and work on it.


In other words, i'd like to see the following patern:
- load 500 objects as raw rows
- convert the first 10 objects to EntrepriseObjects using EOEditingContext faultForRawRow()
- when the user moves to the next batch of the display group, convert the 10 next raw rows to EntrepriseObject
... and so on

- jfv

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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: 
 >WODisplayGroup & RawRows (From: François Reboursier <email@hidden>)

  • Prev by Date: Re: java.lang.outofmemory
  • Next by Date: Re: Expanding Import
  • Previous by thread: WODisplayGroup & RawRows
  • Next by thread: Re: WODisplayGroup & RawRows
  • Index(es):
    • Date
    • Thread