I\'m using JSF templates and Primefaces.
Javascript code does not seem to be working under ui:composition and ui:define tags. The following code is not hitting the load
You are passing "content" to the template. If your template does not include "content", it won't be including in the resulting HTML.
Post the template.xhtml and let's see...