You should tell us how the dropdowns were populated in the first page.
If only one Action class is involved, and the dropdowns are populated
by reading some attribute of it
(eg: getOptionListForDropDown() which looks at the
optionListForDropDown list )
you should fill that list, not in the action
Implement Preparable interface [1] and take a look on Prepare
interceptor [2], it should be what you want
[1]
http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
[2] http://struts.apache.org/2.1.6/docs/prepare-interceptor.html
Regards
--
Lukasz
http://ww
am
> new to Struts 2.
>
> Thanks,
> Anand
>
>
> -Original Message-
> From: Jim Kiley [mailto:jhki...@summa-tech.com]
> Sent: Monday, March 02, 2009 12:23 PM
> To: Struts Users Mailing List
> Subject: Re: Struts 2 - After validation failure populating the drop d
Hi,
Would you able to specify in little more detail? Sorry for that as I am new
to Struts 2.
Thanks,
Anand
-Original Message-
From: Jim Kiley [mailto:jhki...@summa-tech.com]
Sent: Monday, March 02, 2009 12:23 PM
To: Struts Users Mailing List
Subject: Re: Struts 2 - After validation
Populating the dropdowns in an input() method that returns Action.INPUT
should do the trick.
jk
On Mon, Mar 2, 2009 at 1:19 PM, Sundararaman, Anand <
anand.sundarara...@ps.net> wrote:
> Hi,
> I guess there is an elegant solution for this but I could not find out in
> the user list.
>
> I am usin
5 matches
Mail list logo