Re: Force Display Group to refetch, not consistent ??
Re: Force Display Group to refetch, not consistent ??
- Subject: Re: Force Display Group to refetch, not consistent ??
- From: Ricardo Strausz <email@hidden>
- Date: Wed, 24 Aug 2005 10:12:22 -0500
Hola Nathan!
On Aug 23, 2005, at 21:33, email@hidden wrote:
Message: 6
Date: Tue, 23 Aug 2005 20:06:41 -0400
From: Nathan Walker <email@hidden>
Subject: Force Display Group to refetch, not consistent ??
To: WOdev List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
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 ???
Had you try to insert the new eo into the display group (instead of
re-fetching)?
Can you find out when it works, and when it does not?
That would be very helpful!
Remember also that display groups manages 2 qualifiers; are you sure
that you are only qualifying the data source?
Suerte!
Dino
_______________________________________________
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