Package | Description |
---|---|
org.apache.empire.jsf2.components | |
org.apache.empire.jsf2.controls | |
org.apache.empire.jsf2.utils |
Modifier and Type | Method and Description |
---|---|
protected void |
ValueTag.renderControlValue(InputControl control,
InputControl.ValueInfo vi,
javax.faces.context.FacesContext context) |
Modifier and Type | Interface and Description |
---|---|
static interface |
InputControl.InputInfo
This interface extends the value information by information about the input control
used with the renderInput function
|
Modifier and Type | Method and Description |
---|---|
protected String |
InputControl.addDataValueStyle(InputControl.ValueInfo vi,
Object value,
String styleClass)
adds style attributes related to the current value
|
protected String |
InputControl.formatValue(InputControl.ValueInfo vi)
Returns the value formated as a string
This is a shortcut for formatString(vi.getValue(), vi)
Derived classes may override formatString
|
protected String |
TextInputControl.formatValue(Object value,
InputControl.ValueInfo vi) |
protected String |
TextAreaInputControl.formatValue(Object value,
InputControl.ValueInfo vi) |
protected String |
SelectInputControl.formatValue(Object value,
InputControl.ValueInfo vi) |
protected String |
RadioInputControl.formatValue(Object value,
InputControl.ValueInfo vi) |
protected String |
InputControl.formatValue(Object value,
InputControl.ValueInfo vi)
Returns the value formated as a string
this is a simple default implementation that does no type-secific formatting
Derived classes may override formatString an provide further formmatting
see TextInputControl for details
|
protected String |
TextInputControl.formatValue(Object value,
InputControl.ValueInfo vi,
boolean escapeHTML) |
protected DateFormat |
TextInputControl.getDateFormat(DataType dataType,
InputControl.ValueInfo vi,
Column column) |
protected int |
InputControl.getFormatInteger(InputControl.ValueInfo vi,
String option,
String columnAttributeName) |
protected String |
InputControl.getFormatOption(InputControl.ValueInfo vi,
String option) |
protected Object |
InputControl.getFormatOption(InputControl.ValueInfo vi,
String option,
String columnAttributeName) |
protected String |
InputControl.getFormatString(InputControl.ValueInfo vi,
String option,
String columnAttributeName) |
protected String |
TextInputControl.getUnitString(InputControl.ValueInfo vi) |
protected boolean |
InputControl.hasFormatOption(InputControl.ValueInfo vi,
String option)
checks if a particular formating option has been specified.
|
protected boolean |
InputControl.hasFormatOption(InputControl.ValueInfo vi,
String option,
String columnAttributeName) |
void |
TextInputControl.renderValue(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer) |
void |
RadioInputControl.renderValue(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer) |
void |
InputControl.renderValue(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer)
Renders the control value without a surrounding tag (Text only)
|
void |
CheckboxInputControl.renderValue(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer) |
void |
TextAreaInputControl.renderValue(javax.faces.component.UIComponent comp,
String tagName,
String styleClass,
String tooltip,
InputControl.ValueInfo vi,
javax.faces.context.FacesContext context) |
void |
InputControl.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
|
Modifier and Type | Class and Description |
---|---|
protected class |
TagEncodingHelper.InputInfoImpl
InputInfoImpl
Provides information necessary to render an input control (editable)
|
protected class |
TagEncodingHelper.ValueInfoImpl
ValueInfoImpl
Provides information necessary to render a data value (non editable)
|
Modifier and Type | Method and Description |
---|---|
InputControl.ValueInfo |
TagEncodingHelper.getValueInfo(javax.faces.context.FacesContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
TagEncodingHelper.hasFormat(InputControl.ValueInfo vi,
String format) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.