You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Noeth (JIRA)" <de...@myfaces.apache.org> on 2018/03/21 14:03:00 UTC

[jira] [Created] (TOBAGO-1881) Label-Facet of tc:section and tc:box are different

Henning Noeth created TOBAGO-1881:
-------------------------------------

             Summary: Label-Facet of tc:section and tc:box are different
                 Key: TOBAGO-1881
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1881
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Core
    Affects Versions: 4.1.0
            Reporter: Henning Noeth


The label-facet of tc:section is different compared with tc:box.

On tc:section the facet only allows tc:out.
On tc:box, all added components are rendered in the label-facet such as: tc:button, tc:link, tc:out...

The rendering of tc:out is also different.
On tc:section it replaces the label-attribute. No surrounding DIV, no ID...
In tc:box, the tc:out component is rendered with surrounding DIV and an ID.
You should use labelLayout=skip and compact=true to avoid unnecessary margins.

What should be done?
tc:out should be rendered as in tc:section.
All other components should be rendered as in tc:box.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)