Hi all,
The AbstractWizardFormController overides the showForm() method and makes if -final- (showPage() is also final). I'm working on a WizardFormController and I would like to conditionally show different initial views based on a session scoped attribute. For instance, if the user is not logged in, show a welcome page, if he is show the initial formView.
However, I have not been able to find a hook into this early part of the workflow. It seems like my options are to either perform the check at the view level, in the initial form jsp and show alternate content (yikes) or create my own version of the AbstractWizardFormController which allows for an early hook (before viewing the initial form).
Am I missing something obvious? My preference would be to use the existing abstract parent class if possible. Any other ideas?
Thanks,
Ike


Reply With Quote