ok. thank u so much.

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*

On Sat, Dec 27, 2014 at 12:52 AM, Lukasz Lenart <lukaszlen...@apache.org>
wrote:

> 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