quick question
quick question
- Subject: quick question
- From: Michael DeMan <email@hidden>
- Date: Mon, 20 Feb 2006 14:41:26 -0800
Does anybody know if:
validateForSave() calls validateForInsert() if an object is not in the database yet?
I need to do some transaction oriented stuff and want to validate all my object fields so I know its okay, execute a transaction on a 3rd party system, then insert/save my object.
I was thinking that calling validateForSave() before my 3rd party transaction would work, but it seems to be calling validateForInsert() somewhere.
I'm not 100% sure if it is, and if it is, whether that is the correct behavior or whether I have some custom validation code that is causing it to do that.
- mike
|
_______________________________________________
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