|
From: Michael Y. <sp...@on...> - 2003-12-24 22:11:34
|
I've also seen quite many methods being final in Spring, which I think is unnecessarily restrictive. One can never anticipate how things will be used by end users. The disadvantages far out-weigh the advantages. So, please, don't tie users hands too eagerly. Thanks! /Michael. On Wednesday, Dec-24-2003 08:38 AM (PST) sg...@ya... (Steve Gulics) wrote: > I posted this in the user group but I think its more > relevant for the developer group. My colleague is > having a problem with the > AbstractWizardFormController. He posted the message to > to the forum only, so I figured I'd also post it here: > > --------------------------------------------- > IMHO, WizardFormController has some limitations with > the way it handles pages. For example, In a 5 step > process, user steps into page 4, and then hit back > button on his browser, to page 2 and resubmit form. > the backing-form is still in session, so it will try > to bind and validate. It get current page which will > be 4. validation specific to page 2 was not called but > validation of page 4 was invoked. > I would like to rewrite WizardFormController to > overload getCurrentPage() method, but it was declared > final. Neither could I use an interceptor to setup the > pages because getPageSessionAttributeName() is > specific to the class name. Currently, I have to > change currentPage variable inside onBindandValidate() > method to use some param passed in from request. Or I > could rewrite AbstractWizardFormController to remove > those final methods. > > Any suggestions? > > Best Regards, > > -Leo > --------------------------------------------- > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |