Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-21 Thread Drew Spencer
I'm using the snapshot since yesterday and it seems to be working great. On Saturday, 18 October 2014 01:02:35 UTC+1, Thomas Broyer wrote: On Sat, Oct 18, 2014 at 12:26 AM, Thomas Broyer t.br...@gmail.com javascript: wrote: On Friday, October 17, 2014 10:58:49 AM UTC+2, Thomas Broyer

Re: Putnami Web Toolkit 1.1, a productive and powerful GWT Framework

2014-10-21 Thread Drew Spencer
Sounds great. Your databinding does look very interesting. When I get to the point of adding validation to all of my editors (still in development) I will look at PWT properly and think about switching widget sets. My main concern is that I don't want to be bound to one framework too much, so

Re: JSNI - how to reference a CSS client bundle?

2014-10-21 Thread Jens
Get a reference to your INSTANCE using JSNI syntax and then call instance methods on it using JSNI syntax. http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#methods-fields Alternatively just pass in the myStyle() value to your JSNI method as parameter. -- J. -- You received

Re: Browser Cache issue while switching to new version of GWT Application

2014-10-21 Thread Jens
Is there a way to force the browser to recognize the new version? Yeah tell your server to set correct caching HTTP headers for any file that is of the form *.nocache.* In your case your modulename.nocache.js file is probably cached by the browser but as the file name suggests it should

Re: onRangeChanged multiple call issue

2014-10-21 Thread Grisha Shoihate
You are talking about asyncdataprovider or activity presenter ? Maybe i can create singleton activity and this will solve the issue? When the activity starts you are calling reset method on the view (singleton?) and creating a new provider. The previous one was not unregistered (removeDisplay

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-21 Thread Drew Spencer
I think you made the incorrect assumption I once did - that calling setspacing() in those panels would set the spacing between all elements inside them. It doesn't, it just adds space around the whole panel. See this question:

Data reset when losing focus - NumberField

2014-10-21 Thread Kalyan Mekala
Hi, We have a Panel with a table consisting of Columns (ColumnConfig). One of these columns is a NumberField (Last column). The issue is that when we edit the cell and come out of it then the value is getting reset to the old value. The change is not getting detected. (The change flag

Re: Building a Calendar Widget like Google Calendar with GWT advisable?

2014-10-21 Thread rahul kumar
Since cellpadding is not supporting in HTML5 you should use CSS http://www.corelangs.com/css/table/css-tables.html Ling On Sunday, January 24, 2010 9:31:18 PM UTC+5:30, John V Denley wrote: Thanks Scholle, it actually turned out to be the border-collapse:collapse; setting that made the

Re: Browser Cache issue while switching to new version of GWT Application

2014-10-21 Thread Thomas Broyer
On Tuesday, October 21, 2014 10:22:52 AM UTC+2, Jens wrote: Is there a way to force the browser to recognize the new version? Yeah tell your server to set correct caching HTTP headers for any file that is of the form *.nocache.* In your case your modulename.nocache.js file is probably

White Screen GWT module

2014-10-21 Thread Luís Oliveira
Hello, We are using a simple gwt project with one module and one entrypoint, for now. The goal is to integrate GWT project in one existing web project and then (using Microsoft Visual *SourceSafe) *make it avaliable to all team members. When we try to integrate it with one web project, or

Re: White Screen GWT module

2014-10-21 Thread Jens
Any 404 HTTP errors (or similar) in your browsers dev tools network tab? -- 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

Re: White Screen GWT module

2014-10-21 Thread Luís Oliveira
No Jens. Just a blank page. I also try to put an alert in the first line of my Entrypoint, but the alert also doesn't appear. Thanks Jens Terça-feira, 21 de Outubro de 2014 11:54:16 UTC+1, Jens escreveu: Any 404 HTTP errors (or similar) in your browsers dev tools network tab? -- J. --

Re: Browser Cache issue while switching to new version of GWT Application

2014-10-21 Thread ram . pamudurthi
Hi Jens, Thanks for your quick reply. Please kindly give in detail how you fixed this issue. On Tuesday, October 21, 2014 1:52:52 PM UTC+5:30, Jens wrote: Is there a way to force the browser to recognize the new version? Yeah tell your server to set correct caching HTTP headers for any file

Re: White Screen GWT module

2014-10-21 Thread Jens
I also try to put an alert in the first line of my Entrypoint, but the alert also doesn't appear. If the entry point does not get executed and there are no other errors then I would check the network requests / responses of the browser in more detail. Maybe your web server has some

Re: Browser Cache issue while switching to new version of GWT Application

2014-10-21 Thread Jens
Hi Jens, Thanks for your quick reply. Please kindly give in detail how you fixed this issue. Thomas already gave a link that has some instructions for Apache. If you have a different web server, you have to look at its documentation. Alternatively there is also a library that has a

Send event for keydown

2014-10-21 Thread Marteijn Nouwens
In a sub class for a textbox i try to convert lower case to upper case. This works ok but i would like to send the upper case as a Event. // NativeEvent down = Document.get().createKeyDownEvent(false, false, true, false, keyCode); // DomEvent.fireNativeEvent(down, this, this.getElement()); But

Re: How to figure out HTMLPanel rendering is complete

2014-10-21 Thread sch
Thanks for the reply. Since we do NOT want to make a server call until the rendering is complete I am not sure if scheduleDeferred would help. Please correct if I am wrong. On Saturday, 18 October 2014 00:42:44 UTC+5:30, Raphael Garnier wrote: Hi, Maybe you could use scheduleDeferred of

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-21 Thread Weihua
Dear Drew, Thank you for your answer. The thing is: 1. I know that it should NOT apply to the daughter elements of a daughter element, but it should work for elements that are directly affiliated to the horiz- / vertical- panel; 2. it used to work (some older versions) and it does not work

Re: How to figure out HTMLPanel rendering is complete

2014-10-21 Thread sch
Thanks for your suggestions. Yes, we are doing incremental loading. I will try out your suggestions. On Saturday, 18 October 2014 03:23:29 UTC+5:30, Steve C wrote: I'm guessing that you're doing incremental loading - that as soon as the user reaches the bottom of the current content, you

Re: How to figure out HTMLPanel rendering is complete

2014-10-21 Thread Steve C
I think there are three things that need to happen each time you get more content, at least two of which are asynchronous: 1. your ajax call to get content, asynchronous 2. when you place received HTML code into document, browser will start to render HTML, but without the images yet. I believe

FieldUpdater.update it not fired for ButtonCell in Chrome browser

2014-10-21 Thread Bharat Parikh
*GWT Version:* GWT 2.6.0 *Browser for which the code is not working:* Google Chrome Version 38.0.2125.104 m *Browser for which the code is working:* IE 9 I have a ButtonCell added as a column in DataGrid. The FieldUpdater.update event for the ButtonCell is not fired in Chrome. The same works

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-21 Thread Drew Spencer
Hey Weihua! Ah yes, I see you're right. From the docs: public void setSpacing(int spacing) Sets the amount of spacing between this panel's cells. Parameters: spacing - the inter-cell spacing, in pixels What is happening when you set it? Perhaps you have some other CSS now overriding it or

Re: How to delay GWT datagrid row selection until load is complete?

2014-10-21 Thread Rogelio Flores
Just select the row after you call setRowData (or when your data provider returns with new data--not sure how you're populating your grid). Or maybe even better, after you get a RangeChangeEvent. On Monday, October 13, 2014 6:22:20 AM UTC-6, Bharat Srinivasan wrote: Is there any way that I

Re: White Screen GWT module

2014-10-21 Thread Luís Oliveira
Terça-feira, 21 de Outubro de 2014 12:33:53 UTC+1, Jens escreveu: I also try to put an alert in the first line of my Entrypoint, but the alert also doesn't appear. If the entry point does not get executed and there are no other errors then I would check the network requests / responses

Re: White Screen GWT module

2014-10-21 Thread Jens
If you use IE then check if it opens the page in compatibility mode. Compatibility mode can be configured per domain or for all intranet sites (in IE settings) or you accidentally hit the compatibility mode button in IE. Also make sure your host page has !DOCTYPE html at the top. Other than

Re: GPE Preview Build Testing

2014-10-21 Thread Jonathon Lamon
Two comments, First, the plugin show's an error if the included .gwt.xml Module file does not have the add-linker name=xsiframe/ in the module file, but this could be set in an inherited module file, or as in the case of gwt 2.7, would be automatically set. I'm using 2.6.1 currently, so not sure

Re: GPE Preview Build Testing

2014-10-21 Thread Brandon Donnelson
Thanks for the feedback and testing. On Tuesday, October 21, 2014 10:40:30 AM UTC-7, jonl wrote: Two comments, First, the plugin show's an error if the included .gwt.xml Module file does not have the add-linker name=xsiframe/ in the module file, but this could be set in an inherited

Re: GPE Preview Build Testing

2014-10-21 Thread Jonathon Lamon
On Tue, Oct 21, 2014 at 12:01 PM, Brandon Donnelson branflake2...@gmail.com wrote: Thanks for the feedback and testing. On Tuesday, October 21, 2014 10:40:30 AM UTC-7, jonl wrote: Two comments, First, the plugin show's an error if the included .gwt.xml Module file does not have the

Re: Web Development - How will it be in 2 years?

2014-10-21 Thread Martin Kersten
Hi Ümit, thanks for your reply. It is a content centric site and seo is very important. What mades me curious is the creation of static html pages for SPAs. I experiment with using server side and client side similarities in composing the different versions of the very same application.

Re: [gwt-contrib] Re: odd super dev mode times

2014-10-21 Thread 'John Stalcup' via GWT Contributors
Ah, thanks for getting to the bottom of it. I agree that we should opt to use more RAM rather than have randomly slower compiles. And it would be nice to cherry pick the change into the release branch. On Mon, Oct 20, 2014, 9:39 PM Stephen Haberman stephen.haber...@gmail.com wrote: Well, this

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Jérémie Gottero
It works like a charm, thanks. I still have ~15sec of compilation to reload the page even when nothing has changed, but I guess it would be faster with a ssd drive. Le lundi 20 octobre 2014 16:51:19 UTC+2, Daniel Kurka a écrit : With GWT 2.7 you do not need any bookmarklet stuff anymore. You

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread 'Daniel Kurka' via GWT Contributors
Hi Jeremie, what do you mean by 15s reload? Does the compiler take 15s to detect that you do not have a change? (this would be bad). -Daniel On Tue, Oct 21, 2014 at 10:44 AM, Jérémie Gottero jeremiegott...@gmail.com wrote: It works like a charm, thanks. I still have ~15sec of compilation to

Re: [gwt-contrib] Re: Question to Windows users

2014-10-21 Thread Jonathon Lamon
Ivy has a specific URL resolver (https://ant.apache.org/ivy/history/latest-milestone/resolver/url.html). Each URL resolver can have its own pattern and even multiple patterns. Ivy is a very powerful dependency management, way more powerful, imo, than maven, but as such it can be confusing.

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Jérémie Gottero
Yes, that was 15sec to detect that nothing has changed. But after some tries, I actually got better times (~3sec). See logs below, I got 12sec at first then 3sec. I suspect that my app server load somehow impacts compile time. Should definitely be a problem on my side. GET

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread 'Daniel Kurka' via GWT Contributors
These times are incredible slow. The worst I have seen was around 700ms for a huge chunk of code. Normally these times are around ~100ms. Something is seriously wrong. Lets try a couple of things: 1. Up the ram of SDM to see if this makes any difference. 2. Are there any other things running on

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Jérémie Gottero
I run the CodeServer on my profiler to see what's going on (see attached screenshot). Most time is spent in java.io, meaning that we lost time with many disk I/O. Then I looked why I got so much I/O (10k listFiles!), and I think it's probably caused by .svn directories. For each directory,

[gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-21 Thread Jan Thewes
Hello guys, we're in the process of trying out GWT 2.7 in our massive application. Currently we get an error during compile for one module. It worked with GWT 2.6.1. Any ideas on this one? I'm not sure but the problem might be that we can't create a JSO using new ..Jso(). But the big question

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Jens
These times are incredible slow. The worst I have seen was around 700ms for a huge chunk of code. Normally these times are around ~100ms. Can you define huge? Our client side code is about 150 KLOC and with SSD a reload takes about 800-1000 ms. -- J. -- You received this message because

Re: [gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-21 Thread 'Daniel Kurka' via GWT Contributors
You can not create a JSO using new in Java. If this has worked with GWT 2.6.1 it is just a bug and should not have worked in the first place. -Daniel On Tue, Oct 21, 2014 at 12:46 PM, Jan Thewes janthe...@gmail.com wrote: Hello guys, we're in the process of trying out GWT 2.7 in our massive

Re: [gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-21 Thread Jan Thewes
Ok thx. This is what I assumed. Will fix this and see how far we can go with 2.7. Am Dienstag, 21. Oktober 2014 12:51:45 UTC+2 schrieb Daniel Kurka: You can not create a JSO using new in Java. If this has worked with GWT 2.6.1 it is just a bug and should not have worked in the first place.

Re: [gwt-contrib] 2.7.0-beta1 deferredjs bypasses application cache

2014-10-21 Thread Richard Wallis
Thanks Thomas, add-linker name=std / fixes the issue. It does seem like it might be a browser bug. It shouldn't be possible to ever bypass the cache I don't think. I tried to build a small gwt program to reproduce the error but my small program worked perfectly. Still recurs everytime in the

[gwt-contrib] Re: GWT 2.7 snapshot and Eclipse Plugin

2014-10-21 Thread Matic Petek
I have superdevmode-launcher-legacy.jar in classpath and it is not compatible with GWT 2.7. Regards, Matic On Friday, September 5, 2014 5:40:55 PM UTC+2, Brandon Donnelson wrote: I suspect the sdk isn't what you think it is if its not working. Can you check the classpath and see if it was

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Jérémie Gottero
Do we have an easy way to exclude these folders to see if it improves things? Quick and dirty: I overrode the descendToFindResources method to exclude .svn files (note that the file is excluded before isDirectory/isFile calls, avoiding an extra i/o): File[] children =

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Juan Pablo Gardella
Thanks for sharing Jérémie. Good to know. On 21 October 2014 09:32, Jérémie Gottero jeremiegott...@gmail.com wrote: Do we have an easy way to exclude these folders to see if it improves things? Quick and dirty: I overrode the descendToFindResources method to exclude .svn files (note that

Re: [gwt-contrib] Re: GWT 2.7 snapshot and Eclipse Plugin

2014-10-21 Thread Manuel Carrasco Moñino
You shouldn't put never that .jar in your classpath. GPE takes care of adding it to the launcher classpath when you run superdevmode and your gwt is not 2.7. On Tue, Oct 21, 2014 at 2:31 PM, Matic Petek maticpe...@gmail.com wrote: I have superdevmode-launcher-legacy.jar in classpath and it is

[gwt-contrib] Re: Official Gradle plugin

2014-10-21 Thread Steffen Schäfer
Thomas Broyer asked me [1] to post again about this topic to the gwt-contrib mailinglist: That said, I had proposed that there'd be an official gwt-maven-plugin a few years back, and there was no real traction either; and there's almost nobody willing to maintain it (there are people trying

Re: [gwt-contrib] Re: Question to Windows users

2014-10-21 Thread David
On Mon, Oct 20, 2014 at 11:47 AM, Thomas Broyer t.bro...@gmail.com wrote: and you need to follow the steps very carefully (and hopefully no dependency has been changed since the document was written). I'm curious, which dependencies are you talking about? In my case it was the checkstyle

Re: [gwt-contrib] Re: Question to Windows users

2014-10-21 Thread Thomas Broyer
On Tue, Oct 21, 2014 at 4:10 PM, David david.no...@gmail.com wrote: On Mon, Oct 20, 2014 at 11:47 AM, Thomas Broyer t.bro...@gmail.com wrote: and you need to follow the steps very carefully (and hopefully no dependency has been changed since the document was written). I'm curious, which

Re: [gwt-contrib] Re: GWT 2.7 snapshot and Eclipse Plugin

2014-10-21 Thread Brandon Donnelson
Manolo is correct, the superdevmode-launcher-legacy.jar is not needed with GWT 2.7. It can be used with GWT 2.5.x and 2.6.x. Did you add that to the classpath? Brandon On Tuesday, October 21, 2014 6:03:14 AM UTC-7, Manuel Carrasco Moñino wrote: You shouldn't put never that .jar in your

Re: [gwt-contrib] Re: GWT 2.7 snapshot and Eclipse Plugin

2014-10-21 Thread Matic Petek
Yes, it was my mistake when I upgrade from 2.6 to 2.7 snapshot. Not it is working. I just want to write it in forum if someone else would have the some problem... Thank you for help. Regards, Matic On Tuesday, October 21, 2014 6:41:11 PM UTC+2, Brandon Donnelson wrote: Manolo is correct,

Re: [gwt-contrib] Re: GWT 2.7 snapshot and Eclipse Plugin

2014-10-21 Thread Brandon Donnelson
Ah, thanks for sharing. I just wanted to double check. By the way if you're interested in the GPE preview, I've got that handy if you want to try it out. On Tuesday, October 21, 2014 10:00:54 AM UTC-7, Matic Petek wrote: Yes, it was my mistake when I upgrade from 2.6 to 2.7 snapshot. Not it

Re: [gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-21 Thread 'Goktug Gokdogan' via GWT Contributors
IIRC, there was a bug in compiler where is you call GWT.create on JSO (e.g. when you inject it via GIN), it will generate a new MyJso call (which shouldn't work normally as the constructor is protected.) On Tue, Oct 21, 2014 at 4:06 AM, Jan Thewes janthe...@gmail.com wrote: Ok thx. This is what

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread 'John Stalcup' via GWT Contributors
I think this is a reasonable change to make since it's simple to implement and a noticeable improvement for SVN users. I'll go ahead and get it in and we can cherry pick it into this release. On Tue Oct 21 2014 at 5:58:00 AM Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Thanks for

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread Stephen Haberman
if (child.getName().equals(.svn)) // hardcoded filter here Just curious, but didn't svn change (maybe a year ago or so?) to only using one top-level .svn folder, similar to Git's top-level .git folder, and not having .svn littered throughout the file system? - Stephen -- You received

Re: [gwt-contrib] GWT 2.7 : precompile and incremental flags

2014-10-21 Thread 'John Stalcup' via GWT Contributors
change in review at https://gwt-review.googlesource.com/#/c/9850/ On Tue Oct 21 2014 at 3:43:47 PM Stephen Haberman stephen.haber...@gmail.com wrote: if (child.getName().equals(.svn)) // hardcoded filter here Just curious, but didn't svn change (maybe a year ago or so?) to only