I'm thinking this should be pretty basic, but I'm trying to use the onchange event of a selectOneRadio to essentially toggle two separate h:panelGrid sections from show to hide. While I can use the event to enable or disable the relevant controls within the panelGrids, I would prefer to hide the non-accessible controls altogether by simply manipulating the grid directly. My assumption would be to use the h:panelGrid in concert with an a4j:support addition, but I'm unable to achieve the results I'm after.
Are there examples of methods or approaches to doing this somewhere? Maybe I need a different approach to the UI design?
you can refer to this link-