Ooh... he's not talking about dataTables... he's talking about html tables.

Kevin, I'd suggest you get a book on JSF, to get you started.

What you want here is an h:panelGrid (for the table), an h:panelGroup(for each row), and for the input components... h:inputText, h:selectOneRadio, and h:selectBooleanCheckbox.

e.g.

<h:panelGrid>
   <h:panelGroup>
      <h:inputText .../>
   </h:panelGroup>
   <h:panelGroup>
      <h:selectOneRadio>
         <f:selectItems .../>
      </h:selectOneRadio>
   </h:panelGroup>
   ...
</h:panelGrid>

Don't use h:dataTable unless you are displaying some kind of data collection.

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

kevin_zhai wrote:
Hi Simon:
       It's not img,the html code just like this:
========
  <table>
 <tr>
   <td class="SCS_Value_c">
   <input type=text name="num" size=5 class="input_text_df"
disabled>&nbsp;ULD
   </td>
   .
   .
 </tr>
 <tr>
    <td class="SCS_Value_c">
        <input type=radio name="o1" disabled>&nbsp;UCR2U<BR>
        <input type=radio name="o1" disabled>&nbsp;UCR2K
    </td>
    .
    .
 </tr>

<tr>
   <td class="SCS_Value_c">
   <input type=text name="num">
   </td>
   .
   .
 </tr>

 <tr>
   <td class="SCS_Value_c">
   <input type=checkBox name="num">
   </td>
   .
   .
 </tr>
 <tr>
 .......
 </tr>
 .
 .
</table>
========

the picture just show,what's I need  to implement table,
how can I implement use jsf?,I don't know.


best regards



Reply via email to