There seems to be a problem using the x:radio component with the RI. I
am using a dataTable to list each of the options, one per row. I
therefore need to use an expression to provide the index attribute. The
RI resolves the value of the expression to a Long, however HtmlRadio
casts the value of the expression to an Integer. The RI returns a Long
value for the expression #{0}. As a fix, I have changed the cast to Number:
Number v = vb != null ? (Number)vb.getValue(getFacesContext()) :
null;
Is this a bug with the RI or MyFaces?
Thanks
Peter