Number formatters, validateValueForKey & dirty editing contexts
Number formatters, validateValueForKey & dirty editing contexts
- Subject: Number formatters, validateValueForKey & dirty editing contexts
- From: Anthony Paras <email@hidden>
- Date: Mon, 01 Dec 2003 18:54:04 -0500
I'm using WO 5.1.
I noticed that when you have a WOTextField bound to a Number and not a
BigDecimal, a numberformatter on that WOTextField will cause the editing
context to get dirty during the RR loop.
The validateValueForKey that happens during the RR loop is supposed to check
if values are the same and not update them if they are not, but it fails in
this case. I am assuming that the formatter creates a BigDecimal, and they
are using equals() instead of insuring that both values are BigDecimals and
using compareTo().
This is very annoying and I think it's a bug. Anyone else have an opinion
on this?
- Tony
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.