Re: Getting values from iterated objects

2007-11-17 Thread Dave Newton
The tags support maps, too. http://struts.apache.org/2.x/docs/type-conversion.html Dave --- Kevin Wade <[EMAIL PROTECTED]> wrote: > Thanks for the tip, Dave. However, it's not working > for me. > > I think the problem may be that the "author" objects > that I'm > iterating over is a Set, no

Re: Getting values from iterated objects

2007-11-17 Thread Kevin Wade
Thanks for the tip, Dave. However, it's not working for me. I think the problem may be that the "author" objects that I'm iterating over is a Set, not a List. (These objects are pojos hydrated by hibernate). I might be wrong, but I didn't think Sets are indexable like Lists. No? I sup

Re: Getting values from iterated objects

2007-11-16 Thread Dave Newton
--- Kevin Wade <[EMAIL PROTECTED]> wrote: > What should the textarea's "name" be to get struts2 > to update the specific report.author.bio String? The problem is that you have no association between the "bio" field and a specific report author. One way to create that association is by using arr

Getting values from iterated objects

2007-11-16 Thread Kevin Wade
I'm having a problem with iterators and getting value updates. I've searched the mailing list for hours but I can't seem to hit on a solution. Perhaps I'm searching for the wrong thing. Any insights would be helpful. It seems like it ought to be easy. Let's say I have an object in my ac