<t:radio> include the row number in name attribute of <input> when using
<t:dataTable> to display radio buttons. This is a problem because the
browser does not see all of the buttons in the same group.
***
* JSF Example
***
<h:panelGrid id="panelGrid" columns="6">
<h:outputLabel value="Level of Data to Summarize"
for="infoLevelButtons" />
<t:dataTable id="dataTable" newspaperColumns="2"
var="row" value="#{infoLevelButtons.dataModel}"
rowIndexVar="index">
<t:selectOneRadio id="infoLevelButtons" layout="spread">
<f:selectItems value="#{infoLevelButtons.selectList}" />
</t:selectOneRadio>
<h:column>
<t:radio for="infoLevelButtons" index="#{index}" />
</h:column>
</t:dataTable>
***
* Resulting HTML
***
<label><input type="radio" name="form:dataTable:0:infoLevelButtons"
value="Detail" /> Detail</label>
***
* Expected HTML
***
<label><input type="radio" name="form:dataTable:infoLevelButtons"
value="Detail" /> Detail</label>
Do I need to report this as an issue in JIRA?
Paul Spencer