• 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: Nathan Walker <email@hidden>
  • Date: Tue, 23 Aug 2005 21:15:25 -0400

thanks owen, i have been reading through this but my question is one more regarded to the specifics of display groups. I have found specific good information on the fetching data section of that guide, but I don't know how this fits into the display groups as they are different and I'd like to do the same thing they talk about with "refaultObject" on the editing context, but I need to this for the display group ??

Is there just not one simple method to say, "Hey, display group go refetch all fresh data now, and ignore what cached data is available" ?? I don't see anything exactly like this in the api for display groups. Seems this would be pretty simple. Just go get fresh data when I tell you. Why does it have to be so hidden and complicated ?

qualifyDataSource() doesn't seem to cut it. Why, Why, Why ?? This is where WebObjects leaves me hanging a bit and I'm sure others have felt the same..

nathan


On Aug 23, 2005, at 8:17 PM, Owen McKerrow wrote:

You have a "stale data" problem. Have a read of http:// developer.apple.com/documentation/WebObjects/Enterprise_Objects/ index.html for possible solutions.
If you are still unsure as to what is going on, please email the list with any further questions.


Owen

On 24/08/2005, at 10:06 AM, Nathan Walker wrote:


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 ???


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40uow.edu.au


This email sent to email@hidden

Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces





_______________________________________________ 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: 
 >Force Display Group to refetch, not consistent ?? (From: Nathan Walker <email@hidden>)
 >Re: Force Display Group to refetch, not consistent ?? (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
  • Next by Date: Re: EOModeler Problems
  • 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