Re: Owns Destination problem
Re: Owns Destination problem
- Subject: Re: Owns Destination problem
- From: Chuck Hill <email@hidden>
- Date: Tue, 19 Aug 2008 15:18:05 -0700
On Aug 19, 2008, at 3:07 PM, David Avendasora wrote:
On Aug 19, 2008, at 5:12 PM, Chuck Hill wrote:
Is there any chance of using ec.revert() here? Or will that revert
too much? Another work around is to do this in a child EC so if
they change their mind you can just discard the EC and carry on.
Chuck
In reality, they will likely be adding numerous things see how the
rough schedule looks, then they'll decide what they want to make
more of, and what they want to schedule on a different manufacturing
line or day and then remove those things. Reverting would remove
everything, as would discarding the EC. I want them to be able to
pick and choose a few things to remove from dozens that they added.
This was just my initial test case to add something and take it off,
then save.
What I will likely do, since there really isn't anything to be
gained by not saving, is to just save after each item, or the batch
of items, is added. Then go back and allow them to remove. I was
just figuring I'd save myself trips to the DB while they were
working with the schedule. The App and DB server are on the same
machine so network latency really isn't a problem in this situation,
and only a couple people will be using the application at once.
In this case, that is probably the best course.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
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