On 16.07.2008, at 10:34, Chuck Hill wrote:

I am guessing this is an attempt to deal with the problem of the input value getting discarded if it failed to format. It is reasonable to want to show the invalid value to the user with a message and allow them to edit it into the correct format. This is just the wrong way to do that.

Hmmm, is there any other way than binding to a string variable in the EO and if it parses set the date / number value from it and if not throw an exception but keep it in the variable? If I attach a formatter to a text field because I NEED to format a string into a number or date object, it is just plain impossible to push that value into the object (ClassCastException). So do I not understand how that was ever intended to work or is it really just a bad idea in the first place?

cug

--
http://www.event-s.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to