2 Replies Latest reply on Jan 20, 2009 12:36 AM by Jason Long

    How to truncate a string

    Fábio Valente Newbie

      Hi,


      I wanna known if there is a way to truncate a string and and dots in the end, eg:'This is a very long text...'.


      I searched on Google and on Seam documentation and I didn't find.


      Is there an attribute for any tag that does this or I have to do it manually by creating a method in my entity bean?