Enhance table rendering for components with header/footer facets
----------------------------------------------------------------

                 Key: TRINIDAD-650
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-650
             Project: MyFaces Trinidad
          Issue Type: New Feature
          Components: Components
    Affects Versions: 1.0.2-core
            Reporter: Andrew Robinson


There is no current way to style the header and footer facets of trinidad 
components that render as tables. Not only do they tend to use the same style 
as content columns, but they are also rendered in the tbody element instead of 
thead and tfoot elements.

Desired changes (panelFormLayout component is a prime candidate):

1) footerStyleClass attribute on the component
2) Use af|panelFormLayout::footer-cell instead of 
af|panelFormLayout::conent-cell for the footer facet
3) render the footer-cell inside of a tfoot element instead of inside the tbody

It would also be nice for panelFormLayout to support a header facet (treated 
like the footer facet) and to have a skin style selector for the table element 
(right now the af|panelFormLayout is applied to the DIV element, and directly 
under that DIV, a TABLE element is rendered with no style classes that can be 
customized). I would propose af|panelFormLayout::container or 
af|panelFormLayout::content for the TABLE element  possibly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to