Re: Displaying validation errors ?

2014-01-13 Thread Nicolas Weeger
Hello. when validating user input, each ui control that holds a faulty value should signal this by displaying a red border or something like this. Alternatively a list with all errors should be displayed on top of the page like Field 'name_of_control_a' must not be empty, Field

Re: gwt app freezes on android

2014-01-13 Thread svkirans
It is hard to say what is causing this issue with this information. Can you use Chrome Developer tools to see if there are any memory leaks or performance bottle necks ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from

Is there a plan to remove the 'experiemental' warning from the documentation for the flags 'XdisableClassMetadata' and 'XdisableCastChecking'?

2014-01-13 Thread chiz
The flags XdisableClassMetadata and XdisableCastChecking have been there for years. I've been using them for years and never had any problem with them on a fairly large project. Their behaviour hasn't seemed to have changed in the last few releases either. Are there any experiments or

How can I set correct size of widgets in a SplitLayoutPanel ?

2014-01-13 Thread Jostein
Hi, I know it's written a lot about this on SO and other places but I'm still not able to figure out how to solve this specific problem. I use SplitLayouPanel in my app and in each of the three child panels (West, North and Center) I add flowPanels like this: split.addWest(f1, 500);

Re: How can I set correct size of widgets in a SplitLayoutPanel ?

2014-01-13 Thread Jens
Thats a basic CSS problem. Your FlowPanel f1 has a height (which one is not important, can be 100% or 400px) and that height is fully occupied by the DataGrid because it has a height of 100% and thus fills its parent. Now you have added a second widget with height 80px. That means the children

Re: GWTBridgeImpl throws com.google.gwt.core.ext.UnableToCompleteException exception

2014-01-13 Thread jonl
This could be as simple as the gwtUnitCache or the symbolMaps getting corrupted. Happens every now and then and a clean of the gwt-build environment is the only way to fix it. I delete my gwtUnitCache and the built war directories every time I build from scropt to prevent this kind of thing.

Re: GWTBridgeImpl throws com.google.gwt.core.ext.UnableToCompleteException exception

2014-01-13 Thread David Hoffer
Thanks for the suggestions. Yes I too find that I have to delete gwtUnitCache on occasion so yes I had tried (several times) that thinking it would help but it didn't in this case. However I'm not sure about symbolMaps where are those located? Regarding the script vs. IDE build issue...I only

SVG with GWT

2014-01-13 Thread Magnus
Hi, I would like to use SVG graphics with GWT. When looking for a solution, you always come across lib-gwt-svg: http://www.vectomatic.org/libs/lib-gwt-svg However, I do not want to create unnecessary dependencies, but this library's version is strongly dependend on the version of GWT. For

Re: Differences between DevMode and Production mode related to trim()

2014-01-13 Thread Michael Prentice
Thank you Jens. It does look like there is a real difference between Java's trim() and the following JavaScript: 1. var r1 = this.replace(/^(\s*)/, ''); 2. var r2 = r1.replace(/\s*$/, ''); A JavaScript whitespace character can be: - A space character - A tab character - A

Re: Differences between DevMode and Production mode related to trim()

2014-01-13 Thread Jeffrey Chimene
On 01/13/2014 11:53 AM, Michael Prentice wrote: Thank you Jens. It does look like there is a real difference between Java's trim() and the following JavaScript: 1. var r1 = this.replace(/^(\s*)/, ''); 2. var r2 = r1.replace(/\s*$/, ''); A JavaScript whitespace character can be: * A

Re: Differences between DevMode and Production mode related to trim()

2014-01-13 Thread Jens
It does look like there is a real difference between Java's trim() and the following JavaScript: 1. var r1 = this.replace(/^(\s*)/, ''); 2. var r2 = r1.replace(/\s*$/, ''); A JavaScript whitespace character can be: - A space character - A tab character - A carriage

Re: How can I set correct size of widgets in a SplitLayoutPanel ?

2014-01-13 Thread jaga
While perhaps not directly related to your issue I feel it might be worth pointing out some issues regarding layout panels. Please make sure you read up on layout panels. See the gwt web site for an article. Also note that the DataGrid is a fussy widget which may not display unless it is both

Re: Differences between DevMode and Production mode related to trim()

2014-01-13 Thread Michael Prentice
Yeah, I had thought about that, but unfortunately our DTOs are auto-generated from the backend and contain null filled pre-sized char arrays. I changed the generator to give us String getProperty() and setProperty(String) method for each char Array. Changing those to do trim() wouldn't work

[gwt-contrib] Re: Can't build trunk with Java 6?

2014-01-13 Thread Roberto Lublinerman
Yep, I have just checked and sourcemap-rebased.jar is version 51.0 (i.e. compiled with Java7). GWT takes this dependency from the public closure release. On Thu, Jan 9, 2014 at 3:13 PM, Jens jens.nehlme...@gmail.com wrote: Looks like IE6 hasn't been completely removed? Oh that reminds me

Re: [gwt-contrib] Re: GWT.create sessions recorded?

2014-01-13 Thread Patrick Tucker
Thanks! I will keep that in mind. On Sunday, January 5, 2014 1:16:42 PM UTC-5, Daniel Kurka wrote: Hey Patrick, if you are looking for any kind of guidance, feel free to just ask here and we will do our best to respond. This is what gwt-contrib is for! -Daniel On Sun, Jan 5, 2014 at