When I try to open the page, I get:
javax.el.PropertyNotFoundException: pagina.xhtml @3,54 value="#{meuManagedBean.valores}": Target Unreachable, identifier 'meuManagedBean' resolved to null
Considering:
<h:form>
<p:outputLabel id="formulario" value="#{meuManagedBean.label}"/>
<p:selectOneRadio id="grupo" layout="custom" value="#{meuManagedBean.valores}">
<f:selectItem itemLabel="Verdadeiro" itemValue="true"/>
<f:selectItem itemLabel="Falso" itemvalue="false"/>
<p:ajax event="keyup" update="formulario"/>
</p:selectOneRadio>
<p:panelGrid columns="4">
<p:radioButton for="grupo" itemIndex="0"/>
<p:outputLabel value="Verdadeiro"/>
<p:radioButton for="grupo" itemIndex="1"/>
<p:outputLabel value="Falso"/>
</p:panelGrid>
</h:form>
Why does the error occur only in EL of p:selectOneRadio
and not p:outputLabel
? How to solve?