So where is the proper place to prepopulate fields? [I know I am a noob]

On 6/8/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> Yes.  Is this causing a problem for you?  Please note that reset() is
> not where you should be prepopulating fields.  As it says in the
> javadoc:
> 
> "In practice, the only properties that need to be reset are those
> which represent checkboxes on a session-scoped form."
> 
> ... and ...
> 
> "You mainly need to worry about setting checkbox values to false; most
> of the time you can leave this method unimplemented."
> 
> Hubert
> 
> 
> On 6/8/05, Janek Ziniewicz <[EMAIL PROTECTED]> wrote:
> > My app contains a few forms. Each form has one ActionForm and one
> > Action class associated. Each time page with form is displayed I see
> > that ActionForm::reset method is displayed. After submitting I can see
> > that reset method is launched again, and right after that
> > ActionForm::execute.
> >
> > Is it proper behaviour?
> >
> > --
> > Pozdrawiam,
> > Janek Ziniewicz
> > gg: 902858
> > irc.freenode.net: #gore, #dub
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 


-- 
Pozdrawiam,
Janek Ziniewicz
gg: 902858
irc.freenode.net: #gore, #dub

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to