You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tom Goemaes <to...@pandora.be> on 2002/02/11 11:42:38 UTC

setting mapped property in ActionForm

Hi,

I have a form in which i want checkboxes to use mapped properties.
<input type="Checkbox" name="library.genericId(A)" >
<input type="Checkbox" name="library.genericId(B)" >

So that i can create a list of keys (A,B,... ) which were selected.
In the ActionForm object i have a getLibrary(), and in the returned object i have

public void setGenericId(String key, String value)

Problem is: it isn't executed when the form is submitted. 
Have i misunderstood the mapped property thing? what am i doing wrong ? 

Tom


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>