On Tue, May 8, 2012 at 4:51 AM, Christopher Piggott <
cpig...@gmail.com> wrote:
> What's the current state of javascript overlay objects and
> JsonpRequestBuilder? Should the same code work both in deployed (running on
> a web server) as well as debug / development mode?
>
> I'm running into issues with runtime exceptions, and the whole thing is a
> bit murky to me. The jsonp "object" that I'm returning is actually nested:
>
> public class SensorList extends JavaScriptObject {
> protected SensorList() { }
> public final native List<Sensor> getSensorList() /*-{ return
> this.sensorList; } -*/
> }
>
> public class Sensor extends JavaScriptObject {
> protected Sensor() { }
> public final native List<Sensor> getSensorName() /*-{ return
> this.sensorName; } -*/
> /* other properties ... */
> }
The above code is not expected to work. In particular the use of List