I don't understand what is happening: I am chaining to Actions that use the
same form input. when i submit the form, Action1 is called, and the form
parameter is well populated. at the end of action1, I make a forward to
Action2. and in Action2, the form is emptied!!???
I don't understand what is h
lto:[EMAIL PROTECTED]
Sent: Wednesday, 19 November 2003 16:55
To: Struts Users Mailing List
Subject: chained actions
I don't understand what is happening: I am chaining to Actions that use the
same form input. when i submit the form, Action1 is called, and the form
parameter is well populated
Hi Caroline,
the only reason that I know of which would explain the loss of the form
property values is redirecting from action1 to action2, but your action
mappings don't show redirect="true".
Are you redirecting by default somehow? I know it is possible for
instance with an init-param on you
roud of ok.
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 November 2003 17:11
To: Struts Users Mailing List
Subject: Re: chained actions
Hi Caroline,
the only reason that I know of which would explain the loss of the form
property values is redirecting from
> My guess it that the parameters in question are being set in the first
> action and there isnt actually a corresponding parameter value in the
> request and they are then cleared by reset() prior toi hitting action 2.
Is
> this the case Caroline?
I'm not sure I understand what you mean do yo
ee if
its being called again for the second action.
-Original Message-
From: Caroline Lauferon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 November 2003 17:33
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: chained actions
> My guess it that the parameters in ques
> Is it a multipart form (file upload)?
yes. and since you asked me, I just changed it. and now it works???
(but the reset method is called between the two action in both cases). I
don't need this encoding, but I wanted to always use the same skeleton,
that's why i used it.
can you explain
on" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 11:31 AM
Subject: Re: chained actions
> > Is it a multipart form (file upload)?
> yes. and since you asked me, I just chan
-Original Message-
From: Caroline Lauferon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 November 2003 18:32
To: [EMAIL PROTECTED]; Struts Users Mailing List
Subject: Re: chained actions
> Is it a multipart form (file upload)?
yes. and since you asked me, I just changed it. and
Wahouh! thanks a lot for your great explanation!
thanks to all those who have also helped me: Adam Hardy and Nicolas De Loof
;-)
Caroline
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
On 11/19/2003 12:13 PM Caroline Lauferon wrote:
Wahouh! thanks a lot for your great explanation!
thanks to all those who have also helped me: Adam Hardy and Nicolas De Loof
;-)
and thanks Andrew from me too - I never knew that.
Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
I'm still not seeing why 'chained' actions are so bad. On our current
project, we want a user who has just signed up to go ahead and be logged-in
all in the same step, and forwarded straight to the logged-in homepage.
There are 2 actions, and using 1.1b3 with Tiles, the followin
second pass through the
request processor (such as form repopulation)
-Original Message-
From: Thompson, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 September 2003 03:26
To: '[EMAIL PROTECTED]'
Subject: Chained Actions (why so bad?), forwards vs. redirects, and
Tiles
I
Hello togehter,
in my application I have a series of chained Actions defined like this
Solved, it was only a Browser caching problem
> -Ursprüngliche Nachricht-
> Von: Martin Grüneberg [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 31. Oktober 2003 11:10
> An: [EMAIL PROTECTED]
> Betreff: problem with chained actions in IE it work while
> Mozilla(F
15 matches
Mail list logo