I've been using AbstractWizardFormController twice now (i'm a newbie to spring, yes), and in both cases some page of the wizard had more than one form, for example a checkout bean where the customer may edit quantity in the basket before continuing. But since processFormSubmission is final, i'm forced to do the in-page form processing in the getTargetPage method. A very ugly solution.
My collague has some similar issues with the RedirectView.renderMergedOutputModel, which apparently wasn't final in the 1.0 release.
Isn't it true that final in the method declaration has very little (if any) impact on the performance? I have a feeling i've read something like that somewhere... I would appreciate less use of final methods.


Reply With Quote