Re: GWT 3.0 Roadmap?

2014-09-22 Thread Jens
GWT 3.0 will be early next year with Java8 language support. Before that GWT 2.7 RC1 is planed to be release at the end of this month...but could also be next month. GWT 2.7 will have CSS3 support, an experimental version of JsInterop and a faster, easier to set up SuperDevMode (and bug fixes o

Re: Pb with activity and events (using gin)

2014-09-19 Thread Jens
> > 1) In the comment to your code, it's said that a Scheduler must be also > managed by GIN. Therefore, the question if it is a bad practice to use > Scheduler.get(), while the rest of the project is managed by GIN? How > about RootPanel.get() (or RootLayoutPanel.get()) factory calls? Seems >

Re: Is there a tutorial that explains Places and Hyperlinks?

2014-09-19 Thread Jens
In general the hash fragment the GWT places framework generates consists of two parts: a unique prefix that represents the place type and a token that contains the serialized state of a place instance. Both are separated by a colon. You can use @Prefix to change the default unique prefix of a P

Inside GWT compiler. How it works, and dose it use some interim outputs(eg XML )

2014-09-18 Thread Jens
Take a look at http://gwtcreate.com/2013/videos/#compiler-deep-dive -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@g

Re: Can't download a zip file from Server at Button Click in GWT

2014-09-18 Thread Jens
I guess you need to set the buffer size earlier in your code. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googleg

Re: What to do when GWT finds no permutation for browser

2014-09-17 Thread Jens
A recent patch (available in GWT 2.7) allows you to provide a default permutation (e.g. safari) if GWT can not detect the browser and with deferred binding you can display a warning that the provided app might not work correctly as the browser is generally unsupported by GWT. An alternative is

Re: GWT with Bootstrap css

2014-09-16 Thread Jens
GWT 2.7 will support CSS media queries in GssResources. So you could use GWT 2.7-SNAPSHOT or use https://github.com/jDramaix/gss.gwt until GWT 2.7 is released. If you need/want to execute code when a media query gets active/inactive you can use window.matchMedia via JSNI (and window.onResize as

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Jens
Ah come on. Just wanted to post and that yellow notification box pops up.. ;-) This was a really bad idea. You should use the most specific types as > possible in your RPC interfaces and transfer-objects (it's not news, it has > always been that way, it's just become stricter over time). > I h

Re: only type string and int properties can been inserted to the class?

2014-09-13 Thread Jens
I am not entirely sure but I think UiBinder only allows String, int, boolean and Enum values as method/constructor parameters. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails

Re: Pan image in viewport

2014-09-12 Thread Jens
Instead of *Listener classes/methods use *Handler classes/methods and instead of DOM.addEventPreview() use Event.addNativePreviewHandler(). Not sure what else to say as the example is pretty simple. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: Main Advantages of using GWT against other technology like [jsp,spring,javascript...]

2014-09-09 Thread Jens
> > I would add a *con *though: > Another "con": Because GWT is so Java'ish people often think they don't need knowledge of CSS / HTML / JS at all when using GWT. However reality is that sooner or later you will need knowledge in these areas. You don't have to be experts but you shouldn't be

Re: GWT 2.5 App Does Not Display Items in Internet Explorer

2014-09-08 Thread Jens
Are you sure your IE is in standards mode? -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post

Re: Make gwt website crawlable without hash symbol?

2014-09-05 Thread Jens
> > So, if you could make all "domain.TLD/" requests forward to your index > page, while keeping the URL, then bootstrap some pushState detection logic, > and then redirect to the othothorpe version (build permutation) if they > don't support push state, you might be able to swing it. Should be

Re: HTTP Referer problem with GWT

2014-09-05 Thread Jens
> > When is 2.7 scheduled to release? > I think I have read somewhere (here or on G+) that RC1 might happen at the end of september. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receivin

Re: HTTP Referer problem with GWT

2014-09-05 Thread Jens
> > How can I use the xsiframe linker? > > What impact will this have on my webapp? If I still use the devMode will > it break it? > The only difference is that permutations are now js files and not html files. So if you don't do anything special with the GWT compiler output (e.g. matchi

Re: HTTP Referer problem with GWT

2014-09-05 Thread Jens
Maybe use the xsiframe linker which produces *.cache.js files instead of html files. The xsiframe linker will be the default in GWT 2.7 anyways. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and sto

Re: Is RPC gone in 2.7-SNAPSHOT

2014-09-04 Thread Jens
It has been deleted. https://gwt.googlesource.com/gwt/+/f18e4e23898d3e090e0fae1fed2abd97e78b62e7 -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to go

Re: Strange error while compiling with 2.7.0 snapshot

2014-09-04 Thread Jens
> > [WARN] Some preamble types became stale. Recreating them is forcing a full > recompile. Stale preamble types: [com.google.gwt.lang.Util, > com.google.gwt.lang.ModuleUtils, java.io.Serializable, > com.google.gwt.lang.Array, java.lang.String, java.util.Comparator, > java.lang.Class, com.goog

Re: Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Jens
Could https://code.google.com/p/google-web-toolkit/issues/detail?id=8716 be the problem? -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web

Re: remove directory with contents on users requests

2014-09-03 Thread Jens
You have to delete all files one by one. In Java7+ you can use Files.walkFileTree() to visit all files. If you are still on Java6 I am pretty sure Apache Commons or Guava will provide a similar utility method. -- J. -- You received this message because you are subscribed to the Google Groups

Re: ListBox vs ValueListBox

2014-09-03 Thread Jens
ListBox is a direct wrapper around HTML element and thus can only hold strings. ValueListBox works on top of that and allows to handle any object. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and

Re: Rebind / Generate from annotations

2014-09-01 Thread Jens
> > I'am working on the Injection framework of PWT, it's gonna be awesome. > How can it be more awesome than Dagger 2.0 or Gin? But actually I am facing a big question: > Is there any way to rebind with a generator a class without implementing > any interface or extending any parent class? >

Re: GWT using SDM throws error at app startup

2014-08-31 Thread Jens
The stack trace says the error is inside setBookingSheetRowData(). But just don't be afraid to look at the JS code. Open Chrome Dev Tools, go to the sources tab, open adloader-0.js (and wait a bit as it is maybe a large file), hit ctrl + g and enter the line numbers of the stack trace. For setB

Re: GWT using SDM throws error at app startup

2014-08-30 Thread Jens
GWT often (if not always) transforms methods that are not overridden into static methods. Such static methods begin with a $ sign. In your stack trace you can see Unknown.$getView is causing the exception with message "Can not read property 'view' of undefined". That basically means in your Jav

Re: SuperDevMode and Tomcat

2014-08-30 Thread Jens
When you make a change on client code you need to hit the DevMode On -> Compile button again so that the CodeServer recompiles your app. GWT 2.7 with "compile per file" will make that a lot faster than GWT 2.6. You can try compile-per-file when using GWT 2.7-SNAPSHOT from maven if you want. If

Re: How to override the deferred binding configuration of a inherit gwt module

2014-08-27 Thread Jens
As far as I know this should work if you make sure your own occurs after the tag. I think you also have to take care if you inherit A again indirectly after you have redefined A1Impl to B1Impl. For example the following might not work as expected: inherits A -> declares replace-with A1Impl

Re: When will GWT 2.7 be available?

2014-08-26 Thread Jens
You can already use GSS: https://github.com/jDramaix/gss.gwt The code will be part of GWT 2.7 once it is ready. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send

Re: Moving to Maven

2014-08-25 Thread Jens
> > Why does it ask for groupId (and if you give an answer, for artefactId, > and so on)? > It seems that this was already specified with the -D parameter? > The -D parameters reference the GWT plugin so it can be downloaded from the maven repository. The values the plugin asks for are for yo

Re: Error running Unsupported major.minor version 51.0

2014-08-22 Thread Jens
Not sure why you post that in a GWT group but your lib requires Java 7: http://stackoverflow.com/a/11432195/3478317 -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, s

Re: SeedTable is taking 6% of my applications memory

2014-08-22 Thread Jens
Beside trying 2.7.0-SNAPSHOT you should search for "Detached DOM tree"s in your heap dump. Some detached DOM trees are kind of normal as you probably have some instantiated views in memory which are not attached yet but if you see lots of them then you most likely have a DOM memory leak somewher

Re: SeedTable is taking 6% of my applications memory

2014-08-22 Thread Jens
It is used to emulate Java class hierarchies. Each class has a seed id and this seed id is then used during class cast checking (e.g. ID 1 can be cast to ID 2,3,4) and possibly other stuff. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: JsInterop advance?

2014-08-20 Thread Jens
Interesting. I also have a promise library that maps to ES6 native promises but I am still using normal JSNI to do so. Would be nice to see how this could work with JsInterop. Is there any documentation about JsInterop yet or do you just try around by looking at GWT tests? -- J. -- You recei

Re: render a SVG graphic as bitmap?

2014-08-19 Thread Jens
> > Sounds nice, but a primitive test app that displays a simple SVG graphic > doesn't show up in Safari (IOS 7) and Blackberry. > (Ok, the latter may be unimportant.) > Then you have done something wrong. I just tried IOS 6 and 7 using http://svgjs.com/test/ Other than that you would either

Re: render a SVG graphic as bitmap?

2014-08-17 Thread Jens
Just don't support IE 8 and be happy http://caniuse.com/#search=svg Other than that you would either use a graphics tool to export svg to jpg/png and fixed resolutions and let the client decide which to use or let the server convert it if you don't have any fixed resolutions. -- J. -- You rec

Re: master/3.0.0 js interop ready to play with?

2014-08-15 Thread Jens
You need to tell GWT to compile your test to JS. To do so you can use the following JVM parameter: -Dgwt.args="-prod -XjsInteropMode JS" If you want a list of all parameters available use -Dgwt.args="-help" -- J. -- You received this message because you are subscribed to the Google Groups

Re: Continuous Delivery with GWT

2014-08-14 Thread Jens
Here is an older post of me, explaining what we do: https://groups.google.com/d/msg/google-web-toolkit/wy-agrYSHsk/DgZr4zR0iKMJ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving email

Re: Continuous Delivery with GWT

2014-08-14 Thread Jens
If you use GWT-RPC then you have to live with page reloads. We use GWT-RPC and the only downtime we have is when updating the DB schema. In all other cases the user gets a "App has been updated and will be reloaded now" message and the app reloads itself. I am not sure which security issues you

Re: GWT support for Chromium OS

2014-08-12 Thread Jens
GWT supports Chrome and thus it should support Chrome OS without issues. If your Gradebook2 thing doesn't work then you better ask the Gradebook2 developers. Maybe they need to update the libraries they use. -- J. -- You received this message because you are subscribed to the Google Groups "G

Re: Problem retrieving JSON data from a server using http get request

2014-08-11 Thread Jens
What you are doing is violating the same origin policy for ajax requests: http://en.wikipedia.org/wiki/Same-origin_policy You can use JSONP or CORS to fetch data from a domain other than your host page ("other domains" includes sub domains). Otherwise you need to proxy requests from mysystem to

Re: master/3.0.0 js interop ready to play with?

2014-08-11 Thread Jens
I think it should work. At least there are tests for @JsExport in https://gwt.googlesource.com/gwt/+/master/user/test/com/google/gwt/core/client/interop/ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this gro

Re: Problem in fetching Large amount of data approximately 75,456 from server side to client side using GWT RPC

2014-08-11 Thread Jens
> > 2. Break the data down and send less. > And DataGrid's AsyncDataProvider allows you do load data page by page. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, s

Re: Can we use multiple mvp using single Entry point.

2014-08-07 Thread Jens
> > > ActivityManager module1ActivityManager = new > ActivityManager(1stModuleActivityMapper, > eventBus);module1ActivityManager.setDisplay(commonDisplay); > ActivityManager module2ActivityManager1 = new > ActivityManager(2ndModuleActivityMapper, eventBus); > module2ActivityManager1 .setDisplay

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-08-07 Thread Jens
In GWT 2.6.x devModeRedirectEnabled is enabled by default, so you can remove it from your module. Because it is enabled by default GWT restricts SDM to 127.0.0.1 and localhost for security. If you need to access your app through "myhost" then you have to whitelist that host explicitly using .

Re: Can we use multiple mvp using single Entry point.

2014-08-06 Thread Jens
Sure. It is great for defining multiple display areas in your app. Take a read: http://blog.ltgt.net/gwt-21-activities-nesting-yagni/ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-08-05 Thread Jens
> > I remember having created this bookmarklet when reading some SDM document, > but I never understood how to use it. Why should one use it to recompile > the app, instead of running the GWT compiler in eclipse? And what exactly > is the SDM code server (remember, I started my app in eclipse b

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-08-04 Thread Jens
> > Remember where I am standing: > > *In eclipse I call "run as web application", and in the generated link > (http://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997 > ) I cut off > the portion after and including the "?" charac

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-08-03 Thread Jens
> > I cannot even debug by "tracing", i. e. do some System.out.println > commands. I cannot see any output. > On client side use GWT.log or the GWT emulation of java.util.logging (http://www.gwtproject.org/doc/latest/DevGuideLogging.html). Both log to your browser console. -- J. -- You rece

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-08-03 Thread Jens
> > Using the browser's dev tools. For eclipse there is a proof-of-concept >> plugin to allow debugging in the IDE: https://github.com/sdbg/sdbg >> > > Do the two sentences indicate two debugging methods? > When you use SDM you have your app compiled to JavaScript running in your browser and y

Re: Using super-dev mode - please help

2014-07-29 Thread Jens
When SDM is active then source maps are loaded from the SDM code server and not from your app server. Whenever the browser requests a *.cache.js file from the SDM code server a HTTP response header will be set with the location of the source maps. AFAICT this location should always be fine and

Re: How to get the Url string before & after “#” that works both in eClipse Development & in deployed real domain name in GWT?

2014-07-29 Thread Jens
String newUrl = Window.Location.createUrlBuilder().setParameter("locale", ).buildString(); Window.Location.assign(newUrl); *OR* Window.Location.replace(newUrl); -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from th

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Jens
> > The internationalization works fine if i open > *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage > > > * > > But it doesn't work if i open > *http://127.0.0.1:/Ekaja

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
> > Example: through the tag name I can specify the widget that needs to be > created that can consists of several div elements.. (pretty powerful, I > like using it). > I have once done a questionnaire that way and also wanted some special widgets in the final panel. To do so the server h

Re: onResize not called in custom widget

2014-07-27 Thread Jens
The onResize() method will only be called automatically if you place your widget inside a widget that implements ProvidesResize [1]. Also the RequiresResize/ProvidesResize chain must be correctly setup up to the RootLayoutPanel. The RootLayoutPanel is actually the panel that listens for windows

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
> > > Then override onBrowserEvent() > Yes, I could change it. You mean overriding the onBrowserEvent() of the > parent of the anchor element I suppose? > I would have to dig a bit deeper to see if it would cover all my > requirements, but sure a good idea. I remember doing this in the past but

onResize not called in custom widget

2014-07-27 Thread Jens
} } As you can see, it's pretty simple (yet). I'm expecting the text of the label being changed when resizing the widget, but nothing happens. I'm new to GWT so maybe I'm missing something important. Can anyone give me an advice what's going wrong here? Thanks in adva

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
If you can change it then I would directly use html tags along with data-* attributes, e.g. some text and products and some more text Then override onBrowserEvent() so you can figure out if someone clicked your tag which should lead to the products page. If you can not change the format then

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Jens
> > my GWT compiler does not recognize a "-draft" option. I am running GWT > 2.6.0. > I think it is -draftCompile . Doesn't the GWT compiler help (which is automatically shown on console when you provide an unknown parameter) doesn't show the correct option? However, I changed my code (added

Re: How to get the Total of current tabs in TabLayoutPanel?

2014-07-26 Thread Jens
TabLayoutPanel.getWidgetCount() -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 gro

Re: Select locale using custom URL parameter

2014-07-23 Thread Jens
Sure, You can also use other mechanisms to get locale information for GWT. Take a look at I18N.gwt.xml -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an ema

Re: OnClick event fired more than one time for one click

2014-07-22 Thread Jens
> > I have an image and I have installed an ClickHandler. More than one event > are sent when the image is clicked once. The number of click events are not > random; there is a pattern. Any clue? > Most likely you have multiple ClickHandlers attached to the image. -- J. -- You received this

Re: Audio feature in GWT project using eclipse juno.

2014-07-22 Thread Jens
If you just want to play audio you can use - GWT's Audio class: http://stackoverflow.com/a/14794986 - gwt-voices: https://code.google.com/p/gwt-voices/ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group

Re: Trying to get an object with a number array out of a js script

2014-07-22 Thread Jens
> > No: TestObj.member1 is evaluated to a function and then called as a > constructor with the arguments: > http://www.ecma-international.org/ecma-262/5.1/#sec-11.2.2 > I definitely have to read more about JS. Thanks for correcting. Just noticed "this.x" in the JSNI method getAsJsObj(). Should

Re: Unable to load Module in embedded IE / OCX

2014-07-22 Thread Jens
Your onModuleLoad is called as seen in the stack trace: at com.google.gwt.dom.client.Node$.appendChild$(Node.java) at net.tecdoc.ws.gwt.client.MainApp.onModuleLoadInternal(MainApp.java:491) at net.tecdoc.ws.gwt.client.MainApp.onModuleLoad(MainApp.java:452) Your onModuleLoadInternal() method calls

Re: Trying to get an object with a number array out of a js script

2014-07-22 Thread Jens
> > > *I got an answer that my function TestObj.member1 has to return 'this'. > I'm still new to JavaScript but I think a call of new > TestObj.member1 should return the object that is created?!* > You are calling the function "member1" on a newly created TestObj. So "return new TestObj.member

Re: Deserialization error when adding a ArrayList to a DTO

2014-07-22 Thread Jens
> > It seems that changing the order of the members and moving the getter and > setter further down fixed the problem. Does this make sense? > No that does not make sense unless there is a real bug in the GWT code. -- J. -- You received this message because you are subscribed to the Google Gr

Re: DateBox incorrect time past certain dates

2014-07-21 Thread Jens
> > I must be missing some piece of information then. Could you please explain > to me why it works fine in Dev mode, but does not work in the compiled > version? Same browser each time. > In DevMode the real Java Date will be used and thus JVM timezone information (most of your code runs in t

Re: Deserialization error when adding a ArrayList to a DTO

2014-07-21 Thread Jens
Seems fine in general. Are you sure you have deployed an up-to-date RPC policy file on your server after you have changed the DTO code? Check your server log after you have redeployed your changes. If something is wrong with the policy file you most likely see some warnings on the first request

Re: More Gradle/GWT/AppEngine/Intelli-J Fun

2014-07-21 Thread Jens
> > Thanks for the suggestion, I will try that out. What I was trying to avoid > was having the libraries (gwt-user, gwt-dev and gxt) be included in my WAR. > I thought provideCompile was used for this senario. Am I misunderstanding > how to use it? > No that's fine. Sadly Gradle does not have

Re: More Gradle/GWT/AppEngine/Intelli-J Fun

2014-07-21 Thread Jens
> > Is there something that I need to set in Intelli-J for these specifically? > When I look at the Module Settings, the dependencies are there in the > \library_application (Provided) project, and the library_application project > is indicated as a dependency in the \actualApplication project.

Re: More Gradle/GWT/AppEngine/Intelli-J Fun

2014-07-21 Thread Jens
Am Montag, 21. Juli 2014 00:00:09 UTC+2 schrieb Evan Ruff: > > Oh, also, I have one other weird issue. > > I have the follow deps in \library_application: > providedCompile 'com.sencha.gxt:gxt:3.1.0' > providedCompile 'com.google.gwt:gwt-dev:2.6.1' > providedCompile 'com.google.gwt:gw

Re: More Gradle/GWT/AppEngine/Intelli-J Fun

2014-07-21 Thread Jens
#1: IntelliJ's inspection that produces that "error" is slightly outdated. Either ignore it or disable the inspection on class/method/statement level or turn the inspection off. #2: Gradle/IntelliJ should not impact DevMode + Browser plugin performance. The initial load of your app can be slow

Re: moving classes in shared folder into external library

2014-07-19 Thread Jens
> > At the moment, this library only contains classes, which were in the > project's "client" folder. > But I also want to move classes from the "shared" folder into this library. > > >- Where do I have to move the shared classes within my library and how >do these folders have to be dec

Re: Gradle Build Pains

2014-07-17 Thread Jens
This project is probably not open source? Hard to help without knowing the gradle files and without knowing what kind of exceptions occur. If you get GWT compile errors then your class path is probably wrong. Also if you have translate errors for classes from gwt-dev or appengine-api then you m

Re: Problem setting up gilead with gwt.

2014-07-17 Thread Jens
You are aware that the last commit in Gilead was 2010? This project is inactive. Could be that its not compatible anymore to latest Hibernate. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop

Re: Super Dev Mode incremental compilation fails - Module should be probably into smaller modules

2014-07-17 Thread Jens
I see the same problem, see: https://groups.google.com/d/msg/google-web-toolkit-contributors/jTQzQgna0mk/c4VbtK8X84oJ No idea how to fix it and I am wondering if the GWT compiler team is aware of it or if they haven't seen this error at all so far. -- J. -- You received this message because y

Re: DateBox incorrect time past certain dates

2014-07-16 Thread Jens
You are not alone ;-) Basically daylight saving information can be different between browsers and different between browsers and JVM (like in DevMode). These differences exist because they probably all use different timezone databases (or the same database but in different versions of it). Wha

Re: GWT 2.6.1 Compile issues - [ERROR] Out of memory

2014-07-15 Thread Jens
> > I have upped it to 2 GB on XP, which is the MAX. GWT is supposed to run > on XP with 512M RAM. Am I wrong on that? > Sure if your app is small enough 512MB are fine. However if your app gets larger over time the GWT compiler also needs more memory to compile it to JavaScript. So it's tot

Re: The First-Time loading issue of a deployed GWT app?

2014-07-15 Thread Jens
> > Thank you very much Thomas, so putting the that *js ..* > inside > the * *will NOT cause any later problems right? > It is common practice to put the

Re: GWT 2.6.1 Compile issues - [ERROR] Out of memory

2014-07-15 Thread Jens
Well do as the error states: Use -Xmx to increase the java heap space memory. Looks like GWT 2.6.1 needs a bit more memory to compile your app. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop

Re: UiRenderer with numeric getter

2014-07-14 Thread Jens
> > com.google.gwt.uibinder.elementparsers.UiTextInterpreter, line 60: > actually line 62 :) -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to goog

Re: UiRenderer with numeric getter

2014-07-14 Thread Jens
com.google.gwt.uibinder.elementparsers.UiTextInterpreter, line 60: String fieldRef = elem.consumeStringAttribute("from"); So I would say you must use String with . -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe f

Re: ConstraintViolationImpl.equals seems incorrect. Please verify / confirm.

2014-07-13 Thread Jens
Please open an issue for it https://code.google.com/p/google-web-toolkit/issues/list -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-too

Re: symbolMap file : wrong source line number ?

2014-07-13 Thread Jens
GWT optimizes your Java code before transforming it to JavaScript. One of these optimizations is method inlining. In your case your Java code from the @UiHandler method body has been inlined into the class that is generated by the UiBinder generator (HomeViewImpl_HomeViewImplUiBinderImpl$Widget

Re: GWT HTML renders incorrectly

2014-07-11 Thread Jens
> > GWT is doing something that changes the vertical size of the elements. > IMHO there are only two possibilities: Its either a CSS/style declaration or it's an standard vs.quirks mode issue and you should check if both pages run in the same mode (for standards mode make sure both have at the

Re: GWT HTML renders incorrectly

2014-07-11 Thread Jens
Not sure how to help. As it's a CSS issue the Chrome/FireFox DevTools should be everything you need to figure it out. If you believe that it's a GWT default style causing this, then comment out your GWT theme inherited in your app. Also keep in mind that you can achieve the same with less eleme

Re: Future of unit testing... Only support production mode?

2014-07-11 Thread Jens
> > Thanks for the clear answer... > > I'll have to start warning the team. I'm also facing rumblings about super > dev mode :( They manage to be IE snobs AND not want to touch JavaScript. > Should only be allowed on or the other ;) > The issues I mentioned if you want to star them: https://

Re: Future of unit testing... Only support production mode?

2014-07-11 Thread Jens
In the long term GWT will probably only support production mode tests as well as code coverage based on JavaScript. There are already bugs for it on the issue tracker. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe

Re: how to disable backspace button in gwt?

2014-07-11 Thread Jens
> > Once the dialog box is appear that time unfortunately the user click the > backspace which causes apps to exit..I need to handle this...any > suggestion... > If you use the GWT DialogBox, have you tried setting it to a modal dialog box? -- J. -- You received this message because you ar

Re: how to disable backspace button in gwt?

2014-07-11 Thread Jens
Fix your UI and refocus the TextBox/TextArea after the dialog box is closed. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsu

Re: IE8 application performs better in dev mode than under compiled mode

2014-07-10 Thread Jens
> > In the meantime though, I'm just frustrated by the fact that I get the > performance I want when running in DEV mode, but not when it's compiled. > I'd like to understand is happening in DEV mode that is different from > compiled that improve performance. Ultimately, the GWT Plugin is servi

Re: IE8 application performs better in dev mode than under compiled mode

2014-07-10 Thread Jens
I think the remaining compiler settings won't buy you a lot additional performance. The reason why the above settings cost you so much performance is that the generated JavaScript will be 2x+ the size than what it should be. Especially recordLineNumbers hurts as GWT will generate one extra line

Re: GWT 1.7.0 is not working with browser IE 10 or above.

2014-07-10 Thread Jens
> > I am currently using GWT 1.7.0. It was working fine in earlier versions of > browser IE 10 Compatibility View, IE 9, IE 8. > Our company moved to Windows 7 with browser IE 10. My application is NOT > working in IE 10 or higher? > Maybe your Windows 7 IE 10 does not load the app in compatibi

Re: How to render a component after setting its property without calling any implicit method in gwt?

2014-07-10 Thread Jens
The very first advice I can give you is to not implement it they way you have done it. public BaseBox(String name){ this.name=name; addMembers(name); } protected void addMembers(final String name) { this.name = name; box = createBox(name); } protected abstract Widget createBox(String n

Re: GWT distributed builds

2014-07-09 Thread Jens
> > Well, we fully rebuild our application because it's quite big, and is > developed more or less actively. So if we have enough resources (and we do > have them), we can build it in parallel and the question is, does anybody > has success story? > Not sure what kind of a story you want to he

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-05 Thread Jens
https://stackoverflow.com/a/18333050/116472 -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: Upgrade from 240 to 261 causes Serialization errors in all my Enum

2014-07-05 Thread Jens
You don't need to implement Serializable. I bet you missed to upgrade gwt-servlet.jar on your server. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: GWT Developer Plugin

2014-07-03 Thread Jens
On Windows you can: - Use IE with classic DevMode browser plugin - Use FireFox 26 or FireFox 24 ESR with classic DevMode browser plugin - Use an older Chrome (I think up to Chrome 33) with classic DevMode browser plugin - Use any browser with SuperDevMode which does not require a browser plugin.

Re: post-compiled textual replacement regex safety

2014-06-30 Thread Jens
I don't think GWT will mangle your string literals but if you want to be super safe you could embed replacement tokens into your host html page instead and then read the contents from the host page when needed. Some examples: http://www.gwtproject.org/articles/dynamic_host_page.html -- J. --

Re: reuse of private static variable

2014-06-27 Thread Jens
> > Is there any technical name to describe this feature? > The DOM acts like a tree with each node having exactly one parent node (except the root node which has no parent). http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/introduction.html -- J. -- You received this message because you

Re: Consuming GWT RPC Response

2014-06-27 Thread Jens
Here is an write up about the GWT-RPC wire format as of GWT 2.5: https://docs.google.com/document/d/1eG0YocsYYbNAtivkLtcaiEE5IOF5u4LUol8-LL0TIKU/edit?hl=de&forcehl=1 -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe f

<    5   6   7   8   9   10   11   12   13   14   >