Michael Jouravlev wrote:
While reading "Java Web Framework Sweet Spots" by Matt Raible [1] I
found the following opinion by Patrick Lightbody:
"Like any action framework, WebWork is poor at handling state and
wizards. If you're writing lots of long-running wizards, perhaps JSF
is the way to go."
I would like to plug in my own development here, asking Patrick and
other interested parties to try this live demo:
http://www.superinterface.com/strutsdialog/wizardaction.do
The source code for updated version is here:
http://prdownloads.sourceforge.net/struts/dialogs-samples-2.0.war?download
This wizard is implemented with Struts Classic using session-scoped
ActionForms and is bulletproof. Try to break it ;-) I hope this might
provide some ideas on possible wizard implementation in Struts Action
1/2 or in other action framework or in pure JSP application. The
latest version uses Struts EventActionDispatcher from Struts 1.2.9.
Frankly, I doubt that Patrick was saying that you flat out couldn't do
this kind of thing with Struts or Webwork. I would interpret what he
said as meaning that the same thing using JSF, say, might be more
elegant/maintainable/<synonym for good>.
Jonathan Revusky
--
lead developer, FreeMarker project, http://freemarker.org/
Michael.
[1] http://www.virtuas.com/articles/webframework-sweetspots.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]