• 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: ERXDisplayGroup.filteredObjects cached?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXDisplayGroup.filteredObjects cached?


  • Subject: Re: ERXDisplayGroup.filteredObjects cached?
  • From: Samuel Pelletier <email@hidden>
  • Date: Tue, 22 Mar 2016 19:13:08 -0400

OC,

Why not using the displayedObjects ?

If you do not want batch, set the batch size to 0.

Samuel


> Le 22 mars 2016 à 15:21, OC <email@hidden> a écrit :
>
> Hello there,
>
> searching for a bottleneck in my code, I have just bumped into that ERXDisplayGroup.filteredObjects filters again and again and again each time it is called, even though nothing changed in the display group. Is that the intended behaviour? I would rather suppose it would cache and re-filter only when needed.
>
> I happen to bind mygroup.filteredObjects to lots of components in my page, which not surprisingly does not work really fast :)
>
> Anyway, is there an existing solution for this (i.e., cached filtered objects of an ERXDisplayGroup), or am I on my own to DImyself? Not that it would be that much difficult; I just hate to implement in my own and clumsy way, with a possibility to flush the cache too late etc., things which are already done right somewhere :)
>
> Thanks,
> OC
>
>
> _______________________________________________
> 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


 _______________________________________________
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: 
 >ERXDisplayGroup.filteredObjects cached? (From: OC <email@hidden>)

  • Prev by Date: ERXDisplayGroup.filteredObjects cached?
  • Next by Date: Re: Quick EOModel Column Locking ?
  • Previous by thread: ERXDisplayGroup.filteredObjects cached?
  • Next by thread: loosing changed data in AjaxExpansion
  • Index(es):
    • Date
    • Thread