Laird, Does your Diagnoses.getMap() return a Map<String,PresenceType> ? If not there's no way for Stripes to know what type of object to create for a value in the map.
Aaron ljnelson wrote: > I am having trouble with Stripes binding values into a map. > > My JSP code has a radio button in it with the name: > > person.diagnoses['foobar'].presenceType.ID > > ...and a value of 3. > > The action bean has a get/setPerson property. > > The Person has a get/setDiagnoses property, which is a Map. > > I would expect that after posting this form, my action bean would contain a > new Person, and that Person would contain a new Map, and that Map would > contain a new key (foobar) with a new value bound to it--a new > PresenceType--and its id value would contain a new ID object. > > I've placed traces on my person's setDiagnoses property and it is never > being called. > > Where would I start diagnosing this problem? I was led to believe this is > all automatic by > http://www.coderanch.com/t/420848/Application-Frameworks/One-My-Favorite-Stripes-Features. > > Best, > Laird > ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
