public class LabelGenerator extends BaseComponentGenerator
BaseComponentGenerator.ControlType
dataDictionary
Constructor and Description |
---|
LabelGenerator() |
Modifier and Type | Method and Description |
---|---|
UIComponent |
generate(FacesContext context,
String id)
Dynamically generates a component in a default state
|
UIComponent |
generateAndAdd(FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
Dynamically generates a component for the given property sheet item.
|
addStringConstraintParam, createAndSetConverter, createComponent, createOutputTextComponent, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConstraints, setupConverter, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMandatoryValidation, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupProperty, setupRegexConstraint, setupStringLengthConstraint
public UIComponent generate(FacesContext context, String id)
IComponentGenerator
context
- FacesContextid
- Optional id for the newly created component, if null
is passed a unique id is generatedpublic UIComponent generateAndAdd(FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item)
IComponentGenerator
generateAndAdd
in interface IComponentGenerator
generateAndAdd
in class BaseComponentGenerator
context
- FacesContextpropertySheet
- The property sheet componentitem
- The wrappper component representing the item to generate,
either a property, association or child associationCopyright © 2005–2017 Alfresco Software. All rights reserved.