public class LinkGenerator extends BaseComponentGenerator
BaseComponentGenerator.ControlType| Constructor and Description |
|---|
LinkGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.faces.component.UIComponent |
createComponent(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
Creates the component for the given proerty sheet item.
|
javax.faces.component.UIComponent |
generate(javax.faces.context.FacesContext context,
java.lang.String id)
Dynamically generates a component in a default state
|
protected void |
setupProperty(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
javax.faces.component.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, setupStringLengthConstraintpublic javax.faces.component.UIComponent generate(javax.faces.context.FacesContext context,
java.lang.String id)
IComponentGeneratorcontext - 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 javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
BaseComponentGeneratorcreateComponent in class BaseComponentGeneratorcontext - 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(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
javax.faces.component.UIComponent component)
BaseComponentGeneratorsetupProperty in class BaseComponentGeneratorcontext - 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 - 2010 Alfresco Software, Inc. All Rights Reserved.