• 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: Force Display Group to refetch, not consistent ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force Display Group to refetch, not consistent ??


  • Subject: Re: Force Display Group to refetch, not consistent ??
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Wed, 24 Aug 2005 08:58:03 -0700

I always do:

       mydisplayGroup.fetch();
        mydisplayGroup.updateDisplayedObjects();

and haven't seen any problems. I almost always set fetch on load though.

Reading the docs, one would be inclined to use <qualifyDataSource> rather than <fetch> but I do think you need the <updateDisplayedObjects>.


On Aug 23, 2005, at 7:33 PM, email@hidden wrote:


Date: Tue, 23 Aug 2005 20:06:41 -0400
From: Nathan Walker <email@hidden>
Subject: Force Display Group to refetch, not consistent ??

I am using this to get my display group to refetch and it works
sometimes and other times it doesn't work. Am I doing something wrong?

displayGroup.setMasterObject(myMasterObject);
displayGroup.qualifyDataSource();

I do not have "Fetches on Load" checked on the display group
configuration because I want to control when objects are fetched.
Basically, I have a display group of comments and every time someone
adds a comment, I would like to save the new comment and cause the
comment list to refresh itself immediately to show the newly added
comment on the returned page with all the other comments. And
sometimes this works and other times it doesn't ???


---- Baiss Eric Magnusson <http://www.Track-Your-Finances.com> <http://www.CascadeWebDesign.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
  • Follow-Ups:
    • Re: Force Display Group to refetch, not consistent ??
      • From: Nathan Walker <email@hidden>
  • Prev by Date: Re: Force Display Group to refetch, not consistent ??
  • Next by Date: Re: Force Display Group to refetch, not consistent ??
  • Previous by thread: Re: Force Display Group to refetch, not consistent ??
  • Next by thread: Re: Force Display Group to refetch, not consistent ??
  • Index(es):
    • Date
    • Thread