Re: Form Submission Question

2007-11-16 Thread Ted Husted
Patches are always welcome (once you get it figured out) :) On Nov 15, 2007 2:22 PM, Hernandez, David <[EMAIL PROTECTED]> wrote: > > Thanks guys. The bootstrap should have an example where the fields are > populated by the Action Class's member variables. But I figured it out, > I think . . . ---

Re: Form Submission Question

2007-11-16 Thread Ted Husted
() throwing the exception and returning > > null . . . > > Now, to keep that in scope somehow . . . > > > > -Original Message- > > From: Hernandez, David > > Sent: Thursday, November 15, 2007 3:12 PM > > To: 'Struts Users Mailing List' > >

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
: Thursday, November 15, 2007 3:12 PM To: 'Struts Users Mailing List' Subject: RE: Form Submission Question I'm having a problem with my bean going out of scope. The form is populated with the bean information fine, but when I submit building is null? How do I keep it in scope? Do I

RE: Form Submission Question

2007-11-15 Thread Dave Newton
lls > city.getId() throwing the exception and returning > null . . . > Now, to keep that in scope somehow . . . > > -Original Message- > From: Hernandez, David > Sent: Thursday, November 15, 2007 3:12 PM > To: 'Struts Users Mailing List' > Subject: RE: Form Sub

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
buildingFormTest.jsp /error.jsp /buildingFormTest.jsp /error.jsp -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 2:20 PM To: Struts Users Mailing List Subject: Re: Form Submission Question --- Gary Affonso <[EMAIL PROTECTED

Re: Form Submission Question

2007-11-15 Thread Dave Newton
The action that *processes* the form submission may extend ActionSupport. You submit the form to an action. The action either contains the fields of the form or contains a bean that can be used on the form. The bootstrap tutorial goes through a simple form processing example. http://struts.apache

RE: Form Submission Question

2007-11-15 Thread Hernandez, David
iling List Subject: Re: Form Submission Question --- Gary Affonso <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: >> The action that *processes* the form submission may extend >> ActionSupport. > > Dave knows that, of course, but I didn't want the emphasis on &g

Re: Form Submission Question

2007-11-15 Thread Dave Newton
--- Gary Affonso <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: >> The action that *processes* the form submission >> may extend ActionSupport. > > Dave knows that, of course, but I didn't want the > emphasis on "*processes*" above to make you > think ActionSupport was only appropriate > for f

Re: Form Submission Question

2007-11-15 Thread Gary Affonso
Dave Newton wrote: The action that *processes* the form submission may extend ActionSupport. Yup. Note that it's commonly not just "form processing actions" that extend ActionSupport, it's often all actions. Dave knows that, of course, but I didn't want the emphasis on "*processes*" above

Form Submission Question

2007-11-15 Thread Hernandez, David
Can anyone point me to a location that outlines the Form submission/processing flow for struts 2? I'm having a bit of a problem deciphering how forms are supposed to be handled. For instance I have a Bean (Building) that I want to update (to a DB) from a form: JSP: