public class FormUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FormUtils.NegativeIntegerException |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BASE_10 |
protected static org.apache.commons.logging.Log |
log |
protected static List<Class> |
SUPPORTED_TYPE_LIST |
protected static Class[] |
SUPPORTED_TYPES |
| Constructor and Description |
|---|
FormUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
beanParamMapFromString(String params)
Decodes a Base-64-encoded String of format
key:value;key2:value2;key3:value, and puts the keys and values in a Map
|
static void |
beanSet(Object newObj,
String field,
String value) |
static void |
beanSet(Object newObj,
String field,
String value,
EditProcessObject epo) |
static List<Option> |
makeOptionListFromBeans(List beanList,
String valueField,
String bodyField,
String selectedValue,
String selectedBody) |
static List<Option> |
makeOptionListFromBeans(List beanList,
String valueField,
String bodyField,
String selectedValue,
String selectedBody,
boolean forceSelectedInclusion) |
static List<Option> |
makeOptionListOfSubVClasses(WebappDaoFactory wadf,
String parentVClassUri,
String selectedVClassURI) |
static List<Option> |
makeVClassOptionList(WebappDaoFactory wadf,
String selectedVClassURI) |
static void |
populateFormFromBean(Object bean,
String action,
EditProcessObject epo,
FormObject foo,
Map<String,String> BadValuesHash)
Populates form objects with bean values
|
static void |
populateFormFromBean(Object bean,
String action,
FormObject foo) |
static void |
populateFormFromBean(Object bean,
String action,
FormObject foo,
Map<String,String> badValuesHash) |
protected static final org.apache.commons.logging.Log log
protected static final int BASE_10
protected static final Class[] SUPPORTED_TYPES
public static void populateFormFromBean(Object bean, String action, FormObject foo)
public static void populateFormFromBean(Object bean, String action, FormObject foo, Map<String,String> badValuesHash)
public static void populateFormFromBean(Object bean, String action, EditProcessObject epo, FormObject foo, Map<String,String> BadValuesHash)
public static List<Option> makeOptionListFromBeans(List beanList, String valueField, String bodyField, String selectedValue, String selectedBody)
public static List<Option> makeOptionListFromBeans(List beanList, String valueField, String bodyField, String selectedValue, String selectedBody, boolean forceSelectedInclusion)
public static List<Option> makeVClassOptionList(WebappDaoFactory wadf, String selectedVClassURI)
public static List<Option> makeOptionListOfSubVClasses(WebappDaoFactory wadf, String parentVClassUri, String selectedVClassURI)
public static void beanSet(Object newObj, String field, String value, EditProcessObject epo)
Copyright © 2016. All rights reserved.