-
Book Overview & Buying
-
Table Of Contents
Java EE 7 Web Application Development
By :
JSF 2.2 introduces the concept of Resource Library Contracts, which allows a digital developer to organize a library of assets and templates in a reusable set of resources. A resource library contract must reside in the contracts directory folder in the application's web context root. In the standard Maven or Gradle build convention, this folder is src/main/webapp/contracts. Each subfolder in the contracts folder represents a named resource contract.
The setup for the Chapter 6, JSF Flows and Finesse used a layout for the Resource Library Contracts, as follows:
/src/main/webapp/contracts/
/src/main/webapp/contracts/default/
/src/main/webapp/contracts/default/template.xhtml
/src/main/webapp/contracts/default/styles/app.css
/src/main/webapp/contracts/default/images/
/src/main/webapp/contracts/victoria/
/src/main/webapp/contracts/victoria/template.xhtml
/src/main/webapp/contracts/victoria/styles/app.css
/src/main/webapp/contracts/victoria/images/
Every...
Change the font size
Change margin width
Change background colour