| Modifier and Type | Field and Description |
|---|---|
| private Application |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addConversionErrorMessage(FacesContext context, UIComponent component, ConverterException ce)
Add a conversion error message in the case of a PropertyEditor based conversion error. |
| public Object | convertToObject(Class<?> targetClass, String textValue)
Convert the |
| public String | convertToString(Class<?> targetClass, Object value)
Convert an object of type targetClass to text by delegating to a converter obtained from the Faces application. |
| protected UIComponent | Returns: the current component, or null.Return the |
| app | back to summary |
|---|---|
| private Application app | |
| PropertyEditorHelper | back to summary |
|---|---|
| public PropertyEditorHelper(Application app) | |
| addConversionErrorMessage | back to summary |
|---|---|
| protected void addConversionErrorMessage(FacesContext context, UIComponent component, ConverterException ce) Add a conversion error message in the case of a PropertyEditor based conversion error. | |
| convertToObject | back to summary |
|---|---|
| public Object convertToObject(Class<?> targetClass, String textValue) Convert the | |
| convertToString | back to summary |
|---|---|
| public String convertToString(Class<?> targetClass, Object value) Convert an object of type targetClass to text by delegating to a converter obtained from the Faces application. | |
| getComponent | back to summary |
|---|---|
| protected UIComponent getComponent() Return the
| |