How do look like the properties in your form ? Something like this :

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

?

Are the other properties (non map-backed) ok ?

Raghu Havaldar wrote:

Hi,

Am using Struts 1.1, WinXP.

Trying to use map-backed action forms to load a dynamic list of params from a
form. When the form is submitted, the params are not loaded in the action form.
Am following the guidelines as speced in the Struts docs.


Here's a snippet:
public ParamsForm extends ActionForm {
   private Map params = new HashMap();

   public void setValue(String key, Object value) {
      params.put(key, value);
   }

   public Object getValue(String key) {
      return params.get(key);
   }
}

Have pored over the mailing list archivers. Folks seem to have gotten this working.

Any pointers ?

thanks,
raghu


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to