0 Replies Latest reply on Dec 6, 2007 7:31 AM by Thomas Modeneis

    Rich Suggestion box

    Thomas Modeneis Newbie

      Hy All.

      I´m using this tag:

      
      <h:panelGroup style="align:center">
       <h:outputText value="Digite o nome do aluno:" />
       <h:inputText value="#{alunosMB.nomeConsulta}" id="pesquisaAluno" />
       <rich:suggestionbox for="pesquisaAluno" suggestionAction="#{alunosMB.autocompleteNome}" fetchValue="" var="aluno" minChars="1" requestDelay="800" width="300" height="150" border="1" >
       <h:column>
       <h:inputHidden id="idAlunoHidden" value="20" />
       <h:commandLink id="commandLinkEditarAluno" value="#{aluno.nome}" action="#{alunosMB.editarAlunoSelecionado}"></h:commandLink>
       </h:column>
       </rich:suggestionbox>
       <h:commandButton value="listar" action="#{alunosMB.listar}" />
       </h:panelGroup>
       <h:outputText value="" />
      
       <rich:dataTable id="tabelaAlunos" rendered="#{! empty alunosMB.alunosByName}" value="#{alunosMB.alunosByName}" var="aluno" border="0" styleClass="tabelaDadosGC" align="center">
       <h:column id="colunaNome">
       <f:facet name="header">
       <h:outputText value="Nome" />
       </f:facet>
       <h:commandLink id="linkParaModal" value="#{aluno.nome}" action="#{alunosMB.editarAluno}" />
       </h:column>
       <h:column>
       <f:facet name="header">
       <h:outputText value="CPF" />
       </f:facet>
       <h:outputText value="#{aluno.cpf}" />
       </h:column>
       <h:column>
       <f:facet name="header">
       <h:outputText value="Telefone" />
       </f:facet>
       <h:outputText value="#{aluno.telefone}" />
       </h:column>
       </rich:dataTable>
      
      


      Its allways fine when i use these 3 jars:
      ajax4jsf-1.1.0.jar
      oscache-2.3.jar
      richfaces-3.0.0.jar

      BUT, if i try to update richFaces to newest version:
      richfaces-ui-3.1.2.SP1

      suggestion box appear, but when i click on link, nothing happens!! =(

      Anyone know how can i fix this probblem ?

      Thanks alot for attention.