public class OutputTextLayoutDecorator extends UIComponentFlatSectionLayoutDecorator
As dictated by the JSF spec, CSS styles and style classes applied to an HtmlOptionText are wrapped in an HTML span tag. Therefore you must use CSS 'display: block' if you want to use margins or padding around the HtmlOutputText.
FlatSectionLayoutDecorator.State
Constructor and Description |
---|
OutputTextLayoutDecorator(OutputTextLayoutDecoratorConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSectionWidget(String section,
int level,
javax.faces.component.UIComponent container,
UIMetawidget metawidget) |
getSections, getState, isIgnored, stripSection
layoutWidget, startContainerLayout
endContainerLayout, getDelegate, onEndBuild, onStartBuild
public OutputTextLayoutDecorator(OutputTextLayoutDecoratorConfig config)
protected void addSectionWidget(String section, int level, javax.faces.component.UIComponent container, UIMetawidget metawidget)
addSectionWidget
in class FlatSectionLayoutDecorator<javax.faces.component.UIComponent,javax.faces.component.UIComponent,UIMetawidget>
section
- section text (needs localizing)level
- level of section heading (ie. 0=highest, 1=next level down etc.)Copyright © 2015. All Rights Reserved.