Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Kirill Prazdnikov
https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.o7amqk9edhb9 -- 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: JsInterop and Sencha Ext js framework

2016-03-19 Thread Brandon Donnelson
Good question. I've wrapped an api or two and I've found it's alot of work. Since then, wrapping using JSNI feels painful. So I've been working on a generator to build the jsinterop for the extjs api with the flip of a switch. Besides that, the extjs team is cruising on the future iterations and I

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread ateletin
My company owns a product that is written with GWT and wants to integrate in it another external app which is written with ExtJs4.2.1 and we need a wrapper in order to be able to extend or change the behavior of external app based on our needs. -- View this message in context:

Re: Fully responsive GWTBotstrap3 / Vaadin (client side only) demo application

2016-03-19 Thread Predrag Remark
Hi Gelberto, Yes I suppose you are right, it looks a bit "desktop-ish" but it's on purpose, it did not have to be this way. As you can see from the video there is a comparison between Sencha GXT and BootstrapGwt3/Vaadin and the main purpose of this particular video is to show that you can

Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Stefan Falk
HI! I recently stepped over Lombok [1],[2] and saw that it can be used with GWT. Did anybody of you guys ever use it with GWT? Does it pay off or is it unnecessary? BR; Stefan [1] https://projectlombok.org/index.html [2] https://github.com/rzwitserloot/lombok -- You received this message

Re: Fully responsive GWTBotstrap3 / Vaadin (client side only) demo application

2016-03-19 Thread Gilberto
By looking at the video, I had a feeling that it looks too "desktop-ish" yet - tables, menus, small buttons, multiple levels of scrolling on the same panel, and so on. I'd like to see the framework running on an actual mobile device if possible. Do you have an URL where I could access it? On

Re: Updating CellTable row style

2016-03-19 Thread Gilberto
Inspect the row style at the browser developer tools to see which is preventing your classes to be applied. Note that some styles can't be applied at row level, but only at cell level. I guess the border is one of those styles. -- You received this message because you are subscribed to the

Missing class names in superdevmode

2016-03-19 Thread 'Klemens Schrage' via GWT Users
Hello, maybe I missed something within all those GWT 2.8 discussions / jsinterop announcements, but since switching to 2.8 beta (and even current snapshot) chrome doesn't show the variable's class name / type while debugging in dev tools. There is only the obfuscated name. Not the biggest deal

Re: Enums in Js Interop

2016-03-19 Thread 'Goktug Gokdogan' via GWT Users
You can mark it with @JsType. On Tue, Mar 15, 2016 at 6:10 AM, DavidN wrote: > 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 >> >

Re: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Stefan Falk
Okay, you guys convinced me. Maybe it's better to go without it :) On Wednesday, 16 March 2016 14:51:39 UTC+1, James Horsley wrote: > > I haven't used Lombok due to similar reasons as Jens described but have > had really great success with annotation processing libraries like > Immutables

XML Parsing error with Chrome in Windows 10 ? :(

2016-03-19 Thread Ed
I have the following XML parsing issue. I load the following xml snippet from an xml file loaded from the backend and parse it with GWT (com.google.gwt.xml.client.*) that end up different in certain browsers/devices, see below. Present in xml file that is loaded: --

Re: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread James Horsley
I haven't used Lombok due to similar reasons as Jens described but have had really great success with annotation processing libraries like Immutables ( http://immutables.github.io/), AutoValue, etc. I've even started writing my own annotation processors to help reduce boilerplate. On Wed, Mar 16,

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Alain Ekambi
Ext4j/Touch4j already has the ability to extends/wrap existing existing Ext JS /Sencha Touch apps with ease. "My company owns a product that is written with GWT and wants to integrate in it another external app which is written with ExtJs4.2.1 and we need a wrapper in order to be able to extend

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Brandon Donnelson
ateletin, I've been working using jsinterop with extjs 6+, if you have some questions ping me and I can help with that. There are two ways to configure it, first is using ext.define. The other is using the ext class and instantiate it with a config object. Ext.define is far more documented than

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
Success! With some javascript hacking I have managed to get it working. I can retrieve props and state and also set state from an onClick callback. Below is my contrived solution @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object") public class AbstractClassicComponent {

SDM in GWT 2.8-SNAPSHOT is super slow since yesterday

2016-03-19 Thread Pablo Nussembaum
Hey Guys, Since yesterday in SDM it takes 17 minutes to compile[1], it used to last less 30 seconds the first time. I don't know what to check, I have deleted every temp files (ie gwt-unitCache) and using the same version of java, eclipse, eclipse plugin and nothing changed pom.xml project. Is

Fully responsive GWTBotstrap3 / Vaadin (client side only) demo application

2016-03-19 Thread Predrag Remark
Please take a look at our new version of PetClinic demo application here: https://www.youtube.com/watch?v=gAN6iWAStZ8 This time it's done with Bootstrap 3 css files, GWT Bootstrap 3 and Vaadin (client side only) grid and open source Bootstrap Admin theme: Gentelella. In the same video you can

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
On Wed, Mar 16, 2016 at 8:51 AM, Paul Stockley wrote: > I am running the latest snapshot build as of a couple of days ago and > starting SD mode with > > Running CodeServer with parameters: [-noprecompile, -port, 9876, > -sourceLevel, 1.8, -bindAddress, 127.0.0.1,

Re: JsInterop: Set length of native JavaScript array?

2016-03-19 Thread Michael Zhou
Thanks Goktug, the patch is free of JSNI methods now :) On Wednesday, March 16, 2016 at 11:19:20 AM UTC-4, Goktug Gokdogan wrote: > > For your purposes in the patch; use internal utility ArrayHelper.setLength. > > Normally following is just one way of doing it: > > interface NativeArray { >

Re: Updating CellTable row style

2016-03-19 Thread mohit
Thanks for the reply Jens! I tried adding mappings.getRowElement(event.getValue().getExecutionOrder()).getStyle(). setBorderStyle(BorderStyle.SOLID); But it didn't work :( mappings.getRowElement(event.getValue().getExecutionOrder() ).getStyle(). setBackgroundColor("Red"); did change the

Re: Updating CellTable row style

2016-03-19 Thread Jens
I guess your border-style is still set to "none" (the default value) because you have not set any. You need to set it to "solid" for example. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving

Updating CellTable row style

2016-03-19 Thread mohit
Hi, I am trying to update a row style for on mouse hover. mappings.addCellPreviewHandler(new Handler() { @Override public void onCellPreview(CellPreviewEvent event ) { if (BrowserEvents.MOUSEOVER.equals(event.getNativeEvent().getType ())) {

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Alain Ekambi
Yeah JS Intero documentation is nt that great at the moment. We are jsut doing a lot of try and fail at the moment. "Secondly, I have to use jsinterop because this is the direction that my company want to take. I can't use Sencha Ext Java API, I have to make it work with jsinterop.." I dont

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
I tried using a JsType instead of JavaScriptObject and it is still undefined. I have logged a ticket with the details. On Wednesday, March 16, 2016 at 12:05:30 PM UTC-4, Goktug Gokdogan wrote: > > > > On Wed, Mar 16, 2016 at 8:51 AM, Paul Stockley > wrote: > >> I am

[gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
I am running the latest snapshot build as of a couple of days ago and starting SD mode with Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir,

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread James Horsley
Paul, brilliant news. Look forward to hopefully taking a look at your code if you're able to share. On Fri, Mar 18, 2016 at 4:15 PM Paul Stockley wrote: > Success! With some javascript hacking I have managed to get it working. I > can access state and props and set state

[gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
> > Well I think I have hit a roadblock with the current state of JsInterop. > Given the code below > > > public class Example { > > @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object") > private static class State extends BaseState { > public String

Re: JsInterop: Set length of native JavaScript array?

2016-03-19 Thread 'Goktug Gokdogan' via GWT Users
It is possible but just you cannot do it with all types (e.g. int) In that case, you are forced to declare it as Double instead. @JsMethod static void x(Double optD) { optD = optD == null ? 0 : optD; } // javascript x(); // or x(156); I need to add a more detailed section in the

Re: GWT-Material vs Polymer

2016-03-19 Thread Stefan Falk
Hi Evan! I am using GWT Material Design for my current project. To be hones: I can't really compare anything because I went straight for it. I was looking at other stuff like SmartGWT but let's not talk about that. What I can tell, like Gilberto already mentioned, is that building on the

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Alain Ekambi
ah I see. You have an exsiting Ext JS app and you want to wrap it with JS Interop. Honestly I dont know how to do it with JS Interop. Ext.define is one of the things we did not bother deal with. We just recreated the same object using pure java On 17 March 2016 at 09:15, ateletin

Re: JsInterop: Set length of native JavaScript array?

2016-03-19 Thread Kirill Prazdnikov
One of the problems is that it is impossible to use JsInterop for "optional values" like "x || 0" On Wednesday, March 16, 2016 at 9:28:20 PM UTC+3, Michael Zhou wrote: > > Thanks Goktug, the patch is free of JSNI methods now :) > -- You received this message because you are subscribed to the

Re: SDM in GWT 2.8-SNAPSHOT is super slow since yesterday

2016-03-19 Thread Pablo Nussembaum
I reimported everything in eclipse and now works fine. Sorry for the noise On 17/03/16 11:25, Pablo Nussembaum wrote: > Hey Guys, > Since yesterday in SDM it takes 17 minutes to compile[1], it used to last > less 30 seconds the first time. > I don't know what to check, I have deleted every temp

Re: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Michael Joyner
Y'alls discussion of this made me do some Googling and I found "JackDaw" which lets one do the automagic setter/getter thing strictly via "approved" annotation processing: https://github.com/vbauer/jackdaw On 03/16/2016 11:27 PM, BRF wrote: I use it in some utility projects. The only

Re: JsInterop: Set length of native JavaScript array?

2016-03-19 Thread 'Goktug Gokdogan' via GWT Users
For your purposes in the patch; use internal utility ArrayHelper.setLength. Normally following is just one way of doing it: interface NativeArray { @JsProperty void setLength(int length); } ((NativeArray) someArray).setLength(42); On Mon, Mar 7, 2016 at 7:53 PM, Michael Zhou

Re: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread BRF
I use it in some utility projects. The only problem I have ever had with it is when using jsni in a class with lomboked code. GWT compiler chokes on some generated variable names, but splitting the jsni into a separate class resolved that. As far as jdk breakages they haven't been much of a

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
I'm sorry, I'm very busy right now, but I will take a look as soon as I can. On Wed, Mar 16, 2016 at 5:16 PM, Paul Stockley wrote: > Well I think I have hit a roadblock with the current state of JsInterop. > Given the code below >> >> > > >> public class Example { >> >>

[gwt-contrib] Re: Rules for managing issues on GitHub

2016-03-19 Thread Stanislav Spiridonov
Hi, our last Steering Committee meeting last Wednesday Please, publish meeting notes, if it is't a secrete :) Best, Stas On Monday, March 14, 2016 at 1:19:23 AM UTC+1, Thomas Broyer wrote: > > Hi all, > > Here's a document a wrote (months ago actually) about the differences > between

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
On Tue, Mar 15, 2016 at 8:26 PM, Paul Stockley wrote: > I have made a bit more progress. I managed to get functional components > working. > > @JsType(isNative = true) > private static class FuncProps extends BaseProps { > public String aProp; > } > > static final

Re: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Jens
If its just for value classes and factories you better use Google's AutoValue / AutoFactory projects which are based on annotation processing instead of hacking the Java compiler as Lombok does. Personally I would never use Lombok. As it adds code during compilation, that code is invisible to

[gwt-contrib] Re: Rules for managing issues on GitHub

2016-03-19 Thread Thomas Broyer
On Friday, March 18, 2016 at 10:52:14 AM UTC+1, Stanislav Spiridonov wrote: > > Hi, > > our last Steering Committee meeting last Wednesday > > > Please, publish meeting notes, if it is't a secrete :) > Daniel (cc'd) was taking the notes during the meeting; let's ask him ;-) -- You received