The CSS and javascript resources needed by your JSF pages can be added directly from inside your templates.
Let us consider the following JSF page:
The simplest way to include resources to the page is to add a <nxthemes:require> tag to your JSF template:
This will load the myCss.css style and the myScript.js script and all their dependencies automatically whenever the JSF page is being displayed.
If you are using freemarker templates under WebEngine, the syntax is:
 Resources are declared as theme contributions as usual:
Labels