Search in sources :

Example 6 with UIOutput

use of javax.faces.component.UIOutput in project acs-community-packaging by Alfresco.

the class BaseComponentGenerator method createOutputTextComponent.

/**
 * Creates an output text component.
 *
 * @param context FacesContext
 * @param id Optional id to set
 * @return The new component
 */
protected UIOutput createOutputTextComponent(FacesContext context, String id) {
    UIOutput component = (UIOutput) context.getApplication().createComponent(ComponentConstants.JAVAX_FACES_OUTPUT);
    component.setRendererType(ComponentConstants.JAVAX_FACES_TEXT);
    FacesHelper.setupComponentId(context, component, id);
    return component;
}
Also used : UIOutput(javax.faces.component.UIOutput)

Aggregations

UIOutput (javax.faces.component.UIOutput)6 ArrayList (java.util.ArrayList)1 List (java.util.List)1 FacesException (javax.faces.FacesException)1 UIComponent (javax.faces.component.UIComponent)1 UIInput (javax.faces.component.UIInput)1 UISelectBoolean (javax.faces.component.UISelectBoolean)1 UISelectItems (javax.faces.component.UISelectItems)1 UISelectOne (javax.faces.component.UISelectOne)1 Converter (javax.faces.convert.Converter)1 ValueBinding (javax.faces.el.ValueBinding)1 SelectItem (javax.faces.model.SelectItem)1 ListOfValuesConstraint (org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint)1 DataTypeDefinition (org.alfresco.service.cmr.dictionary.DataTypeDefinition)1 QName (org.alfresco.service.namespace.QName)1