BTW, you can fix this by extending HtmlTextRendererBase, overriding renderInput(), and making a one line change.
---- Original message ---- >Date: Wed, 12 Oct 2005 13:06:38 -0400 >From: Mike Kienenberger <[EMAIL PROTECTED]> >Subject: Re: overriding a built in Converter >To: MyFaces Discussion <[email protected]> > >Unfortunately, String converters and Object converters aren't allowed >in the JSF-RI because of performance concerns, and MyFaces had to >follow this pattern to pass the TCK. > >I started some discussion about it on the JSF RI dev list, and, as I >said above, was told it was disallowed due to performance concerns. >Your best bet is to send an email to [EMAIL PROTECTED] >describing your use case and also ask for this feature. It might >happen in JSF 2.0. > >A past thread by me discussed the possibility of allowing this when >using a MyFaces configuration option and was encouraged by Craig >McClanahan, but the only committer to comment on it was Martin, and >while he thought it was a good idea, he didn't want it done as a >configurable option. Unfortunately, it would have failed the TCK, so >I didn't pursue it at the time. > >http://www.nabble.com/Myfaces-disallows-custom-String-%28and- Object%29-converters--t207391.html#a586463 > >-Mike > >On 10/11/05, Dennis Byrne <[EMAIL PROTECTED]> wrote: >> I would like JSF to trim all Strings during the render >> phase. I have configured a converter with converter-for- >> class set to java.lang.String, but the controller appears to >> ignore this. >> Dennis Byrne >> Dennis Byrne

