Pessoal estou tentando renderizar um panelGroup apos o usuario alterar o valor de um combo.
No entanto mesmo apos altera-lo meu componente não esta renderizando. Se alguém puder me ajudar agradeço.
<h:form>
<h:outputText value=“Número de Lojas” />
<h:selectOneMenu value="#{filialMB.numero}" valueChangeListener="#{filialMB.carregarLista}" >
<f:selectItems value="#{filialMB.quantidadeLoja}" />
<f:ajax execute="<a class="mention" href="/u/form">@form</a>" render=“painel” />
</h:selectOneMenu>
<h:panelGroup id=“painel” rendered="#{filialMB.isVisible}">
</h:panelGroup>
public FilialMB
{
private boolean isVisible;
public List quantidadeLoja;
public void carregarLista(ValueChangeEvent evento) {
isVisible=true;
}
public FilialMB() {
getQuantidadeLoja();
}
public List getQuantidadeLoja() {
this.quantidadeLoja = new ArrayList();
for (int i = 1; i < 10; i++)
this.quantidadeLoja.add(new SelectItem(String.valueOf(i)));
return quantidadeLoja;
}
public boolean getIsVisible()
{ return isVisible;
}
//GETTER E SETTERS
}
