• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Struts2 Iterator Radio Tag Display Issue.

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:

Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic