Re: Postponed validation possible?
Re: Postponed validation possible?
- Subject: Re: Postponed validation possible?
- From: Lachlan Deck <email@hidden>
- Date: Thu, 12 Nov 2009 08:51:07 +1100
On 12/11/2009, at 8:49 AM, Anjo Krank wrote:
@Override
public Object valueForKey( String key )
{
This actually works? Yikes!
Yes.
Why not simply push the value to the EO and be done with it? If it's
invalid, the EC can't save and will throw validation errors and it
will be restored on the next revert().
Because then the user loses what they typed which can sometimes be
annoying (e.g., if it's too long a string etc)
with regards,
--
Lachlan Deck
_______________________________________________
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