Using Map instead of String properties with ActionForm.

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) {
    public Object getValue(String key) {
        return getValues().get(key);


<html:text property="value(name)"/>

HTH -Ted

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.