Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Nisha Gor   on Apr 11 In Java Category.

  
Question Answered By: Mike Stephens   on Apr 11

if you want to do it with HTML table, you can write the following:


<f:view>
<table border="1">
<tr>
<td>
<h:selectOneRadio layout="pageDirection" id="myRadioButton">
<f:selectItem itemValue="0" itemLabel="Not Specified"/>
<f:selectItem itemValue="1" itemLabel="Person: "/>
</h:selectOneRadio>
</td>
<td valign="bottom">
<h:inputText id="myTextBox" required="true" />
</td>
</tr>
</table>
</f:view>

i have set the table border to 1 to see what is happening.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Another JSF question Or get search suggestion and latest updates.


Tagged: