Description
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.