3 Replies Latest reply on Mar 25, 2007 10:37 AM by henrik lindberg

    How to truncate output?

    henrik lindberg Apprentice

      Hi,
      I would like to be able to truncate output of certain properties. I have a property called "description" that can be quite long, and in listings I want to limit the output to say 40 characters and then add "..." after the truncated text.

      I would like to be able to do this in the view.
      I looked at the Converter interface, but I am not sure that creating a Converter is the best option.

      Any suggestion on how to do this?