0 Replies Latest reply on Aug 8, 2011 1:08 PM by u j

    header of popup panel not updated if triggered in datatable

    u j Novice

      I trigger an edit popup similar as in the showcase




      with the following code:


      <rich:popupPanel id="editPane"

      autosized="true" modal="true" domElementAttachment="form">

      <f:facet name="header">


      value="#{bean.editProm.name}" /> <!--  NOT UPDATED AFTER FIRST POPUP -->


      <h:panelGrid columns="1" id="editGrid" >


      <h:outputText value="#{msg.Name}" />

      <h:inputText value="#{bean.editProm.name}" id="name" />  <!--  UPDATED AFTER FIRST POPUP -->


      However, only the first time the header text shows the correct current item text. After that, the text remains the same and is not updated when clicking in another row. The same value is updated correctly in the body of the popup. The same occurs if using the header attribute instead of the facet.

      RichFaces 4.0.0 Final.