Re: GWT 2.6.0 to 2.7.0 leads to compiler error 'java.lang.IncompatibleClassChangeError'

2014-12-03 Thread Cristiano Costantini
Hi, find out which dependency is including ASM and then try to exclude it in your pom.xml In our project, app-hmi-soaconnector was importing ASM as a sub-dependency due to CXF, so It did added the exclusion tag like you can see below directly in our main GWT web app project. ---

Re: REST Service on Backend which Framework in GWT?

2014-12-03 Thread Ronan Quillevere
On the backend side, we are using Jersey (2.7) in my company and we are happy with it. We use RestyGWT for the client side. A small tutorial to make it both work together : http://ronanquillevere.github.io/2014/03/16/gwt-rest-app.html#.VH7cdDHF-OQ To make the injection work with Guice (using

Re: JavaScript charting frameworks supported by GWT

2014-12-03 Thread Ronan Quillevere
Highcharts is probably one of the best chart lib right now with very good support of old browsers. You can use the following wrapper : http://www.moxiegroup.com/moxieapps/gwt-highcharts/ It is no longer updated it seems, but it covers a lot of thing so it is still usable. I am actually

Re: JavaScript charting frameworks supported by GWT

2014-12-03 Thread Jens
Just keep in mind that only the GWT wrapper of Highcharts is Apache license. To use the GWT wrapper you also need Highcharts/Highstock itself which has the following license: *Both Highcharts and Highstock are licensed for free for any personal or non-profit projects under the Creative

How to properly use selection properties in generators to generate different implementations for each permutation

2014-12-03 Thread Honza Rames
Hi everyone, I hope I'll be clear enough so this answer actually makes sense... I have a chain of generators that are configured by one deferred binding property and I need the generators to produce different results based on this property. There aren't many examples on how to achieve this, I

Re: custom elementparser for UiBinder

2014-12-03 Thread AJ
I finally got it! The issue was that I need to ad a container/wrapper tag around the child using the tagname specified in the @UiChild so aj:CustomParent aj:myChild aj:CustomChild ui:field=aChild/aj:CustomChild /aj:myChild /aj:CustomParent

IntelliJ IDEA, custom urls in hosts file

2014-12-03 Thread Stefan Berger
Hi, in my hosts file I have 127.0.0.1 test.loc.com www.loc.com I'm playing with cookies, create them for different domain names. In IntelliJ's GWT configuration, in the Dev Mode Parameters I have -startupUrl http://test.loc.com: com.test.MyApp The console output is Dev Mode

Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Eduard Català
Hi, I'm working on a large gwt 2.7.0 project, we've to restart the web server constantly to test server logic. When devmode (and superdevmode) starts we have to reload the page. Then we have to wait the first superdevmode compilation (long, too long...) but no client side code has changed

Re: custom elementparser for UiBinder

2014-12-03 Thread Thomas Broyer
I haven't checked but I believe GwtBootstrap3 just implements HasWidgets (maybe extends ComplexPanel) and does some checks in addWidget and the like to make sure you use the correct child widgets. On Wednesday, December 3, 2014 2:31:05 PM UTC+1, AJ wrote: I finally got it! The issue was that

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Thomas Broyer
On Wednesday, December 3, 2014 1:37:13 PM UTC+1, Eduard Català wrote: Hi, I'm working on a large gwt 2.7.0 project, we've to restart the web server constantly to test server logic. When devmode (and superdevmode) starts we have to reload the page. Then we have to wait the first

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Eduard Català
Tank you Thomas, But restarting Jetty Server button does not work properly: At third redeploy (50MB of jar libraries) an OutOfMemoryError is thrown, i suspect that embedded jetty server is not properly restarted (only reloads context without stopping entire server). -- You received this

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Jens
But restarting Jetty Server button does not work properly: At third redeploy (50MB of jar libraries) an OutOfMemoryError is thrown, i suspect that embedded jetty server is not properly restarted (only reloads context without stopping entire server). Thats more a sign of a memory leak

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Thomas Broyer
On Wednesday, December 3, 2014 3:57:21 PM UTC+1, Eduard Català wrote: Tank you Thomas, But restarting Jetty Server button does not work properly: At third redeploy (50MB of jar libraries) an OutOfMemoryError is thrown, i suspect that embedded jetty server is not properly restarted

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Eduard Català
Yes, sure it's this kind of ClassLoader reference!! I would try the third-party server approach!! Thankyou!!! *Eduard Català* *Cap àrea de Software* 661.537.743 / 972.104.177 - ecat...@dset-solutions.com *DSET Solutions * *Parc Científic i Tecnològic de la UdG - 17003 Girona*

iFrame usage any shortcomings that we should we aware of ?

2014-12-03 Thread sch
Hi! We are using iframe to render document content fetched from the server. The document on the server could have been created using Word as authoring tool / created via an HTML editor on the client itself. The content on the server is stored in individual items on the server. We need to fetch

2.7.0 and module.nocache.js

2014-12-03 Thread Nathan
In GWT 2.7.0-rc1 and earlier versions, I was able to compile my application and then launch the GWT development shell in devmode version and have it serve up the normal compiled version of my application as well as use devmode if I wanted (from supported browsers). However, now it seems that

TabLayoutPanel - forcing onResize for unselected tab content

2014-12-03 Thread Magnus
Hi, there are several chess boards in different tabs of a TabLayoutPanel. And there are two types of presentation: table-based board and SVG based board. When the user switches between the two types of graphics, all of the chess boards within the tabs are recreated. So far, so good. Each tab

Re: New Run Configuration after GWT Update

2014-12-03 Thread Magnus
Hi Thomas, thanks, this is really cool! Will the normal DevMode continue to exist? Magnus -- 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

Re: add mobile version to existing GWT app?

2014-12-03 Thread Magnus
Hi! If I'd start the project today, I'd just use plain REST / JSON for both the desktop and mobile versions. Ok, but how can you do REST/JSON with a GWT application? Would you replace the RPC calls with REST requests, using a servlet or what? Thanks Magnus -- You received this message

Re: add mobile version to existing GWT app?

2014-12-03 Thread Yucong Sun
Here is what I would do : 1) refactor your business logic (which usually returns a Serializeable object) out of the GWT RemoteServeiceServelt, 2) Create some normal Java servelet with the API style of your choosing, REST or not. 3) Call your business logic from both places, GWT just return the

Re: add mobile version to existing GWT app?

2014-12-03 Thread Jens
1) refactor your business logic (which usually returns a Serializeable object) out of the GWT RemoteServeiceServelt, http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/server/rpc/RemoteServiceServlet.html#RemoteServiceServlet(java.lang.Object) GWT-RPC servlets already have the

Re: TabLayoutPanel - forcing onResize for unselected tab content

2014-12-03 Thread Jens
Tabs that are not active have display:none applied which basically tells the browser you don't have to care about that piece of HTML. So the browser will not calculate any meaningful width/height/whatever values for elements that have display:none applied and thus you can not center anything.

Re: TabLayoutPanel - forcing onResize for unselected tab content

2014-12-03 Thread Vassilis Virvilis
I am using the following class. package com.sn.lib.gwt.client.ui; import com.google.gwt.dom.client.Style.Unit; public class ResizeTabLayoutPanel extends TabLayoutPanel { public ResizeTabLayoutPanel(double barHeight, Unit barUnit) { super(barHeight, barUnit);

GWT + vaadin

2014-12-03 Thread gh88
Hello! I'm trying to compile vaadin widgetset with standart gwt compiler v 2.7.0, Vaadin version - 7.3.6 It does pretty amount of work, but finally falls with errors: [ERROR] Errors in 'jar:file:/home/gh88/Downloads/gwt-2.7.0/src/cl.jar!/com/vaadin/client /ApplicationConfiguration.java'

Re: add mobile version to existing GWT app?

2014-12-03 Thread Slava Pankov
Ok, but how can you do REST/JSON with a GWT application? For me RestEasy + Errai JAX-RS is working perfectly fine. On Wednesday, December 3, 2014 10:16:23 AM UTC-8, Magnus wrote: Hi! If I'd start the project today, I'd just use plain REST / JSON for both the desktop and mobile versions.

Re: [gwt-contrib] Re: two errors in master

2014-12-03 Thread Jens
Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT we're currently using? Just guessing, but it looks like there is a 3.11.0 version that I might try as a knee jerk/couldn't hurt first step: https://repo.eclipse.org/index.html#nexus-search;quick~jdt (Curious that

Re: [gwt-contrib] Re: two errors in master

2014-12-03 Thread Stephen Haberman
Wow, that's great, Jens! Thanks for digging in to this. - Stephen -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [gwt-contrib] Re: Getting rid of autoboxing?

2014-12-03 Thread 'Goktug Gokdogan' via GWT Contributors
GWT already not conforms to java from numerical perspective. You can easily leak, for example, non-Integer types disguised as 'int' in the type system. This causes all sorts of surprises for people who ends up hitting them but quite luckily most people/apps doesn't care about it. The proposal