You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Galbreath <ma...@qat.com> on 2003/07/01 19:31:07 UTC

dynaActionForm bean ?

I have a bean named "approved" of type HashMap.

I have an HTML checkbox like such:

<input type="checkbox" 
       name="approved" 
       value="<bean:write name="userid" property="value"/>"

where "userid" is a JavaBean of string email addresses.

I am getting a runtime error: "cannot put string value in type HashMap."

Anybody know how to populate a dynaActionForm bean with
dynamically-generated form data?

tia,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org