This demo uses a read-only SelectDiagram component with the toolkit's ResourceChart package. The Update button uses AJAX to submit the parameter values and update the diagram.
This diagram is in Application scope, shared by all clients and reconfigured for each request.
| Source Files | |
|---|---|
| layout.xhtml | The page's Facelets source file. |
| LayoutRequest.java | The page handler class. |
| LayoutDiagram.java | The diagram handler class. |
| StaffData.java | The demo's data model class. |
| Appointment.java | The demo's data object class. |
| ApptElement.java | The demo's display element class generates the properties required for the Resource Chart from the data object's values. |
| staffsched.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. |
