File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use checkbox in iterate tag ?

 
suji pra
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to display a table of rows using iterate tag.One of the column is a checkbox with value as an some id. I read that there is no "indexed" attribute available for tag html:checkbox . Then how do I implement this functionality in Struts way . I know we can use JSP and javascript to help me out . But as I need to avoid these as much as possible, please suggest me a way .
Thanx
 
Jason Menard
Sheriff
Posts: 6450
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like this:
 
Rick Bos
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I am also trying to use the html:multibox.
My data displays correctly, but it is not updating
the values in my bean when the user selects or deselects a check box.
Here is my JSP:
.
The input to the JSP is a map of WorkerBeans.
The WorkerBean has methods for setting the selected days and languages:

The set methods are not being called ( I logged the calls to a file).
Any help would be appreciated.
[ January 25, 2003: Message edited by: Rick Bos ]
[ January 25, 2003: Message edited by: Rick Bos ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic