title: How do I disable a PrimeFaces selectOneRadio using PF widgetVar?
body: <p>I have a JavaScript function that's called when a selectManyCheckbox selection is made.  In that function, depending on the selections, I need to enable or disable various form elements on the page.  I'm using PrimeFaces widgetVars to get a handle on the element object.  I've been able to figured out how to enable/disable every other type of page element except for the selectOneRadio group.  </p>
  
  <p>The PrimeFaces widgetVar object provides disable and enable functions for a few element types such as inputText, selectOneMenu and calendar.</p>
  
  <pre><code>PF('widget_dropdown').disable() and PF('widget_dropdown').enable();
  </code></pre>
  
  <p>The PrimeFaces widgetVar object provides a function to get the JQuery object like this:</p>
  
  <pre><code>PF('widget_radio').getJQ();
  </code></pre>
  
  <p>For checkboxes I was able to use the JQuery functions such as:</p>
  
  <pre><code>PF('widget_checkbox').getJQ().attr("disabled",true) and PF('widget_checkbox').getJQ().removeAttr('disabled');
  </code></pre>
  
  <p>But, for the selectOneRadio, I've tried many different variations of JQuery solutions that work for other folks, but will not using PF widgetVar or the JQuery object returned by the PF widgetVar.  Anyone have ideas? </p>