public class TextAreaInputControl extends InputControl
InputControl.DisabledType, InputControl.InputInfo, InputControl.ValueInfo| Modifier and Type | Field and Description |
|---|---|
static String |
FORMAT_COLS |
static String |
FORMAT_COLS_ATTRIBUTE |
static String |
FORMAT_ROWS |
static String |
FORMAT_ROWS_ATTRIBUTE |
static String |
NAME |
CSS_STYLE_CLASS, FORMAT_NO_VALUE_STYLES, FORMAT_NULL, FORMAT_NULL_ATTRIBUTE, HTML_ATTR_CHECKED, HTML_ATTR_CLASS, HTML_ATTR_DISABLED, HTML_ATTR_ID, HTML_ATTR_STYLE, HTML_ATTR_TYPE, HTML_EXPR_NBSP, HTML_TAG_DIV, HTML_TAG_INPUT, HTML_TAG_LABEL, HTML_TAG_SPAN, HTML_TAG_TABLE, HTML_TAG_TD, HTML_TAG_TR| Constructor and Description |
|---|
TextAreaInputControl() |
TextAreaInputControl(String name,
Class<? extends javax.faces.component.html.HtmlInputTextarea> inputComponentClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createInputComponents(javax.faces.component.UIComponent parent,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
List<javax.faces.component.UIComponent> compList) |
String |
formatValue(Object value,
InputControl.ValueInfo vi,
boolean escapeHtml)
Returns the formatted value
Do not override this function, but override formatValue(Object, ValueInfo) instead.
|
protected Object |
parseInputValue(String value,
InputControl.InputInfo ii) |
void |
renderValue(javax.faces.component.UIComponent comp,
String tagName,
String styleClass,
String tooltip,
InputControl.ValueInfo vi,
javax.faces.context.FacesContext context)
Renders the control value with a surrounding HTML tag, if a tagName is supplied
|
protected void |
updateInputState(List<javax.faces.component.UIComponent> compList,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId) |
addAttachedObjects, addDataValueStyle, addRemoveDisabledStyle, addRemoveInvalidStyle, addRemoveStyle, addRemoveStyle, addRemoveValueNullStyle, clearLocalValues, clearSubmittedValue, copyAttribute, copyAttributes, copyAttributes, createInput, formatInputValue, formatValue, getConvertedValue, getCssStyleClass, getFirstInput, getFormatInteger, getFormatOption, getFormatOption, getFormatString, getInputComponent, getInputStyleClass, getInputValue, getLabelForId, getName, getOptionText, hasFormatOption, hasFormatOption, initCssStyleClass, isCreatingComponents, isInputValueExpressionEnabled, postUpdateModel, renderInput, renderValue, setInputStyleClass, setInputValue, setInputValueExpression, updateAttachedObjects, updateInputStatepublic static final String NAME
public static final String FORMAT_COLS
public static final String FORMAT_COLS_ATTRIBUTE
public static final String FORMAT_ROWS
public static final String FORMAT_ROWS_ATTRIBUTE
public TextAreaInputControl(String name, Class<? extends javax.faces.component.html.HtmlInputTextarea> inputComponentClass)
public TextAreaInputControl()
public void renderValue(javax.faces.component.UIComponent comp,
String tagName,
String styleClass,
String tooltip,
InputControl.ValueInfo vi,
javax.faces.context.FacesContext context)
throws IOException
InputControlrenderValue in class InputControlcomp - the JSF componenttagName - the tag name of the HTML wrapper tag (optional)styleClass - the style class of the HTML wrapper tag (optional)tooltip - the title of the HTML wrapper tag (optional)vi - the value infocontext - the FacesContextIOException - from ResponseWriterprotected void createInputComponents(javax.faces.component.UIComponent parent,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
List<javax.faces.component.UIComponent> compList)
createInputComponents in class InputControlprotected void updateInputState(List<javax.faces.component.UIComponent> compList, InputControl.InputInfo ii, javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)
updateInputState in class InputControlpublic String formatValue(Object value, InputControl.ValueInfo vi, boolean escapeHtml)
InputControlformatValue in class InputControlvalue - the value to formatvi - the valueInfoescapeHtml - when true the value will be escaped for Htmlprotected Object parseInputValue(String value, InputControl.InputInfo ii)
parseInputValue in class InputControlCopyright © 2008–2023 Apache Software Foundation. All rights reserved.