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

extendedDataTable: Header facet render problem in RichFaces 4

    Details

    • Sprint:
      4.3.0.CR1 - Bug fixes
    • Steps to Reproduce:
      Hide

      Attached is a maven project 'testapp.zip'.
      Build the test application like this:
      unzip testapp.zip
      cd testapp
      mvn package

      You can find 'case00768901.war' in the ./target directory. Deploy it to EAP 6.0 and access 'http://localhost:8080/case00768901/'. There will be a link named 'Link to extendedDataTable'. Follow the link and you'll see a sample extendedDataTable page (taken from RichFaces Showcase). Click a checkbox of any row of the table and you will see the table header changes slightly.

      Show
      Attached is a maven project 'testapp.zip'. Build the test application like this: unzip testapp.zip cd testapp mvn package You can find 'case00768901.war' in the ./target directory. Deploy it to EAP 6.0 and access 'http://localhost:8080/case00768901/'. There will be a link named 'Link to extendedDataTable'. Follow the link and you'll see a sample extendedDataTable page (taken from RichFaces Showcase). Click a checkbox of any row of the table and you will see the table header changes slightly.

      Description

      extendedDataTable header renders OK if entire table or panel that contains it are rendered. if I render just the header row using render="table@header" format, the header row re-renders, but its format is lost (refer to the attached screenshots). Checkbox in column 1 is the trigger for this issue.

      • Header contains 'select all' checkbox, each data row contains row-level checkbox.
      • Click on data row will rerender the header row and this is event that causes alignment to go off.
      • If I rerender the entire table and/or panel, this does not happen, but causes undesirable performance problems when clicking individual rows in succession due to delays from jsf 2 / richfaces 4 render cycles.

      It looks like the header-only render is trying to do a vertical center of header cell contents while the panel/table render is not, causing the cell contents to slide down vertically in the header cell.

      This problem occurs in every browser I tested: IE 9, Firefox 16, Firefox 17, and Chrome 23.0

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                ivassile Ilia Vassilev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified