Iirc that's where I'd like a little pluggability, too; I'm not convinced the default non-whitespace-trimming converters are the best idea. Gotta revisit some code I did for that.
On Wednesday, March 14, 2012, Łukasz Lenart <lukasz.len...@googlemail.com> wrote: > I've started looking into those two classes and it looks like > XWorkConverter is more a converter manager but extends > DefaultTypeConverter (which implements TypeConverter) and mostly > trying to find out a converter to use or delegates work to > DefaultTypeConverter or to XWorkBasicConverter. > > I think it's worth to separate the logic and leave XWorkConverter as a > manager and move all common logic to call converters to > XWorkBasicConverter (take a look on method convertValue() at line > 261). > > > Kind regards > -- > Łukasz http://www.lenart.org.pl/ > mobile +48 606 323 122, office +27 11 0838747 > Warszawa JUG conference - Confitura http://confitura.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >