To expand: that error is associated with an event handler method returning a value (JSONObject) that is appropriate for an Ajax response, but doing so during a traditional (i.e., non-Ajax) request. So for some reason, either it was a traditional request, or something on the browser side prevented Tapestry from recognizing he request as Ajax (it looks for an XHR header).
On Tue, Jul 21, 2009 at 11:06 AM, Howard Lewis Ship<hls...@gmail.com> wrote: > Is JavaScript disabled for that client's laptop? > > On Tue, Jul 21, 2009 at 10:55 AM, Franz Amador<fgama...@yahoo.com> wrote: >> >> Our Tapestry5/Dojo web app works just fine everywhere except on one >> customer's laptop. There he gets this error: >> >> Return type org.apache.tapestry5.json.JSONObject can not be handled. >> Configured return types are java.lang.Class, java.lang.String, java.net.URL, >> org.apache.tapestry5.Link, org.apache.tapestry5.StreamResponse, >> org.apache.tapestry5.runtime.Component. >> >> We're using Tapestry 5.1.0.5 on Java 6, the laptop runs the Japanese version >> of Windows (XP, I assume), and the whole system (our webapp running on >> Tomcat with Oracle) is installed there. This configuration works great on >> our laptops (which aren't Japanese, though I don't know if that's relevant). >> >> I'm baffled. What could possibly have caused the >> AjaxComponentEventResultProcessor not to be available there (which I assume >> is the problem)? Any suggestions very much appreciated. >> -- >> View this message in context: >> http://n2.nabble.com/Return-type-org.apache.tapestry5.json.JSONObject-can-not-be-handled-tp3295186p3295186.html >> Sent from the Tapestry Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > Director of Open Source Technology at Formos > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org