Have you taken a look at the Struts Workflow extension
(http://www.livinglogic.de/Struts/) ?  


>>> [EMAIL PROTECTED] 1/26/2005 10:28:49 AM >>>
I am migrating to Struts from an existing webapp. One of the issues
with the
old architecture was managing the flow control logic. Currently we
track in
the session which flow and page the user is on. To enforce flow control
each
Servlet method must check the session to see if the flow and page are
valid
for input to that method. Needless to say this is a maintenance
headache,
obfuscates the flow and doesn't stand up well against the latest
"great
idea" from the marketing folks ;)

First am I using the right vocabulary to describe the problem? If not
stop
here, the rest of my question is wrong.

I have read two books (Struts in Action and Pro Jakarta Struts), read
the
users guide, developed a pilot-app and searched google. The only real
resource I found on the matter was
http://www.javaworld.com/javatips/jw-javatip136_p.html. Which despite
the
promising title is really only about double submit protection.

Assuming I didn't miss the boat on how to do this ... The best I could
come
up with is to create my own "Flow Control" plugin which would read a
config
file that would specify the flow. This plugin would then intercept all
requests to actions and validate them against the valid set of actions
that
could be executed give the specific user's flow and page position.

Am I reinventing the wheel? Other thoughts on how to do this? Thanks
for
your time.

-Kam



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



This message has originated from R.L. Polk & Co.,
26955 Northwestern Highway Southfield, MI 48034

R. L. Polk & Co. sends various types of e-mail
communications. If this email message concerns the
potential licensing of a Polk product or service, and
you do not wish to receive further emails regarding Polk
products, forward this email to [EMAIL PROTECTED]
with the word "remove" in the subject line.

The email and any files transmitted with it are confidential
and intended solely for the individual or entity to whom they
are addressed.

If you have received this email in error please delete this
message and notify the Polk System Administrator at [EMAIL PROTECTED]


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

Reply via email to