Hi all,
-- I might have missed this in the JsInterop specs, but how is JsInterop handling Java collections, e.g is this going to work at all and what will the browser's JS engine see?
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Somethin{
@JsProperty
public String[] array;
@JsProperty
public List<String> list;
@JsProperty
public Map<String, Object> map;
}
It seems that JsInterop does not handle any of the above automatically, so people are coming up with all sorts of wrappers around native JS objects like: JsArray, JsMap, and use them instead? Am I missing something?
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment