public class TagEncodingHelper extends Object implements javax.faces.component.NamingContainer
Modifier and Type | Field and Description |
---|---|
static String |
COLATTR_ABBR_TITLE |
static String |
COLATTR_TOOLTIP |
static String |
CSS_DATA_TYPE_BOOL |
static String |
CSS_DATA_TYPE_DATE |
static String |
CSS_DATA_TYPE_IDENT |
static String |
CSS_DATA_TYPE_LONGTEXT |
static String |
CSS_DATA_TYPE_NONE |
static String |
CSS_DATA_TYPE_NUMBER |
static String |
CSS_DATA_TYPE_TEXT |
static String |
ORIGINAL_COMPONENT_ID |
Constructor and Description |
---|
TagEncodingHelper(javax.faces.component.UIOutput tag,
String tagCssStyle) |
Modifier and Type | Method and Description |
---|---|
void |
addErrorMessage(javax.faces.context.FacesContext context,
Exception e) |
protected void |
addRequiredMark(javax.faces.component.html.HtmlOutputLabel label) |
javax.faces.component.html.HtmlOutputLabel |
createLabelComponent(javax.faces.context.FacesContext context,
String forInput,
String styleClass,
String style,
boolean colon) |
void |
encodeBegin() |
protected Column |
findColumn() |
protected Object |
findRecord() |
protected javax.el.ValueExpression |
findValueExpression(String attribute,
boolean allowLiteral) |
Object |
getAttributeValueEx(String name) |
protected Object |
getBeanPropertyValue(Object bean,
String property) |
Column |
getColumn() |
String |
getColumnName() |
static String |
getDataTypeClass(DataType type) |
Object |
getDataValue(boolean evalExpression) |
String |
getDisplayText(String text) |
InputControl |
getInputControl() |
InputControl.InputInfo |
getInputInfo(javax.faces.context.FacesContext ctx) |
String |
getLabelTooltip(Column column) |
protected String |
getLabelValue(Column column,
boolean colon) |
Object |
getRecord() |
RecordTag |
getRecordComponent() |
String |
getTagAttributeString(String name) |
String |
getTagAttributeString(String name,
String defValue) |
String |
getTagAttributeStringEx(String name) |
Object |
getTagAttributeValue(String name) |
static Object |
getTagAttributeValue(javax.faces.component.UIComponent comp,
String name) |
String |
getTagStyleClass() |
String |
getTagStyleClass(DataType dataType,
String addlStyle) |
String |
getTagStyleClass(DataType dataType,
String addlStyle,
String userStyle) |
String |
getTagStyleClass(String addlStyle) |
static String |
getTagStyleClass(String tagCssStyle,
String typeClass,
String addlStyle,
String userStyle) |
TextResolver |
getTextResolver(javax.faces.context.FacesContext context) |
InputControl.ValueInfo |
getValueInfo(javax.faces.context.FacesContext ctx) |
protected Options |
getValueOptions() |
String |
getValueTooltip(Object value) |
boolean |
hasColumn() |
boolean |
hasFormat(InputControl.ValueInfo vi,
String format) |
boolean |
hasFormat(String format) |
protected boolean |
hasValueExpression() |
boolean |
isInsideUIData() |
boolean |
isPartialSubmit(javax.faces.context.FacesContext ctx) |
boolean |
isReadOnly() |
boolean |
isRecordReadOnly() |
boolean |
isSkipValidation() |
boolean |
isTempoaryNullable()
used for partial submits to detect whether the value of this field can be set to null
|
boolean |
isValueRequired() |
boolean |
isVisible() |
void |
resetComponentId(javax.faces.component.UIComponent comp) |
void |
restoreComponentId(javax.faces.component.UIComponent comp) |
void |
saveComponentId(javax.faces.component.UIComponent comp) |
protected void |
setBeanPropertyValue(Object bean,
String property,
Object value) |
void |
setColumn(Column column) |
void |
setDataValue(Object value) |
void |
setRecord(Object record) |
void |
updateLabelComponent(javax.faces.context.FacesContext context,
javax.faces.component.html.HtmlOutputLabel label,
String forInput) |
void |
writeAttribute(javax.faces.context.ResponseWriter writer,
String attribute,
Object value) |
public static final String ORIGINAL_COMPONENT_ID
public static final String COLATTR_TOOLTIP
public static final String COLATTR_ABBR_TITLE
public static final String CSS_DATA_TYPE_NONE
public static final String CSS_DATA_TYPE_IDENT
public static final String CSS_DATA_TYPE_NUMBER
public static final String CSS_DATA_TYPE_TEXT
public static final String CSS_DATA_TYPE_LONGTEXT
public static final String CSS_DATA_TYPE_DATE
public static final String CSS_DATA_TYPE_BOOL
public TagEncodingHelper(javax.faces.component.UIOutput tag, String tagCssStyle)
public void encodeBegin()
public InputControl getInputControl()
public InputControl.ValueInfo getValueInfo(javax.faces.context.FacesContext ctx)
public InputControl.InputInfo getInputInfo(javax.faces.context.FacesContext ctx)
public boolean isPartialSubmit(javax.faces.context.FacesContext ctx)
public boolean isSkipValidation()
public boolean hasColumn()
public Column getColumn()
public String getColumnName()
public void setColumn(Column column)
public Object getRecord()
public void setRecord(Object record)
public RecordTag getRecordComponent()
public Object getDataValue(boolean evalExpression)
public void setDataValue(Object value)
public boolean isRecordReadOnly()
public boolean isVisible()
public boolean isReadOnly()
public boolean isValueRequired()
public boolean isTempoaryNullable()
protected Column findColumn()
protected Object findRecord()
protected boolean hasValueExpression()
protected javax.el.ValueExpression findValueExpression(String attribute, boolean allowLiteral)
protected Options getValueOptions()
protected void setBeanPropertyValue(Object bean, String property, Object value)
public boolean hasFormat(String format)
public boolean hasFormat(InputControl.ValueInfo vi, String format)
public void writeAttribute(javax.faces.context.ResponseWriter writer, String attribute, Object value) throws IOException
IOException
public TextResolver getTextResolver(javax.faces.context.FacesContext context)
public void addErrorMessage(javax.faces.context.FacesContext context, Exception e)
public static Object getTagAttributeValue(javax.faces.component.UIComponent comp, String name)
public javax.faces.component.html.HtmlOutputLabel createLabelComponent(javax.faces.context.FacesContext context, String forInput, String styleClass, String style, boolean colon)
public void updateLabelComponent(javax.faces.context.FacesContext context, javax.faces.component.html.HtmlOutputLabel label, String forInput)
protected void addRequiredMark(javax.faces.component.html.HtmlOutputLabel label)
public static final String getTagStyleClass(String tagCssStyle, String typeClass, String addlStyle, String userStyle)
public final String getTagStyleClass(DataType dataType, String addlStyle, String userStyle)
public final String getTagStyleClass()
public boolean isInsideUIData()
public void saveComponentId(javax.faces.component.UIComponent comp)
public void restoreComponentId(javax.faces.component.UIComponent comp)
public void resetComponentId(javax.faces.component.UIComponent comp)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.