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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to