CommandDiagram Rendering

This page shows a CommandDiagram component that submits the form when the user clicks on an element. When the page reloads, the diagram's onchange handler displays the selection below the diagram.

The Submit button submits the form and reloads the page with the new rendering parameters.

Source Files
command.xhtml The page's Facelets source file.
render.js The JavaScript file for the page.
CommandHandler.java The Session-scope page and diagram handler class.
render.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.