HtmlLabel label = new HtmlLabel(); label.setFor(slot.getKey().toString()); label.setText(addLabelTerminator(slot.getLabel())); label.setClasses(getLabelClasses()); label.setStyle(getLabelStyle()); container.addChild(label);
if (slot.isReadOnly()) { container.addChild(new HtmlText(addLabelTerminator(slot.getLabel()), false)); } else { HtmlLabel label = new HtmlLabel(); label.setFor(slot.getKey().toString()); label.setText(addLabelTerminator(slot.getLabel())); label.setClasses(getLabelClasses()); label.setStyle(getLabelStyle());  container.addChild(label); }
        private HtmlInlineContainer createContainer(MetaSlot slot, HtmlComponent component, HtmlFormComponent validated, HtmlValidator validator) {            HtmlInlineContainer container = new HtmlInlineContainer();                        if (! isLabelExcluded()) {                HtmlLabel label = new HtmlLabel();                label.setFor(slot.getKey().toString());                label.setText(addLabelTerminator(slot.getLabel()));                label.setClasses(getLabelClasses());                label.setStyle(getLabelStyle());                container.addChild(label);            }                        container.addChild(component);                        if (validator != null && !isHideValidators()) {                validator.setClasses(getValidatorClasses());                container.addChild(validator);            }                        return container;        }