Dynamic Faces - sample demonstrating dynamic or programmatic UI creation with JSF 2.0 and Facelets

Dynamic Faces Sample

This sample project demonstrates programmatic usage of JSF.

Technologies

Resources

Building

This project is build with Apache Maven:

In order to build the project, just execute

mvn clean install

and look in the target directory for the DynamicFaces.war file.

Importing into the Eclipse workspace

The project provides .project and .classpath files for Eclipse. In order to work with this project in Eclipse, you will need to install the m2eclipse plugin:

To import this project into your Eclipse workspace:

When the project is imported, you may need to update dependencies:

You can also download the source code:

Running from Eclipse

You can run this project directly from Eclipse:

The RunDemoDynamicFaces class is a pseudo-unit-test which starts the web
application in an embedded Jetty. This pseudo-test can be started directly
from Eclipse as a JUnit test. No additional installation required.

If Eclipse complains that "No tests found...", try the following:

Support

If you have problems or requests concerning this demo project, please use the
dev.java.net mailing list:

You may also use my contacts from this page:


Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Activity
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide
- Impressum

Your Account

Log In

 

Other Features

Add Content