|
From: <jue...@we...> - 2004-05-29 23:07:33
|
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. =20 All things considered, that change should be completely = backward-compatible. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Seth Ladd Gesendet: Fr 28.05.2004 19:54 An: spr...@li... Betreff: Re: [Springframework-developer] Preparing for 1.0.2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 j=FCrgen h=F6ller [werk3AT] wrote: | I plan to release 1.0.2 tomorrow morning - finally... | | BTW, I'm committing a couple of minor refinements during the course of today. Among them is that BeanWrapperImpl registers default editors for Boolean and Number objects now, using Integer.valueOf/toString etc. Interesting... what prompted the change? The javadocs previously mentioned that they weren't meant for system wide property editors. Will we still be able to bind a NumberFormat w/ a Locale (per request) as a property editor to override the default property editor? Thanks! Seth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAt3zsKZsFSwtW+wIRAokOAJ4gHiJ6DnMoqCp4el3sTXN0eLozNgCfTXBZ ryg/UsA2aTfw8lEdEGY3AkM=3D =3D7tKb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |