2 Replies Latest reply on Jan 20, 2011 4:57 AM by pschuett

    Problem with rich:inplaceInput

    pschuett

      Hallo,

      during my migration from JSF 1.2 / richfaces 3.3 to JSF 2.0 / richfaces 4.0 I have problems with rich:inplaceInput.

       

      <rich:inplaceInput

                                          id="myAttId" minInputWidth="60px"

                                          value="#{myBean.myAtt}"

                                          disabled="#{!myBean.admin}"

                                          render="userRegion" immediate="true">

                                          <a4j:ajax event="change" render="userRegion"/>

                                      </rich:inplaceInput>

       

      This control does not react to "Enter" after finishing the input.

      The changing of myBean.myAtt is never invoked.

      When I remove the a4j:ajax tag nothing changed.

       

      As a workaround I use now

       

          <h:inputText id="myAttId" value="#{myBean.myAtt}" size="4" disabled="#{!myBean.admin}" render="otherControl">

                  <a4j:ajax immediate="true" event="change" render="otherControl"/>

          </h:inputText>

       

      This works but it does not look as nice as rich:inplaceInput  ;-)

       

      Thanks for any hint.

       

      Ciao

        Peter Schütt