• 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: Postponed validation possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Postponed validation possible?
      • From: Anjo Krank <email@hidden>
References: 
 >Postponed validation possible? (From: Riccardo De Menna <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: Postponed validation possible?
  • Next by Date: Re: Postponed validation possible?
  • Previous by thread: Re: Postponed validation possible?
  • Next by thread: Re: Postponed validation possible?
  • Index(es):
    • Date
    • Thread