From: Alef A. \(JTeam\) <al...@jt...> - 2003-07-31 00:41:06
|
Thanks Ken, Those are exactly the things I had a look at as well when I started using them. The only problem was that particular developer and to getting him to understand things as well. He's like this Javadoc kind of guy (and he's absolutely right!) and that's where the problem is (somewhat) when it comes to those classes... Well, I've already added some javadoc and will do some more anyway... Alef -----Oorspronkelijk bericht----- Van: Ken Krebs [mailto:kk...@kk...] Verzonden: Wednesday, July 30, 2003 11:18 PM Aan: al...@jt... CC: 'Spring Developers' Onderwerp: Re: [Springframework-developer] forms Alef, Alef Arendsen (JTeam) wrote: >... > >Today I introduced one of our developers to Spring, because he needs to >take over things when I'm on a holiday (next two weeks) and he had >major difficulties in seeing when what methods are called in the >controller stuff. Especially the formcontroller classes are pretty hard >with only the JavaDoc. I'll be providing extending the JavaDoc of those >classes a bit more, since I haven't got anything to do anyway before >this weekend (that's new for me, and it's wonderful ;-). Something like >a sequence-diagram or something might be useful (but then in JavaDoc) >and small configuration-snippets and usage-example... > It is a complex process. I struggled greatly with this while working on Petclinic. It's far from a complete picture, but there is some information on formcontrollers in the Petclinic tutorial.html file you may find useful. See the heading "Controllers". The Petclinic forms show simple examples of some useful techniques. I would also suggest looking in particular at the source code for : - the handleRequestInternal method in AbstractFormController - the bindAndValidate method in BaseCommandController. Hope this helps. Ken |