No, my point is that any use of the word "form" in the name of the class is
potentially confusing because apparently sometimes people mistakenly think
"Oh, i have to use a <form>...</form> in the page that calls this action".

> Then, the name of the class goes well with what people call it.  You 
> don't have a disconnect.

Well, i think that people casually refer to it as a "form bean" because it's
currently named "ActionForm".  If the class had been named
"RequestParametersBean" from the start, i doubt very much that today people
would be calling it a "form bean".  I think it's the word "form" in there
that's causing so much confusion for newbies (and at least part of the
reason why there are so many questions that read something like "how can i
call my action from a link and still have my form bean populated?").

chris

> -----Original Message-----
> From: Eddie Bush [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 11:48 AM
> To: Struts Users Mailing List
> Subject: Re: struts 2.0 naming conventions?
> 
> 
> FormBean
> 
> Then, the name of the class goes well with what people call it.  You 
> don't have a disconnect.  If we're changing names, this is the 
> convention I would use for this.
> 
> (
>     .. and then you could do:
>         - DynaActionFormBean
>         - DynaValidatorFormBean
>         - ...
> 
>     I know it kind of belabors the point, but it's probably easier 
> understood to use such nomenclature.
> )
> 
> Bartley, Chris P [PCS] wrote:
> 
> >I'd add that even "Form" could be confusing to some.  Based 
> on the number of
> >posts to this list, there appears to be a large percentage 
> of new users who
> >don't understand that both GET and POST requests can 
> populate a form bean
> >(and that you don't need a <form>...</form> to do it).
> >
> >I'm not sure what a good alternative would be for 
> ActionForm, however.
> >RequestBean?  RequestParametersBean?  CrapIWantTheActionToUseBean?
> >SasquatchBean*? ;-)  I'll leave that decision up to those 
> more creative with
> >words than I.  :D
> >
> >chris
> >* <grins-at-James-Mitchell/>
> >
> 
> -- 
> Eddie Bush
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to