I have
<wai:collectionIter value="#{listModel.listRows}" valueVar="listRow" odd="odd" even="even" styleVar="rowStyle">
<tr class="#{rowStyle}">
<td>
<h:selectBooleanCheckbox value="#{listRow.rowSelected}" disabled="#{detailModel.readOnly}">
<c:set target="#{component}" property="id" value="#{listRow.rowData.name}"/>
</h:selectBooleanCheckbox>
</td>
<ui:insert name="columnData"/>
</tr>
</wai:collectionIter>
(where wai:collectionIter is a custom tag)
but the corresponding html code looks like
<td>
<c:set target="javax.faces.component.html.HtmlSelectBooleanCheckbox@10cd160" property="id" value="BusinessUnitNumber"></c:set><input type="checkbox" name="searchForm:j_idt100" /
</td>
I must say that c:set target="#{component}" comes from an example I found elsewhere ...
As I'm not a JSF expert and assuming that it is correct, I expected that the resulting html was something like this:
<td>
<input id="BusinessUnitNumber" type="checkbox" name="BusinessUnitNumber"
</td>
Is it completely wrong or do I miss something else?
Thank you for any help.
Francesco