Cool
name="Form"
scope="request"
- Original Message -
From: "Marcio Ghiraldelli" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, March 23, 2006 11:05 AM
Sub
without using request?
The form instance is only created in the view!
- puzzled! -
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, March 23, 2006 10:13
Marcio Ghiraldelli wrote:
> How? Supose I have a form with an select combo. The itens should be
> populated with a database result. The only way I could acomplish this
> is getting data on the Action before the form view, set the list in
> the request, redirect to the view. Then, the view creates a
If you want to just return to the same page after you submit, then simply
provide that as the return value in your Action and have it mapped just
like you would for going to any other page in your flow. There is no
difference what so ever. Maybe I'm confused what you are trying to
accomplish?
You should clean the form only on input phase. Thus, you need to
somehow distinguish input phase from render phase since reset() does
not make this distinction. If you always submit a form using POST, you
can assume that POST means input phase. Or, you can check for a
certain parameter in the reque
Marcio Ghiraldelli wrote the following on 3/22/2006 8:46 AM:
Hello,
I am facing a strange ActionForm Reset behavior with Struts 1.2:
I want after submit a form, redirect via controler to the same form
(so the user can submit it subsequently times).
If you want to just return to the same
6 matches
Mail list logo