Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts 2 - Radio and CheckBox Inside Iterator Tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Radio and CheckBox Inside Iterator Tag" Watch "Struts 2 - Radio and CheckBox Inside Iterator Tag" New topic
Author

Struts 2 - Radio and CheckBox Inside Iterator Tag

Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 56
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

Joined: Jul 17, 2012
Posts: 94

for first page you can do is that after Iterator provide select tag

and on second page use


Learning some thing New Every Day
Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 56
Thanks Yogesh!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 - Radio and CheckBox Inside Iterator Tag
 
Similar Threads
Struts 2 checkboxlist error - list key could not be resolved
Struts2: Retern all the values inside the list in my Action
struts 2 action on Jsp loa
Hibernate Query
accesing value from list of string