I went a step further and added a appendEllipsesDuringOutput and
appendEllipsesDuringInput so it's completely customizable.   Otherwise
it does straight truncation.

On 5/12/06, Julian Ray <[EMAIL PROTECTED]> wrote:


+1 on that

 ________________________________
 From: Rogerio Pereira [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 5:30 PM
To: MyFaces Discussion
Subject: Re: about the thread "tag to truncate text"


On 5/12/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:

> Julian (and Rogerio),
>
> Is there any reason why we can't make getAsObject also call
> format(value.toString())?
>
> Currently, this is only an output converter.   I'd also like it work
> as an input converter as well unless there's an objection.   As an
> inputconverter, I'll probably drop the elipses, though.
>

Feel free to do it.


--
Yours truly (Atenciosamente),

Rogério

Reply via email to