I just started out using JSF 2.0 but I found myself mixing JSF tags with standard HTML tag to achieve the desired layout. Although I am using the facelets to layout my pages, but I think I cant help but mix components.
<ui:define name="content">
<h:form>
<h:commandButton value="Search" action="#{myBean.handleSearch}"/>
<h:commandButton value="Reset" action="#{myBean.handleReset}"/>
<div>
<!-- Some JSF component -->
</div>
I have been thinking if I have been running into bad practice. Any source of info for this? Thanks