Search code examples
javahtmlcsserror-handlingjsf-1.2

how to remove dot (list view) from h:message


I am using <h:messages globalOnly="true"/> to display error messages.

When error comes, it shows in below format.

Any idea how can I remove this dot and spaces and just show the error?


Solution

  • You can make the messages render as table cells instead of list items:

    <h:messages globalOnly="true" layout="table"/>
    

    Documentation for h:messages is here.