aspose file tools*
The moose likes Struts and the fly likes Checkbox within a data table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Checkbox within a data table" Watch "Checkbox within a data table" New topic
Author

Checkbox within a data table

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
Hi
I have a datatable in a separate jsp which is part of a search functionality. The main search.jsp contains search criterias for searching people's orders by person names. I want to add a checkbox feature to the returned order details to transfer the selected orders to dispatch ejb in Struts 1.x. Unfortunately the datatable returned is not in a form, so can't use the standard Struts html:checkbox. Please suggest how to go about adding the checkbox to the returned datatable by any means.

Thanks in advance
Thomas
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use a regular checkbox?
thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
please elaborate what is a regular checkbox. I am new to JSP and Struts

Thanks
Thomas
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

A plain old HTML checkbox: just use whatever mechanism you're already using to get form data.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checkbox within a data table