If you'd like to see what an application user has to do to leverage
the "dialog" facility of Shale (similar in spirit to Spring WebFlow,
but customized for tight integration with JSF), see the package
documentation for the "org.apache.shale.usecases.profile" package in
the Shale Use Cases example app.

http://people.apache.org/~craigmcc/shale-usecases-javadocs/org/apache/shale/usecases/profile/package-summary.html


It includes state diagrams of the two defined dialogs, which can be
easily mapped to the corresponding dialog-config.xml file:

http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml?view=markup


The corresponding DTD for the configuration file is at:

http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/core-library/src/conf/dialog.dtd?rev=165377&view=markup


The dialogs support a typical application-managed authentication
scenario, but with a couple of twists:

* "Remember Me" cookies are supported.

* Ability to create a new profile and immediately be logged on
  (typical sort of thing you see on portal-type environments).

* Ability to edit an existing user profile.

The latter two capabilities share the same dialog definition ...
providing a nice opportunity to use the dialog nesting feature.

Craig

On 5/1/05, Apache Wiki <[EMAIL PROTECTED]> wrote:
> Dear Wiki user,
> 
> You have subscribed to a wiki page or wiki category on "Struts Wiki" for 
> change notification.
> 
> The following page has been changed by CraigMcClanahan:
> http://wiki.apache.org/struts/StrutsShale
> 
> The comment on the change is:
> Updated the Use Cases app javadocs with dialog state diagrams
> 
> ------------------------------------------------------------------------------
>   The following links provide access to information about the proposal 
> itself, links to the nightly build area for downloading the work in progress 
> (there have been no formal releases yet), snapshots of the Javadocs for Shale 
> and the "Use Cases" example application, and access to information about 
> building Shale yourself.
> 
>    * [http://www.apache.org/~craigmcc/struts-shale-README.html Proposal 
> Details] (last updated 21-Jan-2005)
> -  * Shale Javadocs (last updated 30-Apr-2005):
> +  * Shale Javadocs (last updated 01-May-2005):
>      * [http://www.apache.org/~craigmcc/shale-core-javadocs/ Core Library]
>      * [http://www.apache.org/~craigmcc/shale-clay-javadocs/ Clay Plug-In]
>      * [http://www.apache.org/~craigmcc/shale-test-javadocs/ Unit Test 
> Framework]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to