All:
Govind Seshadri had an excellent article on advanced form processing
located here:
http://www.javaworld.com/javaworld/jw-03-2000/f_jw-0331-ssj-forms_p.html
Other posts to this list have talked about multi-screen (page) forms, e.g.
a wizard type interface with back/next/finish/cancel buttons. I'm having a
little trouble envisioning how this would all fit together.
Using Govind's article as a baseline:
* Would multiple forms/pages require a different validation bean for each
page? (This assumes that you want to validate the user's input on a per
page basis, rather than, or in addition to, when he/she chooses the finish
option.)
* Choosing the finish option would (naturally!) post to the
UserRegistration.do according to good model 2 design. Is it OK to have the
back/next "events" directly navigate to the previous/next .jsp page? (I
don't want to have to create UserRegistrationStepOne.do thru
UserRegistrationStepTen.do! (Do I?)
* Finally, doesn't this lead to too high a degree of coupling between the
view & the controller(s)? Or, what I mean is, haven't we prevented our page
designers from exercising their creative freedom to place which fields on
which form, since that will always require "back-end" coding changes?
Thoughts? Other people's implementations/suggestions would be greatly
appreciated!
TIA,
Mike
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets