• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Owns Destination problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Owns Destination problem
      • From: David Avendasora <email@hidden>
References: 
 >Owns Destination problem (From: David Avendasora <email@hidden>)
 >Re: Owns Destination problem (From: Chuck Hill <email@hidden>)
 >Re: Owns Destination problem (From: David Avendasora <email@hidden>)
 >Re: Owns Destination problem (From: Florijan Stamenkovic <email@hidden>)
 >Re: Owns Destination problem (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Owns Destination problem
  • Next by Date: Re: eclipse crashing
  • Previous by thread: Re: Owns Destination problem
  • Next by thread: Re: Owns Destination problem
  • Index(es):
    • Date
    • Thread