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: Chuck Hill <email@hidden>
- Date: Wed, 24 Aug 2005 12:41:55 -0700
On Aug 24, 2005, at 12:29 PM, Nathan Walker wrote:
You gotta love Chuck's directness.
:-)
And how exactly do I saveChanges through the display group ?
I assumes this: myDisplayGroup.dataSource().editingContext
().saveChanges();
To be honest: I have never used a display group. That code looks
correct to me.
Chuck
On Aug 24, 2005, at 3:12 PM, Chuck Hill wrote:
On Aug 24, 2005, at 11:42 AM, Nathan Walker wrote:
Thank you for the clarification, that's exactly what I was
curious about. So what's the proper way I should do it? Should I
use the display groups insert methods to add a new object to the
display and when do I save Changes with that to actually write
that new record to the database? And do I saveChanges through the
display group ? And I assume you are suggesting NOT to use
defaultEditingContext().insertObject(myObject); when adding
objects in a display group ?
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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