xhtml « Form « JSF Q&A





1. How to render XHTML compliant form in JSF 2.0?    stackoverflow.com

I'm trying to create a form compliant to XHTML 1.1 with JSF, but can't. This is my .xhtml file:

<h:form>
  <h:inputText value="foo"/>
  <h:commandButton action="search" value="Search" />
</h:form>
In the output HTML <input> ...