RE: Ajax Response - Array Objects (working examples)

2010-07-16 Thread Martin Gainty
importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: mgai...@hotmail.com To: user@struts.apache.org Subject: RE: Ajax Response - Array Objects Date: F

RE: Ajax Response - Array Objects

2010-07-16 Thread Martin Gainty
sage sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: RE: Ajax Response - Array

RE: Ajax Response - Array Objects

2010-07-16 Thread CRANFORD, CHRIS
have expected, but for some reason the widget isn't populating the dropdown with it now. Any suggestions? > -Original Message- > From: Rahul Mohan [mailto:rahul.mo...@tcs.com] > Sent: Friday, July 16, 2010 1:10 AM > To: Struts Users Mailing List > Subject: Re: Ajax

Re: Ajax Response - Array Objects

2010-07-15 Thread Rahul Mohan
Chris, Maps are serialized as 'name : value' pairs, whereas Lists are serialized as Arrays. Change your return type to a List and try. - Rahul From: "CRANFORD, CHRIS" To: Date: 15-07-2010 19:04 Subject: Ajax Response - Array Objects I cannot seem to get my Ajax requ

Ajax Response - Array Objects

2010-07-15 Thread CRANFORD, CHRIS
I cannot seem to get my Ajax request to return to the Ajax client an array of objects. Instead of simply returning a key/value pair, I've read that it is possible to return the actual domain objects, but I have been unsuccessful. Each time, my combo box is populated with three values, "message t