JSF equivalent to <td> and <tr>

what are the JSF components for html td and trThanks
[66 byte] By [veerjaa] at [2007-11-27 8:15:16]
# 1
Hi Veerja,why don't you want to use <html>, <td> and <tr>? Maybe you can use instead of <table> a panelGrid. With panelGrids you needn't to use <td> and <tr>.RegardsMartin
mwinandya at 2007-7-12 20:00:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Let me answer the question this way. <td> <tr> are HTML tags used inside an HTML <table>. They are not components.

JSF is a component technology that is *supposed* to be separate of the view device. That is why JSF has "Render Kits" and has one out of the box for HTML.

There is no such thing as a <td> component. Now you might find a JSF component like h:datatable that creates and HTML table. It uses h:column which is roughly equivalient to producing <td>. It has a datamodel that is iterated over producing the equivalent of <tr>. There are other 3rd party versions of table as well.

smurray_eriea at 2007-7-12 20:00:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

JSF out of the box does not have a component for HTML, unfortunatelly you have to put that tag directly into your JSP.

If you look at a third party framework like Trinidad you will see that they actually provide a component that handles the HTML, HEAD, and BODY tags for you <tr:document>

smurray_eriea at 2007-7-12 20:00:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...