struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: XWorkConverter vs XWorkBasicConverter
Date Wed, 14 Mar 2012 13:38:36 GMT
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.lenart@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message