Re: validateForUpdate
Re: validateForUpdate
- Subject: Re: validateForUpdate
- From: Chuck Hill <email@hidden>
- Date: Tue, 5 Apr 2005 09:26:02 -0700
On Apr 5, 2005, at 4:37 AM, Sébastien Gruhier wrote:
Hi,
I would like to do something when an EO object is updated. I found
validateForUpdate which is exactly what I need but it seems to work
only on attributes not on relationship.
You are not thinking of changing anything on the EO, are you?
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?
wikiPage=EOFCommandments
Is there a way for an object to know if a toOne relationship object
will be updated?
See the CooperatingEditingContext from PracticalWebObjects or ERXEC
from Project Wonder for the best way to do this.
Chuck
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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