Sourcemaps with sso linker

2016-05-11 Thread Dmitry Skavish
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 module and now I have sourcemaps generated. 2. Now if I want to use it I need to manually add

Re: [gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread David Becker
Well bummer. Thanks for the detailed info. Perhaps someday it can check if they do directly extend Object or not and either take the shortcut or the long way... I'm afraid that's way over my depth in the GWT code to attempt a patch though. On Wednesday, May 11, 2016 at 6:07:15 PM UTC-7, Ray

Re: [gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread 'Ray Cromwell' via GWT Contributors
The issue is that @JsFunction implementors must "extend java.lang.Object" as their parent. because standard library functions are/canbe implemented on classes with complicated type hierarchies, this would cause failures to compile. This restriction comes about from the efficiency trick we use to

Re: [gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread Colin Alworth
No, its not a solution, so much as a "here is a workaround that might satisfy your specific case as you build your JsInterop-based lib so that it looks like it can use @FunctionalInterface types". I do not believe it to be a comprehensive way to provide the feature requested. At some point I'll

Re: [gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread 'Goktug Gokdogan' via GWT Contributors
We cannot impose @JsFunction restrictions on standard library @FunctionInterfaces. You can see some of the limitations in the Javadoc. @Colin: I didn't understand your solution. Feel free to propose something more concrete and we can discuss over that. On Wed, May 11, 2016 at 4:22 PM, Colin

Re: [gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread Colin Alworth
Unfortunately, you can't add the annotation to an interface with more than one method, even if those methods are default methods, at least as it is currently implemented. I can't remember the exact specifics around why this is the case, but believe it has to do with handling functions passed from

[gwt-contrib] Adding @JsFunction to java.util.function JRE Emulation?

2016-05-11 Thread David Becker
I think it would be good to add @JsFunction to all of the java.util.function interfaces in the JRE Emulation so that we can use standard function signatures with JsInterop. Would that work? Any drawbacks? If you think that's a good idea, I can submit a patch. Thanks! -- You received this

Re: Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
Is Jsni going to be deprecated / removed? On Thu, May 12, 2016 at 3:23 AM, Jens wrote: > > How much of that has been implemented? >> > > Everything in the 1.0 spec should work in 2.8 SNAPSHOT. > > -- J. > > > -- > You received this message because you are subscribed to

Re: Jsni replacement in 2.8?

2016-05-11 Thread Jens
> How much of that has been implemented? > Everything in the 1.0 spec should work in 2.8 SNAPSHOT. -- J. -- 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

Re: Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
How much of that has been implemented? Are there any examples of it working anywhere? On Thu, May 12, 2016 at 2:44 AM, Michael Zhou wrote: > Take a look at the official JsInterop 1.0 specs: >

Re: Jsni replacement in 2.8?

2016-05-11 Thread Michael Zhou
Take a look at the official JsInterop 1.0 specs: https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view On Wednesday, May 11, 2016 at 5:27:04 PM UTC-4, Ali Akhtar wrote: > > In GWT 2.8, what should be used in place of Jsni methods? Such as for > integrating a 3rd

Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
In GWT 2.8, what should be used in place of Jsni methods? Such as for integrating a 3rd party js library? There was very sparse documentation available for JsInterop last time I checked, are there any more docs available now? -- You received this message because you are subscribed to the

Re: jsinterop: create cast native types: JavaScriptObject

2016-05-11 Thread Vassilis Virvilis
Thanks Paul, In retrospect this is obvious which means I would never figured it out by myself :-) I will test it tomorrow. Shouldn't this trick documented in https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0 Thanks again. On Wed, May 11, 2016 at 6:54 PM, Paul

Re: Dear GWT

2016-05-11 Thread Ali Akhtar
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 received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe

Re: Dear GWT

2016-05-11 Thread Vassilis Virvilis
Are you sure? It doesn't do that for me. I need to restart sdm when the classpath changes but that's a rare event. Vassilis On Thu, May 12, 2016 at 12:12 AM, Ali Akhtar wrote: > > >

Dear GWT

2016-05-11 Thread Ali Akhtar
-- 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,

Re: MaterialSearch - issues

2016-05-11 Thread Mike Warne
*** Did I post the issues in the wrong forum? *** Yes, this is probably the wrong forum. GWT-MaterialDesign is not part of GWT. https://gitter.im/GwtMaterialDesign/gwt-material MIke. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: MaterialModal in gwt-material-1.5.0.jar

2016-05-11 Thread Mike Warne
You should probably try posting the the GWT-MaterialDesign Gitter forum: The developers, and other users should be able to respond to your issue. https://gitter.im/GwtMaterialDesign/gwt-material Mike. -- You received this message because you are subscribed to the Google Groups "GWT

Re: GWT Material Design Addins

2016-05-11 Thread Paul Stockley
I would post to either the G+ group (https://plus.google.com/communities/108005250093449814286) or gitter (https://gitter.im/GwtMaterialDesign/gwt-material?source=suggested-menu) On Wednesday, May 11, 2016 at 12:07:09 PM UTC-4, Velusamy Velu wrote: > > I followed these steps to use the

GWT Material Design Addins

2016-05-11 Thread Velusamy Velu
I followed these steps to use the MaterialWindow addin from the gwt-material-addins-1.5.0.jar in an application. 1. Downloaded gwt-material-addins-1.5.0.jar and added to application's build path in Eclipse. 2. Added the line in the ..gwt.xml 3. Added the line

Re: jsinterop: create cast native types: JavaScriptObject

2016-05-11 Thread Paul Stockley
Declare your objects as @JsType(isNative = true, namespace=JsPackage.GLOBAL, name="Object") You can then just use new. On Wednesday, May 11, 2016 at 11:16:07 AM UTC-4, Vassilis Virvilis wrote: > > Hi, > > > I am trying to construct with jsinterop a json config object for > datatables. Here is

jsinterop: create cast native types: JavaScriptObject

2016-05-11 Thread Vassilis Virvilis
Hi, I am trying to construct with jsinterop a json config object for datatables. Here is an example var table = $wnd.$(table_selector).DataTable({ "dom" : 'lf<"dateRange"><"pull-right"B>rtip', "serverSide" : true, "ajax" : {