Examples: Java Server Faces

Hello Boss

My First JSF application, contains a home page, then you have to type a Emmanuel as user : helloBoss2-jsf.zip
Once installed on your localhost (port 8080), you can access it using this link: localhost:8080/helloboss2.0/
The interesting files are:

MyFaces and Tomahawk

This example can be downloaded in one big zip file: myFacesExample2.0.zip.
Once installed and deployed on your localhost, it should be accessible under the following URL localhost:8080/myFaces2.0/ The following files are interesting:

I18n

The complete example can be downloaded as a zip file: login-i18n2.0.zip
Once deployed on your server, you can test it at the following URL: localhost:8080/logini18n2.0/ The interesting files are:

Facelets

Download the zip of the examples : facelets2.0.zip
The following files are the most interesting ones in this project. Once installed, this project is available for testing at the following URL:http://localhost:8080/facelets2.0/

Ajax

Small program

In the following program I included in the page softSec.xhtml some ajax tags.
Download the project in one zip file: ajax2.0.zip
Here are the more important files: Once installed, this project is available for testing at the following URL:http://localhost:8080/ajax2.0/

IBM Example

Durring the course, I also presented an Ajax project developed by David Geary for IBM. You can simply download it from the IBM page: developerworks by IBM.com

Other Examples

Those examples were not seen in course. They are nevertheless interesting, (even if written in JSF1.2).

Converters Validators

validator-jsf.zip
The most interesting files are: Once installed and deployed, you can test this example at the following URL: localhost:8080/jsf-validator-converter-bie1/ (username=bie1 and pwd=bie1).

Components

mycomponent.zip
This example is the one used for the slides for the course. It corresponds to a new component in JSF 1.2.
Here are the most interesting files Once installed on your localhost, you can test the example at: http://localhost:8080/JSF1.2-component-example/.
The prototype can be seen here: http://localhost:8080/JSF1.2-component-example/prototype.jsp