Friday, April 22, 2016

[GTW 2.8] How to use JSON-like data with JSInterop

Hi all,
How do I construct input for the following jQuery call:

$('.ui.form') .form({ fields: { name : 'empty', gender : 'empty', username : 'empty', password : ['minLength[6]', 'empty'], skills : ['minCount[2]', 'empty'], terms : 'checked' } }) ;

My current plan is to use JsonUtils/JavaScriptObject in some fashion. Or resort to JSNI.

Any better option with JsInterop ?

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment