SelectOneRadio with converter and commandButton with immediate
Hi,
Given the following jspx:
<h:selectOneRadio value="#{bean.currentCar}" required="true">
<f:selectItems value="#{bean.carList}"/>
<f:converter converterId="carConverter"/>
</h:selectOneRadio>
<h:commandButton value="Do it" immediate="true" action="#{bean.doItAction}"/>
When a value is selected and the button is pressed the selected value will disappear. This happens because the immediate attribute on the commandButton prevents that the Converter will be called. Of course when the immediate attribute on the selectOneRadio is set to true the selected value will be correclty displayed (but you dont want that because then validation will happen too).
Why is it that if you use a SelectOneRadio with String values the value is still selected but when you use an object and a converter not?

