I am trying to figure out a way to get h:messages to display with the JQuery UI highlight box around it. But by putting it the f:verbatim tag it isn't rendering. If I try anything like splitting it out into 2 f:verbatim tags around the HTML I will get:
javax.servlet.ServletException: Error Parsing /index.xhtml: Error Traced[line: 25] The element type "p" must be terminated by the matching end-tag "
".<f:verbatim rendered="#{uploadBean.hasMessage}">
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p>
<span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
**<h:messages />**
</p>
</div>
</div>
</f:verbatim>