[jboss-user] [JBoss Seam] - How to truncate output?
henrik.lindberg
do-not-reply at jboss.com
Sun Mar 25 08:36:14 EDT 2007
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031387#4031387
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031387
More information about the jboss-user
mailing list