3 Replies Latest reply on Jun 11, 2012 5:40 AM by Karsten Wutzke

    rich:inplaceInput not calling change listener when pressing RET (showControls = true, saveOnBlur = false)

    Karsten Wutzke Expert



      I have the following inplace input:

      {code:xml}  <rich:inplaceInput value="#{treeNode.name}"




                           valueChangeListener="#{nodeManager.updateNodeName}" />{code}


      When pressing RETURN the component shows the new, changed text, but the change listener is never called. I always have to explicitly click the green accept button to do so.


      The thing is, that I want a blur to discard any changes, but interpret pressing RETURN as an accept. How can I achieve this?


      Is this a bug? Is the combination of showControls = true + saveOnBlur = false incompatible?