Hello
I'm new to
JSF and Primefaces and I want to switch between panels dependening on the selection the user makes using an p:selectOneRadio.
This is the xhtml:
and this is the relevant part of the UserBean
The two p:outputLabels out and out2 get updated while switching the radio buttons and changePayment() gets also called, but the panels are always both visible no matter which radio button is chosen.
So how is it possible to do this?