Re: WO's need to "save changes"
Re: WO's need to "save changes"
- Subject: Re: WO's need to "save changes"
- From: steve stout <email@hidden>
- Date: Mon, 2 Aug 2004 16:55:53 -0700
Saving changes on an editing context is something that you usually do
as a developer in some place that makes sense for your application.
Using the common shopping cart example, you would probably have one
editing context (the session defaultEditingContext) that has all the
EOs for a particular user's shopping cart. The user could browse
around the site and add items to their cart (by adding objects to an
Order's toLineItem relationship). Then they would go through the
checkout process and probably add info about payment (with a toPayment
relationship) and all that other stuff. Then when the user is all done
and ready to submit their order you would call saveChanges on the
editing context that has all those EOs and they would all get saved at
the same time.
So you as the developer have to decide when you want the changes to be
saved and just call it in your code.
.steve
On Aug 2, 2004, at 4:30 PM, William Norris wrote:
After walking through Apple's sample "Author" application, I was a
little confused by the need to "save changes" to the editingContext.
While I understand how and why it works, and see the potential use of
this, I'm concerned it will confuse users. Web users are used to
clicking a "submit" button, and having their changes saved without any
other action necessary... that's the way most all websites work.
Granted they understand that they need to "save changes" if working in
MS Word or something, but they don't really think about it when it
comes to the web.
I'm curious to know how other developers have handled this... do you
just retrain users on how to use your WO Application, or do you just
not make use of this feature and have the ec save changes with every
form submission?
thanks,
will
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.