This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 Iterator Radio Tag Display Issue. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Iterator Radio Tag Display Issue." Watch "Struts2 Iterator Radio Tag Display Issue." New topic

Struts2 Iterator Radio Tag Display Issue.

sam jsem

Joined: Mar 12, 2011
Posts: 9

I am having the following problem in Struts2: I have an ModelDriven Action. In that Action, ActionA I am preparing an object, ObjectA, for display. However, this is a complex object: ObjectA has as a properties List<ObjectB>. When the ActionA's execute method has completed, I display certain String properties of ObjectA in a JSP. I then iterate over ObjectA's List<ObjectB> also in the same JSP. What follows is the code for the iteration I conduc

The issue is that the radio button is not rendering or passing the value I want properly. I want the 'id' property in ObjectB in the iterator to contain the ObjectB's 'emailAddress' value. This value should then be subseqently passed to other actions. Could someone please help to explain why it is not rendering correctly, and what the right answer is to get it to render correctly? Any help would be greatly appreciated.

The definition of ObjectA and ObjectB is as follows:

I agree. Here's the link:
subject: Struts2 Iterator Radio Tag Display Issue.
It's not a secret anymore!