Multi-Templating with JSF 2 : The Prototype
Revolution is only the next step to Evolution
Here we are, Yes ladies and Gentlemen, Here we are. After having shared the story with you, here is the presentation of the prototype of the multi-templating system of JSF 2.2. Meanwhile, an application has been deployed worldwide with google app engine and below are the instructions on how to use it both remotely and locally. We sincerely hope that you will enjoy this concept and as always we value your comments.
How to use the application remotely?
- With your browser point to this url : http://jsfmtsystem.appspot.com/ to display the home page and because of the configuration below,
<?xml version="1.0" encoding="UTF-8"?>
the rockstar template is selected
- If you want to select another template, click on the templates link to display the templates list.
- Point your cursor on the name of one template to see its thumbnail or click on it to select this template
- Wanna see the templates gallery? click on the gallery link to display it. To enlarge a thumbnail, just click on it. To select a template, click on the name.
- To finish, you have an about link to show the About page which says that the JSR 344 EG is working very hard to give you an outstanding new version of JavaServer Faces. So please, be patient and be ready to check it out once available..
Author(s): JSR 344 Expert Group
Requirements: JSF 2.2
Description: Change the look and feel of your JSF applications.
How to run the application locally with maven and the embedded glassfish plugin ?
- With svn, check out the application at this url : https://svn.java.net/svn/jsf-extensions~svn/branches/SPEC_532_MODULAR_JSF
- With maven, run mvn package embedded-glassfish:run to deploy the application
- And finally with your browser point to this url : http://localhost:8080/app/
Ladies and Gentlemen, we wish you a nice try and undoubtedly, Reuse is the only way to speed up development and boost productivity. Be sure that soon we will move to a higher concept like Application as a Template...