struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Byron <>
Subject Re: Work Flow Question
Date Wed, 22 Aug 2001 15:42:27 GMT
Although I have not yet tried it, you might consider
subclassing your WizardAction.  WizardAction would
have all of the methods necessary to perform the
entire task, then have one subclass for each of the
steps all the while using the same WizardForm.

WizardAction extends Action
WizardStep1Action extends WizardAction.
WizardStep2Action extends WizardAction.

This would allow you to map the seperate steps into
the struts-config file where they are identifiable and
the forwards are configurable, but still maintain the
majaority of the business logic in one class.

Bob Byron

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message