public class LinkGenerator extends BaseComponentGenerator
BaseComponentGenerator.ControlType
dataDictionary
Constructor and Description |
---|
LinkGenerator() |
Modifier and Type | Method and Description |
---|---|
protected UIComponent |
createComponent(FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
Creates the component for the given proerty sheet item.
|
UIComponent |
generate(FacesContext context,
String id)
Dynamically generates a component in a default state
|
protected void |
setupProperty(FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
UIComponent component)
Sets up the property component i.e.
|
addStringConstraintParam, createAndSetConverter, createOutputTextComponent, generateAndAdd, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConstraints, setupConverter, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMandatoryValidation, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, 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 generatedIComponentGenerator.generate(javax.faces.context.FacesContext, java.lang.String)
protected UIComponent createComponent(FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item)
BaseComponentGenerator
createComponent
in class BaseComponentGenerator
context
- FacesContextpropertySheet
- The property sheet being generateditem
- The property or association being generatedBaseComponentGenerator.createComponent(javax.faces.context.FacesContext, org.alfresco.web.ui.repo.component.property.UIPropertySheet, org.alfresco.web.ui.repo.component.property.PropertySheetItem)
protected void setupProperty(FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item, org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef, UIComponent component)
BaseComponentGenerator
setupProperty
in class BaseComponentGenerator
context
- FacesContextpropertySheet
- The property sheetitem
- The parent componentpropertyDef
- The property definitioncomponent
- The component representing the propertyBaseComponentGenerator.setupProperty(javax.faces.context.FacesContext, org.alfresco.web.ui.repo.component.property.UIPropertySheet, org.alfresco.web.ui.repo.component.property.PropertySheetItem, org.alfresco.service.cmr.dictionary.PropertyDefinition, javax.faces.component.UIComponent)
Copyright © 2005–2017 Alfresco Software. All rights reserved.