On 10/10/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> Rahul,
>
>
> > http://people.apache.org/~rahul/scxml-in-shale/<http://people.apache.org/%7Erahul/scxml-in-shale/>*time-sensitive
> >  URL*
>
>
One other note before I hit the sack tonight ... with regards to your
"either/or" question, you could actually have *both* SCXML-based and
Shale-dialog-based support at the same time pretty easily. All it takes is:

* Use a prefix on logical outcome strings different from "dialog:xxx" to
invoke the special SCXML processing. Maybe "scxml:xxx"?

* Make sure your NavigationHandler implementation delegates
when it's not inside an SCXML based flow (probably already
does, didn't check the code).

* Add a META-INF/faces-config.xml in your JAR file that defines
just the SCXML navigation handler implementation.

That would make the option of gradually transitioning to SCXML based dialogs
much easier, and would avoid a bunch of the work you describe to modify the
standard Shale environment.

Craig

Reply via email to