Re: Edit a list of Strings to action

2011-10-24 Thread Jyothrilinga Rao
try > >s:textfield> > > or > > >s:textfield> > > On Mon, Oct 24, 2011 at 2:21 PM, roger > wrote: > > > > value="%{inputStrings[#sts.index].value}" > > > > -- > > View this message in context: > > > http://strut

Re: Edit a list of Strings to action

2011-10-24 Thread Steven Yang
try or On Mon, Oct 24, 2011 at 2:21 PM, roger wrote: > value="%{inputStrings[#sts.index].value}" > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Edit-a-list-of-Strings-to-action-tp4931270p4931445.html > Sent from the Struts

Re: Edit a list of Strings to action

2011-10-23 Thread roger
http://struts.1045723.n5.nabble.com/Edit-a-list-of-Strings-to-action-tp4931270p4931445.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Edit a list of Strings to action

2011-10-23 Thread Jyothrilinga Rao
Hi, I need to display a list of String objects and let the user edit them, when the user submits the forms my List should be having the updated values. *Action: **private* List inputStrings; * public* String execute() { *if*(inputStrings==*null*){ inputStrings = *new* ArrayList(); inputStrings