PrimeFaces is your AJAX framework, so if you need to send an ayaxial request, use PrimeFaces components.
Although you do not need to send an ajax request, you can still use the PF component if you need to ensure the consistency of the search for your web page. For example, h:commandButton and p:commandButton . Use p:commandButton if you need to send an ajax request, but you can also do it
<p:commandButton ajax="false" action="Your Action here"/>
This will give the same result as:
<h:commandButton action="Your Action here"/>
but in this way you can provide a constant search for your button on the page.
There are no replacements in PrimeFaces for h:panelGrid , h:panelGroup , h:inputText , h:outputText ...
source share