[richfaces-issues] [JBoss JIRA] (RF-11738) rich:dataTable doesn't generate cellspacing = 0 and cellpadding = 0

Brian Leathem (Updated) (JIRA) jira-events at lists.jboss.org
Thu Nov 24 22:59:40 EST 2011


     [ https://issues.jboss.org/browse/RF-11738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-11738:
-------------------------------

             Fix Version/s:     (was: 4.1.0.Final)
        Steps to Reproduce: 
Try using CSS:
{code}
.rf-dt
{
    border-collapse: separate;
}
{code}

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.

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

                    Labels: cellpadding cellspacing  (was: cellpadding cellspacing dataTable)
    Workaround Description:   (was: *** There's no workaround for this ***)
               Component/s: component-tables
           Forum Reference: http://community.jboss.org/thread/175333, http://community.jboss.org/message/610406  (was: http://community.jboss.org/thread/175333, http://community.jboss.org/message/610406)

    
> rich:dataTable doesn't generate cellspacing = 0 and cellpadding = 0
> -------------------------------------------------------------------
>
>                 Key: RF-11738
>                 URL: https://issues.jboss.org/browse/RF-11738
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.1.0.CR1
>            Reporter: Karsten Wutzke
>              Labels: cellpadding, cellspacing
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list