Project

This demo uses a SelectDiagram component with a custom element model that handles the layout in the diagram. The diagram and the buttons use AJAX to update the diagram and the detail panel.

The data model and the diagram are in Session scope, but could be in Application scope in a real application.

Source Files
project.xhtml The page's Facelets source file.
ProjectRequest.java The page handler class.
ProjectDiagram.java The diagram handler class.
ProjectData.java The demo's data model class.
Job.java The demo's data object class.
ProjectModel.java The demo's element model class handles the header elements and the layout.
project.rdr The renderer file describes how to render each object in the diagram based on its data values.
apprisant.properties A toolkit configuration file used by all demos; specifies rendering hints and logging properties.
faces-config.xml A JSF configuration file shared by all demos.
web.xml A server configuration file shared by all demos.