I have a problem, I am making a form in primefaces and the following happens to me:
View code xhtml
<p:panel>
<p:selectOneRadio layout="responsive" columns="2" value="#{empresaWizard.empresa.stAceptoMultiswitch}">
<f:selectItem itemLabel="Si" itemValue="1" />
<f:selectItem itemLabel="No" itemValue="0" />
</p:selectOneRadio>
<p:inputText required="true" value="#{empresaWizard.empresa.nbComercial}" label="Nombre de la Empresa" placeholder="Nombre de la Empresa" size="50" "/>
</p:panel>
I would like that when it's state is 1 my input is hidden but I can not do it, some contribution that can help me, I use rendered="# {empresaWizard.empresa.stAceptoMultiswitch} eq 1.Forward thanks