2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar <yaragallamur...@gmail.com>:
> Hi
>     If i have 5 select boxes on the first page which is mapped to lists.
> this lists should be populated in the action class that launches the page
> and also in the action class that we are submitting. So we have to write
> the same code in two places. Is there a way that we can avoid this?

You can use inheritance or different methods in the same action class
ie. input() and save() - then you can use the same list for populating
the form and storing the values.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to