org.alfresco.web.bean.generator
Class MultilingualTextFieldGenerator

java.lang.Object
  extended by org.alfresco.web.bean.generator.BaseComponentGenerator
      extended by org.alfresco.web.bean.generator.TextFieldGenerator
          extended by org.alfresco.web.bean.generator.MultilingualTextFieldGenerator
All Implemented Interfaces:
IComponentGenerator

public class MultilingualTextFieldGenerator
extends TextFieldGenerator

Generates a multilingual text field component.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.web.bean.generator.BaseComponentGenerator
BaseComponentGenerator.ControlType
 
Constructor Summary
MultilingualTextFieldGenerator()
           
 
Method Summary
 javax.faces.component.UIComponent generateAndAdd(javax.faces.context.FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item)
          Dynamically generates a component for the given property sheet item.
 
Methods inherited from class org.alfresco.web.bean.generator.TextFieldGenerator
createComponent, generate, getListOfValuesConstraint, getMaxLength, getSize, setMaxLength, setSize, setupConstraints, setupConverter, setupMandatoryValidation
 
Methods inherited from class org.alfresco.web.bean.generator.BaseComponentGenerator
addStringConstraintParam, createAndSetConverter, createOutputTextComponent, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupProperty, setupRegexConstraint, setupStringLengthConstraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultilingualTextFieldGenerator

public MultilingualTextFieldGenerator()
Method Detail

generateAndAdd

public javax.faces.component.UIComponent generateAndAdd(javax.faces.context.FacesContext context,
                                                        UIPropertySheet propertySheet,
                                                        PropertySheetItem item)
Description copied from interface: IComponentGenerator
Dynamically generates a component for the given property sheet item. The generated component is also setup appropriately for it's model definition and added to the given property sheet.

Specified by:
generateAndAdd in interface IComponentGenerator
Overrides:
generateAndAdd in class BaseComponentGenerator
Parameters:
context - FacesContext
propertySheet - The property sheet component
item - The wrappper component representing the item to generate, either a property, association or child association
Returns:
The component instance


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.