Elemental2 and constants

2018-02-12 Thread DavidN
Is there a plan to also generate constants needed in the Elemental2 classes ? I am thinking about for example event-types or KeyboardEvent key values. Or is it not possible to auto generate these ? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. T

Re: GWT Maven Plugin (tbroyer) on windows in combination with Jetty

2017-11-07 Thread DavidN
pp-deployment.html#configuring-advanced-descriptor-files > ) > > On Tuesday, November 7, 2017 at 10:01:54 AM UTC+1, DavidN wrote: >> >> I have my project configured to launch SDM and Jetty from Maven. >> Whenever I make changes to t

GWT Maven Plugin (tbroyer) on windows in combination with Jetty

2017-11-07 Thread DavidN
I have my project configured to launch SDM and Jetty from Maven. Whenever I make changes to the UI code and reload the browser window I get an error from SDM: [INFO] GET /recompile/multitenantapp [INFO]Job com.swift.cloud.platform.ui.multitenant.MultitenantApp_1_2 [INFO] starting job

Exposing GWT components based on Elemental2 to TypeScript ?

2017-10-10 Thread DavidN
I'm currently investigating how to expose a GWT based component (that uses JsInterop and Elemental2) to JavaScript and TypeScript. The goal is that this component should be reusable in an Angular 4 application, but also in GWT applications. I'm finding it really hard to create a .d.ts file that

Best approach when working with Eclipse/Maven/GWT ?

2017-04-25 Thread DavidN
I'm working on a fairly large GWT applications (well multiple) in Eclipse, using the excellent tbroyer maven plugin and the GWT eclipse plugin. But there are many modules and dependencies and it seems that maven integration in Eclipse is a bit slow. What would be the best approach to use these t

Re: Errai + MVP

2017-03-09 Thread DavidN
I'm actually looking at a similar scenario. I like the templating and model binding parts of errai but I would like to combine it with my existing GWTP presenters somehow. I don't want to use the entire errai framework with Wildfly and their custom injection framework. On Wednesday, December 2

Porting Sass/Less to GssResource

2017-02-08 Thread DavidN
It is nice that GWT supports GssResources, but I am a bit underwhelmed by the functionality that it provides compared to sass and less. But maybe it is because the documentation is very limited. I'm trying to port a mixin like this clearfix mixin: .clearfix() { *zoom: 1; &:before, &:after

Eclipse Plugin GWT Development Mode (CodeServer) does not work

2017-01-03 Thread DavidN
I have a maven project which uses GWT 2.8, JsInterop and Elemental 2. When I launch the CodeServer from Eclipse the event listeners are not triggered. When I launch the codeserver from maven (I'm using tbroyer's plugin) it works fine. What could be causing this ? It's like my EventListeners are

GWT JsInterop to Java Rhino ?

2016-12-09 Thread DavidN
Is anybody working on a APT that can take JsInterop annotated classes of native JS libraries and generate the needed code to access them from Java ? That would make my life much simpler when unit testing my presenters that rely on JsInterop. -- You received this message because you are subscrib

Re: Google Plugin for Eclipse Mars

2016-11-14 Thread DavidN
Hi Brian, I'm trying to get my hands on the new gwt-eclipse-plugin. But it seems the link provided in the download documentation does not work. http://storage.googleapis.com/gwt-eclipse-plugin/v3/release This resolves to a page not found error. What would be the correct URL ? I don't have acces

JsInterop @JsFunction lambda$0 is not a function in some cases

2016-05-23 Thread DavidN
Hi, I'm having some issues with JsInterop in 2.8 snapshot. When I try to use a JsFunction I get an exception, depending on where I declare a lambda for the JsFunction. I have a JsType defined like this: @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object") public class ChartC

Re: GWT React

2016-03-25 Thread DavidN
Nice work, I prefer React over Angular it is so much cleaner in design. I will certainly take a look at what you have produced, since me too I am trying to find solutions for a post GWT Widget/UiBinder world. For one component that we have, which generates a form driven by XSchema's I already

Re: Enums in Js Interop

2016-03-15 Thread DavidN
I would love to know that too. On Friday, March 11, 2016 at 10:10:06 AM UTC+1, suneel varma wrote: > > Hi All, > > How can I make an enum available to Javascript with Jsinterop > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from

Re: GWT vs AngularJS

2016-02-22 Thread DavidN
Good point about Angular 2 and I totally agree with your remark about "advertising". But Angular 2 will gain more traction because of TypeScript since that language is more easily supported by development tools. Angular also makes two-way binding look easy, I still don't understand how to do t

GWT2.8.0-beta1 and net.ltgt.gwt.maven plugin issues in super dev mode

2016-02-11 Thread DavidN
I'm using Thomas excellent maven integration with GWT 2.8.0-beta1 in combination with super dev mode and tomcat. As generated by the maven artifacs. I sometimes have really strange issues where it seems that the super dev mode updates do not seem to be correct. Suddenly I get ClassCastExceptio

GWT 2.8.0-beta1 JsInterop HTML5 classes ?

2016-01-14 Thread DavidN
Is there a way to generate JsInterop compatible classes/interfaces for all HTML5 javascript features ? I'm interested in the new File API's, XMLHttpRequest, EventHandlers, ... etc. I can type it by hand, but somebody must have done the work already or there must be a tool available to generate

Re: Getting rid of Dev mode for future GWT releases

2015-12-22 Thread DavidN
On Friday, December 18, 2015 at 10:17:27 AM UTC+1, Ed wrote: > I was reluctant at first to move over to SDM, but after some time with it, >> I got used to it. I combine it with SDBG in eclipse and it works mostly ok. >> > What is exactly not woking well with the SDBG eclipse plugin? > And why is