File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Iterator Radio Tag Display Issue." Watch "Struts2 Iterator Radio Tag Display Issue." New topic
Author

Struts2 Iterator Radio Tag Display Issue.

sam jsem
Greenhorn

Joined: Mar 12, 2011
Posts: 9
All,

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: http://aspose.com/file-tools
 
subject: Struts2 Iterator Radio Tag Display Issue.