Re: Sourcemaps with sso linker

2016-05-12 Thread Dmitry Skavish
Thanks Thomas! Looks like the url is not inserted if I use sso linker. Is it known issue? On Thu, May 12, 2016 at 5:09 AM, Thomas Broyer wrote: > > > On Thursday, May 12, 2016 at 3:42:36 AM UTC+2, Dmitry Skavish wrote: >> >> hi everybody, >> >> I could not figure out how do I

Re: MaterialSearch - issues

2016-05-12 Thread Velusamy Velu
My fault, sorry for the inconvenience, I will make sure this doesn't happen again. On Wednesday, May 11, 2016 at 1:18:32 PM UTC-4, Mike Warne wrote: > > *** Did I post the issues in the wrong forum? *** > > Yes, this is probably the wrong forum. > GWT-MaterialDesign is not part of GWT. > >

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 2:37:59 PM UTC+2, Freddy Boucher wrote: > > Actually i have a requirement where we allow user to add/upload UI layouts >> at run time , >> >> Jrebel wont help me as it only works with java , where as GWT client in >> sdm is javascript. >> tried dynamicUIBinder ,

Re: Dear GWT

2016-05-12 Thread Freddy Boucher
> > Actually i have a requirement where we allow user to add/upload UI layouts > at run time , > > Jrebel wont help me as it only works with java , where as GWT client in > sdm is javascript. > tried dynamicUIBinder , it gives the layout at runtime but dont load any > handlers etc. > > So I

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Pablo Nussembaum
Hi Vassilis, I have been using JsInterop for managing IndexedDB stores and I have created this [1] helper class for casting back and forth js to java. The main issue is that in GWT there are two Object hiearchies one from java and js, GWT makes are really job hiding that detail, but with

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 12:38:16 PM UTC+2, junaidp wrote: > > After reading the above conversation it looks like this a feature in GWT > 2.8 with which we can at run time add/change a class at client side .. > Is this true? > No. > Coz I just try using GWT2.8 then running sdm , and

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Vassilis Virvilis
Thanks for all the answers The Collection#toArray does not work in my case because dataTables.net are a bit sensitive in the input. It stumbles upon java.lang stuff later on. Here > buttons = new String[] {"copyHtml5"}; >> > while buttons2 is the correct one created with your previous

Re: Dear GWT

2016-05-12 Thread junaid
After reading the above conversation it looks like this a feature in GWT 2.8 with which we can at run time add/change a class at client side .. Is this true? Coz I just try using GWT2.8 then running sdm , and then I just change some thing in a class like if before the class contains

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 11:51:11 AM UTC+2, Vassilis Virvilis wrote: > > Thomas thanks, > > Wow I did this and it works. But it is crazy. Cr is for crazy. Kudos to > jsinterop guys though. > > @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "[]") > > You should probably use

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Vassilis Virvilis
Thomas thanks, Wow I did this and it works. But it is crazy. Cr is for crazy. Kudos to jsinterop guys though. @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "[]") public interface CrJsArray { public void push(T value); @JsProperty public int getLength(); } I tried

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Thomas Broyer
That question came up already in the forum or in GWT-Contrib (try to search the archive), and I seem to recall that Goktug said you could cast @JsType(isNative=true) objects to/from JavaScriptObject, so you could use JsArray (and JsonUtils.safeEval). I think you can also cast to/from an array

Re: Sourcemaps with sso linker

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 3:42:36 AM UTC+2, Dmitry Skavish wrote: > > hi everybody, > > I could not figure out how do I build my app and generate sourcemap > url into js file along with all the sources. Anybody can shed some > light here? > > That's what I did: > > 1. I added > to my

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Wednesday, May 11, 2016 at 11:17:18 PM UTC+2, Ali Akhtar wrote: > > I'm sure. In 2.8 beta1, everytime a new class is added, or a new uiBinder > file, it requires a restart in order for it to be detected and not get a > weird error like $mg_1 not found > You (or your tools) must be doing

Re: Jsni replacement in 2.8?

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 12:25:13 AM UTC+2, Ali Akhtar wrote: > > Is Jsni going to be deprecated / removed? > JSNI won't be removed in 2.8. To be future-proof, you'll want to limit your use of JSNI to the bare minimum, and use JsInterop whenever possible, but there are still a few things

Re: GWT Material Design Addins

2016-05-12 Thread Thomas Broyer
On Wednesday, May 11, 2016 at 6:07:09 PM UTC+2, Velusamy Velu wrote: > > Then started adding the line width="50%" title="Documents"> in the UiBinder > > I don't think you can use "window.MaterialWindow" in UiBinder; you'd have to add a namespace for the "window" subpackage and then use .

jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Vassilis Virvilis
Hi again, I am trying to convert a jre collection or build a jsArray with a isNative=true type. Unfortunately this is not possible because JsArray requires JavascriptObject which is invcompatible (complie time error) with native classes. Any ideas? I looked on deep dive jsinterop from Ray

Re: jsinterop: create cast native types: JavaScriptObject

2016-05-12 Thread Vassilis Virvilis
yep that works. thanks a bunch Option 3 is not needed - it can be done with new MyObject() What about option 4? Is JavascriptObject scheduled to be deprecated? If not should it work with jsinterop or not? On Thu, May 12, 2016 at 12:21 AM, Vassilis Virvilis wrote: > Thanks

Re: Dear GWT

2016-05-12 Thread Frank
And I am sure that if that is the case you are doing something wrong. I have been using GWT2.8.0beta1 from day 1 it was released and I am 100% sure I don't have to restart SDM when a class was added. Op woensdag 11 mei 2016 23:17:18 UTC+2 schreef Ali Akhtar: > > I'm sure. In 2.8 beta1, everytime