Kyle, this is not exactly what you are looking for, but maybe it can
help a little:
http://wiki.apache.org/struts/DataEntryForm
(as you might have noticed, I like to draw pictures with blocks and arrows).
Michael.
-
To unsubsc
Are you saying that you've tried to call two mappings, one with an
associated actionForm and another without, and when calling action
without associated form you get a valid reference to a form? Are you
sure? Because it does not sound right, you should get null.
On 5/3/06, Kyle W. Cartmell <[EMAI
So in a Struts web application if I supply two mappings for a single
action, one that has a form and one that does not, and I call the one
with the form and then a few seconds later call the one without, the
form parameter to the execute method is not null on the second call. I
don't understand
Thank you Michael. This is extremely descriptive, and I'm going to
devote my nightly reading time to your article this evening. :)
What this tells me for right now is that this method of transferring
data isn't really something I should be using. I'm going to put my
temporary session object ma
On 5/3/06, Kyle W. Cartmell <[EMAIL PROTECTED]> wrote:
I did some tinkering and found that even though my setup action is
indeed associated with a form bean, and my reset method is defined and
sets my values to null, when I return to an action from a validation
failure or forwarded from another a
, the reset
method will not be called, and whatever was in the form will be
retained.
-Original Message-
From: Kyle W. Cartmell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 2:39 AM
To: Struts Users Mailing List
Subject: Re: validation breaks my form prepopulation
This is extr
bject: Re: validation breaks my form prepopulation
This is extremely helpful, because it gives me the opportunity to
prepopulate my form once again should validation fail. There's still a
sticky bit here, in that request attributes that are set from a previous
form are lost and cannot be rec
This is extremely helpful, because it gives me the opportunity to
prepopulate my form once again should validation fail. There's still a
sticky bit here, in that request attributes that are set from a previous
form are lost and cannot be recreated.
I believe that this is pretty much something
I surrender! Thank you very much!
Michael Jouravlev wrote:
On 5/2/06, Kyle W. Cartmell <[EMAIL PROTECTED]> wrote:
Within my web application (using the Struts action framework) when
validation of an ActionForm fails and control is returned to the JSP
indicated by struts-config.xml, any request a
On 5/2/06, Kyle W. Cartmell <[EMAIL PROTECTED]> wrote:
Within my web application (using the Struts action framework) when
validation of an ActionForm fails and control is returned to the JSP
indicated by struts-config.xml, any request attributes that were passed
to that JSP originally are lost be
10 matches
Mail list logo