2 Replies Latest reply on Mar 19, 2013 8:51 AM by Migore S

    Weird behavior of select:rich

    Migore S Newbie

      Hi,

       

      I have a form with a select:rich in it, but it is not populating properly, it submits the value, but when I enter the screen to edit it doesn't populate.

       

       

      {code:xml}

      <rich:select id="pai" enableManualInput="true" defaultLabel="#{msgs.geral_digite_para_buscar}"

                   value="#{transacaoBean.paiId}" styleClass="uniformselect">

          <f:selectItems value="#{transacaoBean.transacoes}" var="t" itemValue="#{t.id}" itemLabel="#{t.codigo} - #{t.nome}"/>

      </rich:select>

      {code}

       

       

       

      If I try to use h:selectOneMenu it works:

       

      {code:xml}

      <h:selectOneMenu id="pai" value="#{transacaoBean.paiId}" styleClass="uniformselect">

          <f:selectItems value="#{transacaoBean.transacoes}" var="t" itemValue="#{t.id}" itemLabel="#{t.codigo} - #{t.nome}"/>

      </h:selectOneMenu>

      {code}

       

      Any ideas?