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 . . .
---
() 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'
> >
: 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
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
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
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
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
--- 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
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
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:
10 matches
Mail list logo