• 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: Business Logic in validateForSave?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Business Logic in validateForSave?


  • Subject: Re: Business Logic in validateForSave?
  • From: David Holt <email@hidden>
  • Date: Thu, 29 Jan 2009 09:52:27 -0800

Thanks Mike!

d

On 29-Jan-09, at 5:58 AM, Mike Schrag wrote:

a diagram i made several years ago:

<EOF Sequence.pdf>

29, 2009, at 12:16 AM, Kamal D Shah wrote:

Hi all,

I have been using D2W and have been managing quite well without having to write any code. However, I have run into a situation where I need to insert a bunch of objects when another object is being created. I was wondering if I could write this code in the validateForSave of the original object.

For example, if I need to save a few Bar objects when I create a Foo, can I write the code for the creating of the Bar objects in the validateForSave of the Foo class? Well, I know I can. But I was wondering if this was a good way of doing this. Or is there a better way to achieve this without having to write my own component etc.

Thanks
Kamal



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Business Logic in validateForSave? (From: Kamal D Shah <email@hidden>)
 >Re: Business Logic in validateForSave? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: ERRORS with New WeObjects Application/Framework - WOLips 3.4.1 (5661)
  • Next by Date: Re: ERRORS with New WeObjects Application/Framework - WOLips 3.4.1 (5661)
  • Previous by thread: Re: Business Logic in validateForSave?
  • Next by thread: Re: Business Logic in validateForSave?
  • Index(es):
    • Date
    • Thread