Form Beans: Design Question

2003-03-04 Thread Curley, John
Please excuse the simple question (I am new to Struts): When is it appropriate to use form beans for an action? The reason why I ask is because you can obtain information from a request via the information sent by the HTTP/Post/Get. If I have a bunch of widgets in a form I can just obtain the

RE: Form Beans: Design Question

2003-03-04 Thread ROSSEL Olivier
Please excuse the simple question (I am new to Struts): When is it appropriate to use form beans for an action? The reason why I ask is because you can obtain information from a request via the information sent by the HTTP/Post/Get. If I have a bunch of widgets in a form I can just

Re: Form Beans: Design Question

2003-03-04 Thread Nicolas De Loof
Your right, formbean just get request parameter for you. But they are doing this too: - allow syntax validation, programatically or by rules (via validator.xml) - allow dotted and indexed syntax (like property1.property2[3]), and so a realy objet-oriented formbean design - can be dynabeans (so

Re: Form Beans: Design Question

2003-03-04 Thread Rick Reumann
On Tue, 4 Mar 2003 08:51:39 -0500 Curley, John [EMAIL PROTECTED] wrote: The reason why I ask is because you can obtain information from a request via the information sent by the HTTP/Post/Get. If I have a bunch of widgets in a form I can just obtain the info in the action this way: