You can also take a look at the thread starting at the following url.

https://javaserverfaces.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=432

On 10/12/05, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> Uhm, what am I missing?  Quite simply, the software is
> supposed to use a <converter-class> for a <converter-for-
> class> .  If the it doesn't do this, RI included, than
> something is incorrect.  I read that thread and I
> thought "here are 5 smart guys who have overlooked the
> obvious" ;-) Thanks for your reply Mike, I'll send an email
> to jsr-252-comments .
>
>
> ---- 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
>

Reply via email to