--- [EMAIL PROTECTED] wrote: > Say, if I want to display an item's value from the > map, what is the syntax? > I tried this, but obviously this was too intuitive. > <s:property value="someMap[someKey]" />
That's what I do. With names changed to protect the innocent, here's one of my textfields: <s:textfield name="exDataMap[%{#result.id}].%{which}[0].foo"/> Each map entry is a collection of objects with a foo property. The %{which} is because each map entry has a few different properties that I need to display based on a request parameter. #result is a set variable hence the # to distinquish it from the stack's root. It's a reasonably complex data structure I'm dealing with, but so far I haven't had any issues, including dynamically generating additional rows via JavaScript. d. ____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]