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

rich:dataTable doesn't generate cellspacing = 0 and cellpadding = 0

    Details

    • Steps to Reproduce:
      Hide

      Try using CSS:

      .rf-dt
      {
          border-collapse: separate;
      }
      

      and create any JSF rich:dataTable. When viewing save the generated table HTML to disk, edit the HTML to add cellspacing="0" to see the difference.

      Show
      Try using CSS: .rf-dt { border-collapse: separate; } and create any JSF rich:dataTable. When viewing save the generated table HTML to disk, edit the HTML to add cellspacing="0" to see the difference.
    • Estimated Difficulty:
      Low

      Description

      I often have the requirement for rounded tables, with RF 4 datatables this isn't possible at all. For a rounded HTML table to render correctly, the CSS attribute border-collapse: separate; must be used because border-collapse: collapse; is incompatible with CSS 3, see http://vamin.net/examples/rounded_tables2.html (view source). border-collapse: separate; however needs cellspacing = 0, which isn't produced by RF datatables, so rounded borders with datatables can never be accomplished without visual artifacts.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  kwutzke Karsten Wutzke
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: