I have a very simple JSF form:
<h:form id="simpleSearch">
<h:inputText id="surname" value="#{myBean.surname}" required="true" />
<h:commandLink>Search</h:commandLink>
</h:form>
When this page is rendered, the anchor that is generated looks like this (for brevity, I stripped out the generated onclick code):
Search<a href="#" onclick="..."></a>
As you can see, the "Search" is outside the anchor and the anchor body is empty. This is useless to me. I can't use this.
Are there any suggestions/references/miracles out there to help me fix/understand what is going on here?
Thanks!