| SCXMLDialogNavigationHandler.java | Class | SCXML configuration file(s) driven Shale dialog navigation handler.
Recipe for using SCXML documents to drive Shale dialogs:
- Build the
SCXMLDialogNavigationHandler (available
below, use a Commons SCXML nightly build 10/09/05 or later) and make it
available to your web application classpath (WEB-INF/classes).
- Update the "
WEB-INF/faces-config.xml"
for your web application such that the
"faces-config/application/navigation-handler"
entry points to
"org.apache.commons.scxml.usecases.SCXMLDialogNavigationHandler"
(with the appropriate package name, if you changed it).
- As an alternative to (1) and (2), you can place a jar in the
WEB-INF/lib directory which contains the
SCXMLDialogNavigationHandler and a
META-INF/faces-config.xml with just the entry in (2).
- Use SCXML documents to describe Shale dialog flows (details below)
in your application.
|