Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Radio and CheckBox Inside Iterator Tag

 
Santhosh Kalisamy
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Good day!

We are developing a new application with Struts2.

JavaBean Class


Action Class


Now, I need to display All products on 2 pages. Once page, user has to select maximum of one product (radio button) and other pages user can select any no of products (checkbox).

I have to display all the information about the product with option button/checkbox to select.



I have to display the products on each row with option button, so user can select one product each time.

Please help me! I have tried so many options... nothing working out for me.
 
Yogesh Lonkar
Ranch Hand
Posts: 94
Eclipse IDE Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for first page you can do is that after Iterator provide select tag

and on second page use
 
Santhosh Kalisamy
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Yogesh!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic