Re: Owns Destination problem
Re: Owns Destination problem
- Subject: Re: Owns Destination problem
- From: Chuck Hill <email@hidden>
- Date: Tue, 19 Aug 2008 14:12:15 -0700
On Aug 19, 2008, at 1:59 PM, David Avendasora wrote:
Nope. Not missing anything. That is exactly the goal.
I'm testing a work-flow in which the user schedules something to be
made, but then later changes their minds without having saved. You
know users, they can never make their minds up and will do the
darnedest things.
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
On Aug 19, 2008, at 4:55 PM, Florijan Stamenkovic wrote:
So, you create an MS. Then you create an SR and relate it to it.
Then you unrelate the MS from the SR and vice-versa. What do you
want to achieve by this? If it did work, your object graph would be
at exactly the same state as after step 2. Or am I missing something?
F
On Aug 19, 2008, at 15:22, David Avendasora wrote:
3) Create a new ScheduledRouting, assign the new
ManufacturingSchedule to it's manufacturingSchedule() relationship
using: addObjectToBothSidesOfRelationshipWithKey(object,
MANUFACTURING_SCHEDULE_KEY);
4) remove the ScheduledRouting from the ManufacturingSchedule using:
removeObjectFromBothSidesOfRelationshipWithKey(object,
SCHEDULED_ROUTINGS_KEY);
_______________________________________________
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
--
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