|
From: <se...@eh...> - 2004-06-01 19:17:47
|
Quoting "jürgen höller [werk3AT]" <jue...@we...>: > Repeated complaints that there were no default editors for = > java.lang.Boolean, java.lang.Integer etc prompted that change. What we = > register by default now are standard instances of CustomBooleanEditor = > and CustomNumberEditor; in the latter case, using = > Integer.parseInt/toString and co rather than a NumberFormat instance. > =20 > Of course, those defaults can still be overridden by the usual = > registerCustomEditor calls, typically with custom instances of = > CustomBooleanEditor and CustomNumberEditor. What makes those editors = > "custom" is that they're configurable, in contrast to most other = > PropertyEditors. We just provide default instances of them now, but = > still allow for registering customized instances. OK, thanks for the update! That will certainly cut down on some code. Though I like having the option of registering my own instances. Another reason I like Spring: great defaults, but easy to customize. Seth ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |