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

    header of popup panel not updated if triggered in datatable

    bcn

      I trigger an edit popup similar as in the showcase

       

      http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=dataTable&sample=dataTableEdit&skin=blueSky

       

      with the following code:

       

      <rich:popupPanel id="editPane"

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

      <f:facet name="header">

      <h:outputText

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

      </f:facet>

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

      <h:panelGroup>

      <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.

       

      Thanks