Using Map instead of String properties with ActionForm.
Created May 7, 2012
Ted Husted
Since 1.1b
private Map values = null;
public void setValues(Map values) {
this.values = values;
}
public Map getValues() {
return this.values;
}
public void setValue(String key, Object value) {
getValues().put(key,value);
}
public Object getValue(String key) {
return getValues().get(key);
}
...
<html:text property="value(name)"/>
HTH -Ted