Pessoal... To precisando de uma ajuda de vcs...
Tenho um ModalPanel que contém um ComboBox dinâmico e quando seleciono alguma opção na combo e aciono o botão de inclusão, ele simplesmente não executa a inclusão! Coloquei um break point dentro do método de inclusão, mas ele nem entra nesse método. Alguém sabe pq isso ocorre?
<rich:modalPanel id="incluirIdiomaPanel" autosized="true" width="250">
<f:facet name="header">
<h:outputText value="Incluir Idioma" />
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/close.png" id="hidelinkIdioma" />
<rich:componentControl for="incluirIdiomaPanel"
attachTo="hidelinkIdioma" operation="hide" event="onclick" />
</h:panelGroup>
</f:facet>
<h:form>
<rich:messages style="color:red;"></rich:messages>
<h:panelGrid columns="1">
<a4j:outputPanel>
<h:panelGrid columns="2">
<h:outputText value="Idioma: " />
<rich:comboBox id="somIdioma"
value="#{manterCurriculoBean.idiomaSelect}">
<f:selectItems value="#{manterCurriculoBean.listaIdiomasSelect}" />
</rich:comboBox>
</h:panelGrid>
<a4j:commandButton value="Incluir"
action="#{manterCurriculoBean.incluirIdioma}"
oncomplete="#{rich:component('incluirIdiomaPanel')}.hide();"
reRender="tbIdioma" />
<a4j:commandButton value="Cancelar"
onclick="#{rich:component('incluirIdiomaPanel')}.hide();return false;" />
</a4j:outputPanel>
</h:panelGrid>
</h:form>
</rich:modalPanel>
Valeu!