New Line character in FacesMessage Jsf

Muneeswaran Balasubramanian picture Muneeswaran Balasubramanian · May 18, 2011 · Viewed 12.4k times · Source

I wants to display the error message like, "The following headers not avail

1.Name
2.Roll no

How can i show this using faces message in jsf?Please help me.

Answer

maple_shaft picture maple_shaft · May 18, 2011

Without implementing a bizarre hack using javascript and css or without implementing your own JSF messages custom component this is not possible.

You will need to create a new FacesMessage for each line.