This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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.
 
GeeCON Prague 2014
 
subject: Checkbox within a data table