Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14216

extendedDataTable: ajax loading of rows does not work in ui:repeat

    Details

    • Steps to Reproduce:
      Hide
      1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richExtendedDataTable/simple.xhtml?templates=uirepeat&atts=%7B%22clientRows%22:%2218%22%7D (will set @clientRows to 18 and @templates to uirepeat)
      2. scroll down in the table
      3. data will load correctly
      4. scroll up/down in table
      5. no data will be loaded and have an error status with:
        error[]: Received 'error@malformedXML' event from <div id=form:containerUiRepeat:1:richEDT class=rf-edt extended-data-table ...>
        error[]: [status=200] The specified id: form:containerUiRepeat:1:richEDT:0:n was not found in the page.
        
      Show
      deploy Metamer and open http://localhost:8080/metamer/faces/components/richExtendedDataTable/simple.xhtml?templates=uirepeat&atts=%7B%22clientRows%22:%2218%22%7D (will set @clientRows to 18 and @templates to uirepeat) scroll down in the table data will load correctly scroll up/down in table no data will be loaded and have an error status with: error[]: Received 'error@malformedXML' event from <div id=form:containerUiRepeat:1:richEDT class=rf-edt extended-data-table ...> error[]: [status=200] The specified id: form:containerUiRepeat:1:richEDT:0:n was not found in the page.
    • Workaround Description:
      Hide

      Use a4j:repeat instead of ui:repeat

      Show
      Use a4j:repeat instead of ui:repeat

      Description

      The ajax-loading of rows in EDT (using @clientRows) inside ui:repeat is not working correctly. The data are loaded only after first request. Following requests lead to error.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: