[ 
https://issues.jboss.org/browse/RF-11738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645669#comment-12645669
 ] 

Brian Leathem commented on RF-11738:
------------------------------------

I agree the extendedDataTable and dataTable should have the same defaults for 
cellpadding and cellspacing.  However, changing the defaults will have an 
impact on the L&F of existing applications, and we will have to do so carefully.

To add the cellpadding and cellspacing, the logical place to do so is in 
_UIDataTableBase_ which will enable to attribute in the following classes:
||Class|| Current cellpadding||Current cellspacing||
|_AbstractDataTable_           | _unset_ | _unset_ |
|_AbstractExtendedDataTable_   | 0 | 0 |
|_AbstractCollapsibleSubTable_ | _unset_ | _unset_ |
                
> 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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to