jsf - How to use ajax to re-render selectManyCheckbox from selectOneRadio -


i'm trying use selectoneradio redraw of components (namely enabling/disabling them). i've tried using id of selectmanycheckbox; didn't work. tried putting selectmanycheckbox inside of h:panelgroup; didn't work. i'm pretty sure tags created, since don't know how else work.

this have far:

    <tr:selectoneradio id="usefilterchoices" value="#{randomcardbean.usefilters}">         <f:selectitem itemlabel="all cards" itemvalue="allcards"/>         <f:selectitem itemlabel="filter category" itemvalue="somecards"/>         <f:ajax event="click" render="categorychoicesbox"/>     </tr:selectoneradio>      <tr:selectmanycheckbox id="categorychoicesbox" disabled="#{randomcardbean.filterdisabled}" value="#{randomcardbean.selectedfilters}">         <f:selectitems value="#{randomcardbean.filterchoices}"/>     </tr:selectmanycheckbox> 

i'm using selectoneradio because want able extend filter options eventually. on appreciated!


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -