Re: Issue with migrating to GWT 2.10

2023-01-21 Thread Paul Stockley
.2 and supports byte code up to Java 18. > I am pretty sure you have an older ASM version on class path that came > first or some Java 19+ classes. > > -- J. > > Paul Stockley schrieb am Donnerstag, 19. Januar 2023 um 22:33:28 UTC+1: > >> I tried reducing the optimization le

Re: Issue with migrating to GWT 2.10

2023-01-19 Thread Paul Stockley
mended.) > > On 1/19/23 14:43, Paul Stockley wrote: > > We are trying to migrate to GWT 2.10 from 2.08. We get this internal > error > > [image: nirvana_–_ci2_build_nirvana_war_xml__nirvana_.jpg] > > Any idea how to further debug this? Our app works fine using SDM

Where to get HEAD-SNAPSHOT builds from

2019-11-06 Thread Paul Stockley
Where can I download HEAD-SNAPSHOT builds from? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. To view this discus

Re: Understanding JsInterop

2018-02-21 Thread Paul Stockley
Try using Js.uncheckedCast from jsinterop-base On Tuesday, February 20, 2018 at 1:59:44 PM UTC-5, Scott Shumway wrote: > > I'm still unable to do this. I want to be able to get a DOMRect from a > com.google.gwt.dom.client.Element with JsInterop. If I cast to this Element > class, or even ((HasGe

Re: JsInterop Shared Model + REST API

2017-11-18 Thread Paul Stockley
gwt-interop-utils shows one way of doing it. This assumes you are OK using intermediate collection types. https://github.com/GWTReact/gwt-interop-utils/blob/master/DOCUMENTATION.md On Saturday, November 18, 2017 at 3:52:09 AM UTC-5, Chris L wrote: > > I'm trying to create a shared model in my

Re: GWTReact Release and Roadmap

2017-05-01 Thread Paul Stockley
is very stable and not going to meaningfully change (at least at the API >>> level) from here on out :) >>> >>> On Sunday, April 30, 2017 at 8:27:10 AM UTC-4, Paul Stockley wrote: >>>> >>>> I have just released a new version of the GWTReact >>>&

Re: GWTReact Release and Roadmap

2017-05-01 Thread Paul Stockley
30, 2017 at 8:27:10 AM UTC-4, Paul Stockley wrote: >> >> I have just released a new version of the GWTReact >> <https://github.com/GWTReact> projects to support GWT 2.8.1 >> >> As of this release, I will no longer be maintaining the MobX and Redux >> proje

GWTReact Release and Roadmap

2017-04-30 Thread Paul Stockley
I have just released a new version of the GWTReact projects to support GWT 2.8.1 As of this release, I will no longer be maintaining the MobX and Redux projects. Our company is not using them currently and I don't have the time to keep them updated. In the future,

Re: GWT React - Update

2017-04-13 Thread Paul Stockley
s inside react elements, so that I can harness the > virtual DOM power even for GWT Widgets? > > > On Thursday, 7 April 2016 19:05:50 UTC+5:30, Paul Stockley wrote: >> >> I have managed to get Redux working. I implemented the following examples >> >> http://re

Re: Compilation of a large GWT application?

2017-04-12 Thread Paul Stockley
For development purposes you could try the following in your .gwt.xml file You many or may not be able to get away with the first setting depending on how you structured your css. In our project we tried to minimize the amount of code generation. We have about 250 uibinder files and 300,000

Can't put breakpoints on specific lines in chrome

2017-04-12 Thread Paul Stockley
When debugging SDM in chrome there are many lines you can't put breakpoints on even though the line number indicates you can. For example, you can'

Slow debugging with SDM

2017-04-10 Thread Paul Stockley
Is anyone else having serious performance problems when stepping through SDM code in chrome? The issue happens in cases where this is mapped to the window object and chrome want to expand all the globals in the inspection window. There is a chrome issue logged https://bugs.chromium.org/p/chrom

Re: Starting new GWT project - what to use

2017-03-27 Thread Paul Stockley
I would seriously look into using some kind of Virtual DOM based library e.g. React, Preact or Vue. I have been using react for over a year both in Java and Javascript and I never want to go back to the old imperative approach. Even complex UI code is now relatively easy to comprehend. I made G

New release of GWTReact

2017-03-18 Thread Paul Stockley
I have just pushed new versions of the GWTReact projects to maven central. This release contains some significant breaking changes. In collaboration with Ivan Markov, I have refactored the API to support ES6 style stateful components. This is a more future proof A

GWTReact release

2016-10-28 Thread Paul Stockley
I have pushed new versions of the GWTReact projects to support the final release of GWT2.8 The versions of the individual JS projects they depend on have also been updated as follows: react 15.3.2, react-dom 15.3.2 redux 3.5.2, react-redux 4.4.5 redux-undo 1.0.0-be

Re: jsinterop @JsFunction: How to get this (context)?

2016-10-11 Thread Paul Stockley
stion from Stepan Koltsov was to > wrap the native js callback. I understand that it used JSNI and > JavaScriptObject that are destined to deprecation but I didn't see any > other way. > > Of course it would be great if you come with a better approach... > > Vas

Re: jsinterop @JsFunction: How to get this (context)?

2016-10-11 Thread Paul Stockley
It should be possible to write a helper that uses the javascript bind command so that you can bind this for any functional interface. I will have a play and see if I can get something working. > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group.

Re: JsInterop and constants

2016-09-27 Thread Paul Stockley
It can't be a child interface. On Tuesday, September 27, 2016 at 9:52:47 AM UTC-4, Kirill Prazdnikov wrote: > > > or you can move your constants to another class since they are not js > visibile... > > Thats what am I doing: > > @JsType(isNative = true, namespace = JsPackage.GLOBAL) > public inte

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Paul Stockley
Is this in a production build or SDM? In SDM you can pass the flag -XmethodNameDisplayMode ABBREVIATED. Then in chrome you will see class/method names in the call stack On Monday, September 26, 2016 at 5:24:25 PM UTC-4, Hristo Stoyanov wrote: > > Hi all, > I wonder if anyone can help me figure o

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Paul Stockley
Sorry, I should also add if this is production, you can generate a symbol map file. Usually on my builds it is located under web-inf/deploy//.symbolMap. You can search for the obfuscated function names e.g. nC_g$ You can also do this lookup at run-time. I would have to dig up the code because I

Re: Very slow debugging form IDEA

2016-09-23 Thread Paul Stockley
A lot of people outside of the GWT community are also complaining that debugging in Chrome is really slow these days. On Friday, September 23, 2016 at 4:54:15 AM UTC-4, Jens wrote: > > Oh and we don't use Java8 yet. We use a GWT version somewhere between 2.7 > and 2.8beta1. > > I think the iss

Re: Is GWT is Dead?

2016-09-07 Thread Paul Stockley
I think you are getting confused with Goggle Wave. On Wednesday, September 7, 2016 at 5:07:41 AM UTC+1, Gourab wrote: > > >> ok then gmail being written in GWT is urban myth. > > It was rewritten in GWT and later reverted back to it's original > implementation. > > On Wed, Sep 7, 2016 at 1:36 AM

Re: Best Practice for JSON object recreation on client

2016-08-18 Thread Paul Stockley
I wrote a set of utilities using the new JsInterop capability in 2.8 that provides one way of handling JSON. Take a look at the documentation here https://github.com/GWTReact/gwt-interop-utils/blob/master/DOCUMENTATION.md We use Jackson on the server for handling the translation from JSON to Jav

Re: working in beta but not in latest git

2016-08-09 Thread Paul Stockley
Your assumption is true for Boolean and Double but not the other boxed types. On Tuesday, August 9, 2016 at 10:39:53 AM UTC-4, Vassilis Virvilis wrote: > > From my understanding (which is not much) the whole point is moot. Looks > like java Boxed types (Boolean, Double, Integer) are mapped direc

Re: Ui Binder Alternatives

2016-07-26 Thread Paul Stockley
I think there is a good chance that Widgets / UiBinder in some form could get ported to GWT 3.0. Probably not by google and probably in separate projects from the main GWT compiler stack. On Monday, July 25, 2016 at 7:58:50 PM UTC-4, Gilberto wrote: > > Nobody really knows how GWT 3 will be for

Re: Ui Binder Alternatives

2016-07-25 Thread Paul Stockley
One option when 2.8 is released would be to use GWT React ( https://github.com/GWTReact/gwt-react). React is a good substitute for the view layer and can be integrated with existing widgets so you can migrate your way to a UiBinderless approach. On Saturday, July 23, 2016 at 9:40:02 PM UTC-4, N

Re: Are GWT widgets "heavy" ?

2016-07-05 Thread Paul Stockley
If you make any calls that retrieve the size of an element then this will cause a re-flow even within a javascript block. On Tuesday, July 5, 2016 at 12:36:38 PM UTC-4, fenyoapa wrote: > > "*This causes the browser to recalculate and repaint the page each time >> you append a single search item

gwt-interop-utils release on Maven Central

2016-06-18 Thread Paul Stockley
I have pushed an initial version of gwt-interop-utils to Maven Central. Thanks for everyone's feedback. I have incorporated what I think makes sense. The documentation has been updated to reflect the changes. I am sure the library will evolve as GWT2.8 gets closer to release and we see what ele

Re: JsInterop and Java collections?

2016-06-09 Thread Paul Stockley
As Thomas says, it will be impossible to support passing any of the collection interfaces directly through to JS code. You might think however, that you could change the implementation of ArrayList to actually be a JS Array. I don't think this is possible either because an instance of ArrayList

Re: JsInterop and Java collections?

2016-06-09 Thread Paul Stockley
As Thomas, says it will be impossible to support passing any of the collection interfaces directly through to JS code. You might think however, that you could change the implementation of ArrayList to actually be a JS Array. I don't think this is possible because an instance ArrayList needs to

Re: gwt-inerop-utils preview

2016-06-03 Thread Paul Stockley
Jens, I can see your point, about the usability when you get many arguments. Originally I was going to kind of mirror the Java JDK and not go more than 2. Personally, I think it is a lot better to define custom interfaces when possible. To avoid having hundreds of class files I have started

Re: gwt-inerop-utils preview

2016-06-03 Thread Paul Stockley
Jens, -- 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 google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googl

Re: gwt-inerop-utils preview

2016-06-02 Thread Paul Stockley
I will take a look at the putnami-gradle-plugin. I noticed Steffan's didn't seem to be supported. Thanks for the offer on migration. The projects are a bit in flux at the moment so probably better off not submitting a pull request until I have landed all the gwt-interop-utils changes. -- You r

Re: gwt-inerop-utils preview

2016-06-02 Thread Paul Stockley
eDefined(String jsVar)/*-{ > return !!$wnd[jsVar]; > }-*/; > > public static native boolean isFunctionDefined(String functionName)/*-{ > return typeof functionName == 'function'; > }-*/; > } > > > > On Thursday, June 2,

gwt-inerop-utils preview

2016-06-02 Thread Paul Stockley
I have committed an initial version of gwt-interop-utils. https://github.com/GWTReact/gwt-interop-utils This library provides some common utilities for working with JsInterop e.g. 1) Object Literal support 2) Shared JSON compatible structures 3) Common functional interfaces 4) JSON utilities 5)

Re: JsInterop receipts for simple JSNI code ?

2016-05-27 Thread Paul Stockley
Will this be for J2CL only? On Thursday, May 26, 2016 at 6:35:36 PM UTC-4, Goktug Gokdogan wrote: > > JsInterop will provide some base classes for stuff that are not possible > with JsInterop annotations. > > On Wed, May 25, 2016 at 1:30 PM, Paul Stockley > wrote: > >

Re: JsInterop receipts for simple JSNI code ?

2016-05-25 Thread Paul Stockley
Eval is really slow. I would use JSNI. Eventually I think J2CL will have a way to execute javascript. Just isolate the JSNI in a helper class so it can easily be replaced. On Wednesday, May 25, 2016 at 3:35:07 PM UTC-4, Hristo Stoyanov wrote: > > Actually, it might be possible to do it with JsIn

Re: window.showModelDialog replacement

2016-05-25 Thread Paul Stockley
What we did in our project to migrate these kind of modal windows on IE was as follows:- 1) Create a GWT modal dialog with an iframe in it and point this to the url for the window. 2) Add some code to the existing page to talk to the parent GWT window to close the dialog when the user clicks th

GWTReact gwt-mobx release

2016-05-18 Thread Paul Stockley
I have pushed the initial version of gwt-mobx to maven central. For details see below https://plus.google.com/118432214189324759065/posts/AUneMdPApZf -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receivin

Re: GWT React preview release on Maven Central

2016-05-14 Thread Paul Stockley
Thanks, I am new to Gradle and I am sure that will have saved me many hours of investigation. On Saturday, May 14, 2016 at 9:25:40 AM UTC-4, Christian Bauer wrote: > > tasks.withType(de.richsource.gradle.plugins.gwt.AbstractGwtActionTask) { > > //args "-logLevel", "TRACE" > args "-generateJsInter

Re: GWT React preview release on Maven Central

2016-05-13 Thread Paul Stockley
The problem I've got is that I need to pass the -generateJsInteropExports flag. The plugin doesn't support this. On Friday, May 13, 2016 at 10:40:15 AM UTC-4, Paul Stockley wrote: > > I have pushed preview versions of gwt-react, gwt-react-router and > gwt-redux to Maven Cen

GWT React preview release on Maven Central

2016-05-13 Thread Paul Stockley
I have pushed preview versions of gwt-react, gwt-react-router and gwt-redux to Maven Central. Check out the documentation for details. https://github.com/GWTReact Soon I hope to have a Gradle build file to make it easy to try out the examples. I am just working around some issues with the Gradl

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 MaterialW

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

GWT React initial version

2016-04-24 Thread Paul Stockley
I just pushed an example to gwt-react-examples showing how to combine react with Widgets. -- 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 google-web-toolkit+unsubs

Re: Compile a Java application into a single JavaScript file?

2016-04-24 Thread Paul Stockley
Just define another gwt.xml file for your app that points to the same entry point but uses the sso linker and use this for debugging, On Sunday, April 24, 2016 at 3:16:25 AM UTC-4, Kirill Prazdnikov wrote: > > > > > > I tried that and this is great. Now I have the only script file and this > is

GWT React initial version

2016-04-22 Thread Paul Stockley
I have pushed the initial version of GWT React to Github It is still very much as work in progress, but I it is definitely a viable project. The API for React itself is pretty complete. Redux works for the basics but I need to test out middleware and store enhance

Re: GWT React

2016-04-14 Thread Paul Stockley
ute if > its with an open license. > > thanks, > Debasish > > On Thursday, April 7, 2016 at 6:48:27 PM UTC+5:30, Paul Stockley wrote: >> >> Sorry, >> I was just updating it to include samples for Redux that I just got >> working

GWT React - Update

2016-04-07 Thread Paul Stockley
I have managed to get Redux working. I implemented the following examples http://redux.js.org/docs/introduction/Examples.html#counter http://redux.js.org/docs/introduction/Examples.html#todos-with-undo You can see the code on my google drive below: https://drive.google.com/folderview?id=0Bxp8vL

Re: GWT React

2016-04-07 Thread Paul Stockley
Sorry, I was just updating it to include samples for Redux that I just got working. The new link is https://drive.google.com/folderview?id=0Bxp8vLBG2ol3ZERCc3lHUEhKU2M&usp=sharing -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe f

Re: GWT React

2016-04-07 Thread Paul Stockley
Sorry, -- 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 google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@goog

Re: GWT React

2016-04-01 Thread Paul Stockley
Just a quick update. I am continuing to finish and refine the API. I got a basic Redux example working. Every sample I convert exposes other areas I need to work on to make the API as usable as possible. I will post some details on the challenges of converting something like React to Java. The

GWT React

2016-03-24 Thread Paul Stockley
We currently have a large GWT application that we have been working on for the last 4 years. We use Uibinder and Widgets very heavily, although we have our own Widget set and RPC mechanism. The application is being constantly expanded and realistically won’t be fully rewritten for 8-10 year

Re: Complex Overlay Type

2016-03-22 Thread Paul Stockley
So it looks like pages is actually a hashtable of pageid's to page objects. You can use a class similar to the following and define pages using it public class JsMap extends JavaScriptObject{ protected JsMap() { } public final native T get(String key) /*-{ return this[key]

Re: When will GWT 2.8 GA realistically happen?

2016-01-20 Thread Paul Stockley
Some notes on the expected release https://groups.google.com/forum/#!topic/gwt-steering/VL8Af2Ae7WM On Thursday, January 14, 2016 at 6:03:21 AM UTC-5, Marcin Okraszewski wrote: > > Hi, > We have hit a bug with SDM in 2.7, when we use shared CSS via interfaces > inheritance. It seems to be fixe

Re: Custom widget child elements

2014-01-07 Thread Paul Stockley
You could try storing the child widget in a private member variable and then in onAttach() actually add the child widget to its parent. This is the approach I have taken when using UiChild. On Friday, January 3, 2014 9:16:23 AM UTC-5, Ben Cuthbert wrote: > > Hi All, > > I have created a custom

Re: GWT - So terribly slow that makes development hard ... very hard ... extremely hard ...

2013-04-18 Thread Paul Stockley
performance improvement definitely seems to be an immediate priority. See the draft roadmap https://docs.google.com/document/d/1bmp0a-d5cb_Sqb4w9rZyfMhg7i6lYfLLt3zymIFoAmo/edit On Thursday, April 18, 2013 1:22:15 PM UTC-4, Ani wrote: > > Now that we have been using GWT for a while ... what do yo

Re: GWT Benchmarks, Java Virtual Machine vs GWT+browser JsVM

2013-02-07 Thread Paul Stockley
: > > > > Il giorno giovedì 7 febbraio 2013 16:14:32 UTC+1, Paul Stockley ha scritto: >> >> For sure we release production code with the following flags >> >> >>- true >>- true >> >> >> Also you don't specify what vers

Re: GWT Benchmarks, Java Virtual Machine vs GWT+browser JsVM

2013-02-07 Thread Paul Stockley
For sure we release production code with the following flags - true - true Also you don't specify what version of IE you are testing with, I assume IE9 On Thursday, February 7, 2013 10:10:54 AM UTC-5, Fabiano Tarlao wrote: > > Hi, > in fact I have not specied not used particular optimiz

Re: GWT RPC future ?

2013-02-06 Thread Paul Stockley
We had similar issues with RPC especially on the iPad. In the end I wrote a new RPC mechanism based on the command pattern that is entirely JSON based. The client representation of server side java objects are JSO's that are automatically maintained by a generator (outside of GWT). The RPC frame

RenderablePanel/IsRenderable

2013-02-05 Thread Paul Stockley
Does anyone have any experience using RenderablePanel? I get the basic idea but can't find any uses of this or samples. It also states that it is experimental and subject to change. Just wondering if I can use it for some of my custom widgets? I think it could substantially speed up the renderin

Re: GWT Best practice for preventing duplicate requests and displaying busy icon

2013-02-01 Thread Paul Stockley
I wrote a modal working mask that fades a working indicator into view after a second. At any time, input is blocked. The mask also does reference counting so if multiple RPC requests are kicked off, the mask is only hidden once all the requests are complete. On Friday, February 1, 2013 9:14:56

Obfuscation tuning

2013-01-29 Thread Paul Stockley
We are having some issues on IE tracking down some errors in production. IE is often less than helpful in that it often doesn't give you any call stack, Instead you get messages like (TypeError): Unable to get value of the property 'f': object is null or undefined description: Unable to get val

Re: Intellij for GWT app development. Is it worth it?

2013-01-26 Thread Paul Stockley
The auto make doesn't work anytime a debugger is running. I used to use a plugin that did a make anytime a change was made to a file. This actually worked better in my opinion. I haven't tried it on v12 yet. -- You received this message because you are subscribed to the Google Groups "Google W

Re: How get widget width, after it's drawed ?

2013-01-22 Thread Paul Stockley
Try this method that uses ComputedStyle. I couldn't be bothered to optimize it with deferred binding so it does some runtime checks. static public native String getComputedStyleProperty(Element el, String property) /*-{ if (window['getComputedStyle']) { // W3C DOM method if (property

Re: SuperDev Mode Java files are not sent to the browser

2013-01-14 Thread Paul Stockley
I think the issue could be related to this: https://gwt-review.googlesource.com/#/c/1300/1 On Monday, January 14, 2013 7:46:26 PM UTC-5, emurmur wrote: > > Unfortunately, I'm just now experiencing the same thing. It started > happening immediately after I update to Chrome 25. It's not clear ye

Re: SuperDev Mode Java files are not sent to the browser

2013-01-13 Thread Paul Stockley
One you bring the dev tools up hit refresh on the page. On Sunday, January 13, 2013 4:06:24 AM UTC-5, ustakraharez wrote: > > Dear All, > > I have a strange problem with SuperDev mode. Sometimes it sends the java > files to the browser, sometimes (and sadly more times :-)) it don't. > > - SuperD

Re: Open url in new mobile safari instance?: Window.open()

2012-12-30 Thread Paul Stockley
This works on iOS Fullscreen web applications. I think it may also work on a UIWebView public void open(String url) { Anchor a = new Anchor(); a.setTarget("_new"); a.setHref(url); RootPanel.get().add(a); NativeEvent e = Document.get().createHtmlEvent("click", true, true); a.getElement().dispatc

How to determine if you are running in SuperDevMode

2012-12-17 Thread Paul Stockley
Is there a way to tell if you are running in SuperDevMode? I want to add some extra debugging specifically when developing. GWT.isScript() obviously isn't useful in this case. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this

Question about shared code

2012-11-20 Thread Paul Stockley
I have some classes that I want to share between server and client code. The problem is they contain methods with vargs that are not supported on the client. I only want to use these on the server. Is there some way to tell the compiler to ignore these methods for client code. -- You received

Re: SuperDevMode not so super

2012-11-15 Thread Paul Stockley
One tip in the chrome dev tools to find a source file is to select the sources window and just start typing the name of the file. This will take you to the files that match as you type. On Wednesday, November 14, 2012 3:24:35 AM UTC-5, Stefan Röck wrote: > > In a larger GWT multi project app and

Re: SuperDevMode not so super

2012-11-14 Thread Paul Stockley
Our project is about 35,000 lines of client and server code. We don't use RPC or request factory because we have our own RPC mechanism. We do have quite a lot of UI binder files. Super dev mode recompiles take between 6 to 8 seconds. So it sounds like the generators are your problem. For some t

Re: Increasing Client-side Storage

2012-11-08 Thread Paul Stockley
Actually the limit is 2500 characters in many browsers as they store the data in mult-byte format. Unless the browser supports it, there is no way of increasing this. What browser/versions are you using? On Thursday, November 8, 2012 12:32:04 PM UTC-5, Joseph Lust wrote: > > Sounds like a likely

Re: Intellij for GWT app development. Is it worth it?

2012-10-22 Thread Paul Stockley
I have been an eclipse user for over 8 years and finally had enough of the sluggishness and general flakiness. Our development group switched to IntelliJ and all I can say is we aren't going back. Currently we are on 11.x although at home I use 12. 12 isn't stable enough for production yet but

Re: Was there an iOS 6 RC available to smoke test GWT with?

2012-10-03 Thread Paul Stockley
You can get safari pre-releases for the desktop for free by signing up at https://developer.apple.com/programs/register/ To get iOS pre-releases of safari you have to sign up as an iOS developer which for an individual costs $99 a year. On Wednesday, October 3, 2012 11:22:18 AM UTC-4, Joseph

Re: CSS 3 transition+ GWT

2012-09-24 Thread Paul Stockley
I had the same issue as you and ended up patching DomImplStandard to add the webkitTransitionEnd event to sinkBitlessEventImpl. On Monday, September 24, 2012 4:10:10 PM UTC-4, Joseph Lust wrote: > > You should be able to achieve everything you need via CSS class names > being added or removed.

Re: CSS 3 transition+ GWT

2012-09-17 Thread Paul Stockley
I use transitions and they work fine just by using the style object to update the property. On Sunday, September 16, 2012 7:51:59 PM UTC-4, regnoult axel wrote: > > Hi Andrei, > > I will try to answer the best I can regarding to your questionsand > most of all, regarding to want I have und

GWT module may need to be (re)compiled message when using SuperDevMode

2012-09-08 Thread Paul Stockley
Every time I click the compile button from the 'Dev Mode On' bookmarklet, I get the 'GWT module '..' may need to be (re)compiled' alert. It works fine after that but it's kind of annoying. Anyone have an idea why this happens? -- You received this message because you are subscribed to the Googl

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-06 Thread Paul Stockley
It's because they don't support polymorphism with overlay types. The same reason all methods are final and cannot be overridden in sub classes of a JSO. On Thursday, September 6, 2012 2:22:16 PM UTC-4, Sebastián Gurin wrote: > > Hi all. I'm writing a lot of GWT overlay types for my new project Y

Re: How can we save state of a GWT page?

2012-08-03 Thread Paul Stockley
If we need to remember more information than can reasonably stored on the URL we use local storage. The data we need to remember is represented as javascript overlay types and we serialize these to/from json. On Wednesday, July 25, 2012 8:14:20 AM UTC-4, Rubina wrote: > > Hi All, > > > > We ha

Re: nullMethod and performances

2012-08-02 Thread Paul Stockley
GWT preserves the JAVA semantics of statics i.e. they are initialized on first access. This is achieved by calls to $clinit_.. methods that do the initialization. Within the body of these $clinit functions, once initialization is complete, they assign the nullMethod function to themselves. So

Re: DevMode for Firefox 14

2012-07-23 Thread Paul Stockley
Better devmode for chrome will be super devmode. I think the current plugin issue is a chrome bug that they seem to have no interest in fixing. On Monday, July 23, 2012 11:37:42 AM UTC-4, El Mentecato Mayor wrote: > > Many thanks to Allan! > > > ALL: Please star this issue: > > > https://code

Re: NULL Points + Fire Fox

2012-07-16 Thread Paul Stockley
I can tell you that if you are working in anyway with JSO objects, devmode will mask out null pointer exceptions. Maybe this is related. The problem has to do with the JS method devmode uses to execute the JSNI code in the browser. The stupid JS spec says if an object is null just do nothing, Wh

Re: SuperDevMode compile time

2012-07-11 Thread Paul Stockley
I think I remember reading that there may be a problem with some of the generators running all the time (rpc and client bundle) even if nothing has changed. That could be causing some projects to be slow. Also ray mentioned that the linking phase was taking longer then he expected in some cases.

Re: Elemental in GWT 2.5 is what?

2012-07-10 Thread Paul Stockley
Elemental really is two things. Firstly, a set of collections that have very little overhead compared to the java emulated classes. They are created based on JSO objects and are about as performant as you can get. Secondly, a generated set of JSO mappings to ALL webkit/chrome exposed javascrip

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Paul Stockley
Story of your compile. Do a google search. On Thursday, June 21, 2012 4:59:09 PM UTC-4, Carsten wrote: > > Interesting. What means soyc? > > On Thursday, June 21, 2012 10:41:54 PM UTC+2, Paul Stockley wrote: >> >> Yes it will remove methods and classes that are not used.

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Paul Stockley
Yes it will remove methods and classes that are not used. If you compile with the option -compileReport it will generate a soyc report that shows you all the code that is included in your project. On Thursday, June 21, 2012 4:17:53 PM UTC-4, Carsten wrote: > > Hi, > > I was wondering how well th

Re: Issue Reloading Frame

2012-06-14 Thread Paul Stockley
You can use some JSNI to do this. Create a method such as protected native void reloadIFrame(Element iframeEl) /*-{ iframeEl.contentWindow.location.reload(true); }-*/; Then call it with your iFrame element On Thursday, June 14, 2012 10:17:26 AM UTC-4, Thomas Mancini wrote: > > All, > > I a

Re: gwt compiled code creates empty body functions

2012-05-10 Thread Paul Stockley
This is normal, there is nothing you can do to avoid them. There was talk about optimizing the output to avoid these. On Thursday, May 10, 2012 2:16:21 AM UTC-4, alexeb112 wrote: > > Hi im not sure if this is why to post this but ill try anyway. So I > noticed in the javascript code that GWT com

Re: Updated Information on JsonpRequestBuilder and Javascript Overlay objects

2012-05-07 Thread Paul Stockley
What kind of type is List? Typically JSO's only support JsArray<> for arrays of JSO's On Monday, May 7, 2012 2:51:13 PM UTC-4, Christopher Piggott wrote: > > Hi, > > What's the current state of javascript overlay objects and > JsonpRequestBuilder? Should the same code work both in deployed (run

Re: Google axing GWT?

2012-04-27 Thread Paul Stockley
It looks like the GWT guys who left to go to new startups are still using GWT. This bodes well for future support even if Google isn't directly involved anymore. On Friday, April 27, 2012 4:19:47 PM UTC-4, Daniel Mauricio Patino León wrote: > > I think GWT its a very good open source project. W

Re: GWT Performance : Good or Bad ?

2012-03-27 Thread Paul Stockley
Seems this whole thread has more to do with GXT than GWT. We have built a large app, part of which runs on the ipad as a fullscreen web app and performance isn't a problem at all. We built most of our widgets ourself to be very efficient and we make use of HTMLPanels and raw html where it makes

Re: Defining a Jetty realm in hosted mode

2012-03-21 Thread Paul Stockley
Create a jetty-web.xml file under your war/WEB-INF folder Mine is defined as follows http://jetty.mortbay.org/configure.dtd";> default c:\ocs\jettyusers.properties my jettyusers.properties file contains the username, password and roles f

Re: GWT support for Safari on Windows

2012-03-16 Thread Paul Stockley
Devmode on safari is only supported when using a mac. On Friday, March 16, 2012 10:24:21 AM UTC-4, jsg wrote: > > I have just used the workaround for issue 6601 , but running Safari 4.0.5 > or less than 5.1 does not result in an installable version for GWT-plugin > for Windows. > > On Friday, 16

Re: CssResource @def in UiBinder

2012-02-14 Thread Paul Stockley
A somewhat convoluted way of doing this is as follows. The resulting javascript code is actually very good and 99% of the time just the string literal for the def will be included. @def COLOR_ONE #3B5998; @def COLOR_TWO #DFE4EE; @def COLOR_THREE #FF; @def COLOR_FOUR #6792AB; @def COLOR_F

Re: image can show in debug mode, but not when deloyed to weblogic

2012-02-10 Thread Paul Stockley
Remove the initial '/' i.e. "Images/abc.png" There is a difference in the way devmode treats context paths. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-

Re: Custom widget with custom UiBinder markup

2012-02-03 Thread Paul Stockley
Add two methods @UiChild public void addLeft(Widget w) {...} @UiChild public void addRight(Widget w) {..} Then make sure you widget implements HasWidgets or similar. In your uibinder you can now use -- You received this message because you are subscribed to the Google Group

Re: Overriding processCall to intercept RPC calls

2012-01-03 Thread Paul Stockley
In your service interface you have do declare each function throws your custom exception otherwise you will get that error. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.co

Closure compiler integration

2011-12-22 Thread Paul Stockley
I can see there is some work going on to integrate the closure compiler as a back end to the GWT compiler. Apparently this can give a 20% code reduction. I am curious why such a big decrease. GWT and the closure compiler seem to do very similar optimizations so why is the closure compiler so mu

Re: Poor quality code produced by uiBinder when using CSSResources

2011-12-20 Thread Paul Stockley
That isn't the case, I can tell a measurable difference. This change was introduced when uiBinder switched to use SafeHTMLTemplates. You can use the following to disable its use In a more extreme example, I was using a SafeHTMLTemplates to build a complex list and just the class names resulte

  1   2   3   >