I am using Dojo 1.1.1[combo box widget and FilterString widget] with struts 2, I esp use extensive use of dojo ItemFileReader and my result type is geared toward Dojo Data reader abstractions. The only thing I have done on the strust part (apart from making sure the Jason string generated can be read by ItemFileReader) is to write a customized result type for String contents.
However, most of the work comes on the client side where you tell the widget to handle the string received as Jason, and as it was mentioned that part has only to do with dojo not struts. ----- Original Message ---- From: prashanth2 <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Tuesday, September 16, 2008 11:49:17 AM Subject: Struts2+dojo+JasonArray Could anybody give me a working sample to read back jsonarray from struts2 action class using dojo. Say for example Iam having a <List>Customers objects converted into JsonArray. My only problem is , how to retrieve the response using dojo1.1.1. From my understanding i specified handleAs:jason, the response data retrieval is the problem. Can somebody point me to an example or atleast give a snippet that loop through the json response. Thanks -- View this message in context: http://www.nabble.com/Struts2%2Bdojo%2BJasonArray-tp19514650p19514650.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]