title: Primefaces selectOne Radio button not working as required
body: <p>I have a condition where i need to have two radio buttond with related data in the below the buttons.</p>
  
  <p>i did something like below but the selected radio button value is not getting in the backed been. Please correct where i am going wrong</p>
  
  <pre><code>&lt;table&gt;
   &lt;tr&gt;
   &lt;td&gt;
   &lt;h:selectOneRadio  value="#{beenObject.adressSelection}"&gt;
   &lt;f:selectItem itemValue="Employer" itemLabel="Employer" /&gt;
   &lt;/h:selectOneRadio&gt;.
  &lt;/td&gt;
  
    &lt;td&gt;
   &lt;h:selectOneRadio value="#{beenObject.adressSelection}"&gt;
    &lt;f:selectItem itemValue="Consultant" itemLabel="Consultant" /&gt;
    &lt;/h:selectOneRadio&gt;.
  
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;h:outputText value="#{beenObject.consultentDetailsString}"&gt;         
    &lt;/h:outputText&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
    &lt;td&gt;
    &lt;h:outputText value="#{beenObject.employerDetailsString}"&gt;         
    &lt;/h:outputText&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/table&gt;
  </code></pre>