|
Hi, I have no idea on how to include selectOneRadio
elements inside a datatable in order for each f:selectItem to be associated to
a different row, but all the elements belonging to the same radiobutton group. I
am currently getting independent radiobutton elements for each row but I need
all of them to belong to the same group in order to allow only one of the rows
to be selected at once. In case it helps I am currently using the code: <h:dataTable value="#{searchTreeBean.dataFieldList}"
var="dataField"> <h:column> <h:outputText value="#{dataField.description}"/> <f:verbatim>&nbsp;&nbsp;&nbsp;</f:verbatim> </h:column> <h:column> <h:inputText value="#{dataField.searchString}"
maxlength="#{dataField.entryLength}" size="#{dataField.entrySize}"/> <f:verbatim>&nbsp;&nbsp;&nbsp;</f:verbatim> </h:column> <h:column> <h:selectBooleanCheckbox
value="#{dataField.returnSelected}" /> </h:column> <h:column> <h:selectOneRadio
id="myRadioButton"> <f:selectItem itemValue="#{dataField.orderBySelected}"
/> </h:selectOneRadio> </h:column> </h:dataTable> Any ideas? Regards, JV |
- HELP with h:selectOneRadio inside h:dataTable Jorge Vásquez
- Re: HELP with h:selectOneRadio inside h:da... Martin Grotzke
- RE: HELP with h:selectOneRadio inside ... Jorge Vásquez
- RE: HELP with h:selectOneRadio ins... Jorge Vásquez
- RE: HELP with h:selectOneRadio... Jorge Vásquez
- RE: HELP with h:selectOneRadio inside h:da... Watson Mathew \(KVWA 431\)

