Hi,
apperentyl there are a few problems combining a h:selectOneRadio element with ja simple js-function.
According to the tld of this element there are all js-functions (like onclick) supported. but when I use one this there they don't even get rendered in the html-code.
For example:
<script type="text/javascript">
function test() {
alert("Test");
}
</script>
(...)
<h:form>
<h:selectOneRadio value="#{fondsgesellschaft.criteria}" onclick="test()">
<f:selectItem id="item1" itemLabel="Item1" itemValue="1"/>
<f:selectItem id="item2" itemLabel="Item2" itemValue="2" />
</h:selectOneRadio>
</h:form>