This demo uses a SelectDiagram component. The Zoom level radio buttons use AJAX to rescale and update the diagram.
The diagram is in Application scope, shared by all clients and reconfigured for each request.
| Source Files | |
|---|---|
| oilfield.xhtml | The page's Facelets source file. |
| OilfieldRequest.java | The page handler class. |
| OilfieldDiagram.java | The diagram handler class. |
| OilfieldData.java | The data model class. |
| Well.java | The data object class. |
| Converters.java | Converter classes for the detail information. |
| oilfield.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. |
