• Post Reply Bookmark Topic Watch Topic
  • New Topic

Assistance with Datatable and Checkbox  RSS feed

 
Demian Seiler
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have searched through some of the other posts and found some good info, but I am still trying to figure out how to display a datatable using the tomahawk datatable component.

I have 2 tables and corresponding dto beans. The tables are Course Type and Course. The course table has the foreign key of course type id.

I want to display the following in JSF, but have been unable to do so. Any help would be appreciated.


<!-- *************************** BEGIN HTML ****************** -->
<html>
<body>
<table width="300">
<tr>
<td colspan="2">
Online Course
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course A
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course B
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course C
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course D
</td>
</tr>
<tr>
<td colspan="2">
In Class Course
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course E
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course F
</td>
</tr>
<tr>
<td colspan="2">
Video Course
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course G
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course H
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<input type="checkbox" />Course I
</td>
</tr>
</table>
</body>
</html>
<!-- *************************** END HTML ****************** -->
Thanks,

Demsei
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!