On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote: > > Here's the last paragraph of the JavaDoc for the reset() method > > (emphasis in original): > > > > "This method is *not* the appropriate place to initialize form value > > for an "update" type page (this should be done in a setup Action). You > > mainly need to worry about setting checkbox values to false; most of > > the time you can leave this method unimplemented." > > > > You say the ActionForm is "just a class" with "a simple lifecycle". > > That "lifecycle" is more than just a sequence of method invocations, > > but also the expected behavior of each of those invocations. The > > documentation ("lifecycle specification") clearly defines that the > > only behavior that is expected during the invocation of the reset() > > method is to set checkbox values to false. > > > > -- Jeff > > Jeff, I don't have a blind faith in word written by someone whom I > have not even had a drink with. > > ;-) > > Michael. > > -- > Dialogs for Struts > http://struts.sourceforge.net/strutsdialogs >
I never asked you to go on "blind faith" -- I quoted the documentation. Let me do it again: "This method is *not* the appropriate place to initialize form value for an 'update' type page." I don't know what "word" could be more authoritative than the documentation. If it is my "words" that you don't have "blind faith" in, than I guess you never will -- I don't drink. ;) -- Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]