PrimeFaces is already shipped with the jQuery bundled; therefore, there is no need to include the jQuery script.
However, when in a page there are no PrimeFaces components that use jQuery then jQuery will not be automatically included.
To go around this issue, you must use the following line inside the <h:head> tag:
<hutputScript library="primefaces" name="jquery/jquery.js" />
© 2013, Alejandro G. Carlstein Ramos Mejia. All rights reserved.