I'm using the following code to render my button to only appear with the status Waiting for approval but does not occur.
<a4j:commandButton value="Enviar Solicitação" action="#{solicitacaoImpressaoBean.inserirSolicitacao}"
styleClass="espacoBotao" render="@form" rendered="#{solicitacaoImpressaoBean.peg.status.descricao eq 'Aguardando Aprovação'}" />
Does anyone know what's wrong with the code?