selectOneMenu -> Radio how to change compliation?
Hi!
I have component like this:
<h:selectOneRadio value="#{registerAction.sex}" required="false">
<f:selectItem itemValue="Women" itemLabel="Women"/>
<f:selectItem itemValue="Man" itemLabel="Man"/>
</h:selectOneRadio>
Why server complies me this stuff to those ****!?
<table id="optional:myForm" style="">
<tr>
<td>
<input id="optional:myForm:_1" name="optional:myForm" type="radio" value="Women"></input>
<label>Women</label>
</td>
<td>
<input id="optional:myForm:_2" name="optional:myForm" type="radio" value="Man"></input>
<label>Man</label>
</td>
</tr>
</table>
how to force server to compile those radio to normal HTML radio?
I need to get selected element by Id in js, but this **** can't let me do that!
Regards!
P.S. Or maybe someone tell me how to get selected element by js?

