You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe <fu...@lycos.com> on 2011/05/03 21:58:09 UTC

Re: Struts 2: Does the Indexed List Example Work?

Dave Newton-6 wrote:
> The above JSP still has parens instead of square brackets. 

I tried it both ways, parens last, so I only posted the one JSP.

Chris Pratt:
> If youvare trying to update an existing list make your Action implement Preparable 
> and retrieve the existing list so you can return it when Struts calls getBeanList. 

I got more exceptions, probably because the type conversion didn't know what to do with the beans.
I think we've proven that the functionality doesn't work as documented (if it works at all).  I'm going to work around it by using the list index rather than the bean id value.  That appears to work fine.
Thanks again for the help.

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