Question about GWT 2.6.1

2014-07-11 Thread ssg
Thanks to earlier response from Jens (a member of this forum) .

Does GWT 2.6.1 work with browser IE 10 or hihger browser?
Does GWT 2.6.1 has backward compatability with browser IE 10 Compatability 
View, IE 9, IE 8 ?

Currently I am using GWT 1.7.0 and my application is NOT working with 
browser IE 10. 
Will migrating to latest version GWT 2.6.1 RESOLVE my issue?

Once again, thanks for any help regarding this.


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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

2014-07-11 Thread Thomas Broyer


On Thursday, July 10, 2014 7:45:53 PM UTC+2, Jens wrote:

 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 compatibility view? 
 Other than that I have no idea what browsers will work/not work with GWT 
 1.7.0 as this GWT version is ancient to me.


1.7.0 was released in July 2009, that's FIVE YEARS ago.
From http://www.gwtproject.org/release-notes.html#Release_Notes_1_7_0
“This release adds explicit support for Internet Explorer 8, Firefox 3.5, 
and Safari 4 as well as a few high-priority bug fixes.”
 


  

 Should I migrate to latest versions of GWT.?


Sure!
You should try hard to always use the latest version (rule of thumb: update 
as soon as possible whenever a new version is released, or don't complain 
that your app doesn't work in recent browsers; the only reason for not 
upgrading is if there's a regression, like 2.6.0 for instance, where many 
people had to wait for the 2.6.1 bugfix release).

If yes, Which version of GWT should I migrate my application to? 


 Obviously the latest GWT version: 2.6.1. 


And then 2.7, as soon as possible once it's released.

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Question about GWT 2.6.1

2014-07-11 Thread Thomas Broyer


On Thursday, July 10, 2014 10:19:21 PM UTC+2, ssg wrote:

 Thanks to earlier response from Jens (a member of this forum) .

 Does GWT 2.6.1 work with browser IE 10 or hihger browser?
 Does GWT 2.6.1 has backward compatability with browser IE 10 Compatability 
 View, IE 9, IE 8 ?


See 
http://www.gwtproject.org/doc/latest/FAQ_GettingStarted.html#What_browsers_does_GWT_support?
(in other words: yes, and yes)
 

 Currently I am using GWT 1.7.0 and my application is NOT working with 
 browser IE 10. 
 Will migrating to latest version GWT 2.6.1 RESOLVE my issue?


It should, but migrating from such an ancient version of GWT you might face 
some issues (e.g. with styling: GWT now only supports pages in standards 
mode, whereas GWT 1.7.0, if my memory serves well, worked better in 
quirks mode; many APIs have been deprecated since then too, and some of 
them have been removed)

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Best server communication

2014-07-11 Thread Ronan Quillevere
If you want to use REST calls :

In my company, on the backend we use Tomcat + Jersey (JAX-RS 2.0) : 
https://jersey.java.net/
You could also have a look to JBoss + RestEasy:  http://resteasy.jboss.org/

For our GWT client we use RestyGWT to make the REST 
calls. http://resty-gwt.github.io/ , I wrote a tutorial on how to make 
RestyGWT talk to a Tomcat + Jersey, it might help 
http://ronanquillevere.github.io/2014/03/16/gwt-rest-app.html

Of course your can still build your own queries by using RequestBuilder if 
you prefer.

Good luck ;)



On Saturday, June 21, 2014 7:50:19 PM UTC+2, mamadou lakhassane cisse wrote:

 Hi people I'm a newbie in GWT. I've made some apps but still using RPC. I 
 was wondering now if there were a better way than that for server 
 communication. Thanks in advance.


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


how to disable backspace button in gwt?

2014-07-11 Thread Mohammed Sameen
Hi! 

My application does not need have any history 
support. 
The problem is that when I type something wrong in textbox,its shows 
warning in dialogbox and accidentally lose focus and 
then press Backspace key to delete a character from textbox,browser 
performs application to exit and the whole application is unloaded losing 
all the 
data. 

How can I disable this?Please give me suggestion.

Thanks! 

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Best server communication

2014-07-11 Thread Henrik


 I've made some apps but still using RPC. I was wondering now if there were 
 a better way than that for server communication. 


RPC is probably the most convenient for beginners, but if you think you may 
need to push messages to the client at some point, I'd just go for a plain 
websocket solution instead and de-/serialize your objects as JSON.  I've 
done that with Jackson on the serverside and GWT-Jackson on the clientside 
together with a few lines of javascript to open the websocket.  Pretty 
simple, but effective and flexible. 

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: how to disable backspace button in gwt?

2014-07-11 Thread Mohammed Sameen
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...

On Friday, July 11, 2014 2:48:29 PM UTC+5:30, Mohammed Sameen wrote:

 Hi! 

 My application does not need have any history 
 support. 
 The problem is that when I type something wrong in textbox,its shows 
 warning in dialogbox and accidentally lose focus and 
 then press Backspace key to delete a character from textbox,browser 
 performs application to exit and the whole application is unloaded losing 
 all the 
 data. 

 How can I disable this?Please give me suggestion.

 Thanks! 


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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

2014-07-11 Thread salk31
I've been struggling with a limitation of non-production mode unit tests 
and was wondering, with the rise of superDevMode, if the plan is to only 
support production mode unit tests?

Cheers

Sam

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: how to disable backspace button in gwt?

2014-07-11 Thread David
Install a keyboard listener to catch the backspace and call preventDefault.

I have done that in an application before, not very nice but it works.
I moved on to using the Activity/Places framework so that my GWT app
supports the browser history correctly. Due to the rather limited
documentation it looked quite daunting at first, but once put in place it
is actually quite simple.





On Fri, Jul 11, 2014 at 12:48 PM, Mohammed Sameen sameen@gmail.com
wrote:

 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...


 On Friday, July 11, 2014 2:48:29 PM UTC+5:30, Mohammed Sameen wrote:

 Hi!

 My application does not need have any history
 support.
 The problem is that when I type something wrong in textbox,its shows
 warning in dialogbox and accidentally lose focus and
 then press Backspace key to delete a character from textbox,browser
 performs application to exit and the whole application is unloaded losing
 all the
 data.

 How can I disable this?Please give me suggestion.

 Thanks!

  --
 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 group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: how to disable backspace button in gwt?

2014-07-11 Thread Mohammed Sameen
Hi,
Yeah i have added this listener see the code,

 Event.addNativePreviewHandler(new NativePreviewHandler() {
@Override
public void onPreviewNativeEvent(NativePreviewEvent event) {
if (event.getNativeEvent().getKeyCode() == 
KeyCodes.KEY_BACKSPACE) {
if (event.getNativeEvent().getEventTarget() != null) {
Element as = 
Element.as(event.getNativeEvent().getEventTarget());
boolean readOnly = as.getPropertyBoolean(readOnly);
boolean contentEditable = 
as.getPropertyBoolean(isContentEditable);
if (readOnly || !contentEditable) {
event.getNativeEvent().stopPropagation();
event.getNativeEvent().preventDefault();
}
}

}
}
});

Backspace issue is solved but one more issue its creating in IE.The error 
message says 

   - Make sure the web address //ieframe.dll/dnserror.htm# is correct. 
   when i click the hyperlink(see the attched image).Thanks for your reply



On Friday, July 11, 2014 2:48:29 PM UTC+5:30, Mohammed Sameen wrote:

 Hi! 

 My application does not need have any history 
 support. 
 The problem is that when I type something wrong in textbox,its shows 
 warning in dialogbox and accidentally lose focus and 
 then press Backspace key to delete a character from textbox,browser 
 performs application to exit and the whole application is unloaded losing 
 all the 
 data. 

 How can I disable this?Please give me suggestion.

 Thanks! 


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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 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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: how to disable backspace button in gwt?

2014-07-11 Thread Mohammed Sameen
Yes,Thanks jens got it

On Friday, July 11, 2014 2:48:29 PM UTC+5:30, Mohammed Sameen wrote:

 Hi! 

 My application does not need have any history 
 support. 
 The problem is that when I type something wrong in textbox,its shows 
 warning in dialogbox and accidentally lose focus and 
 then press Backspace key to delete a character from textbox,browser 
 performs application to exit and the whole application is unloaded losing 
 all the 
 data. 

 How can I disable this?Please give me suggestion.

 Thanks! 


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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

2014-07-11 Thread salk31
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 ;)

On Friday, July 11, 2014 1:03:54 PM UTC+1, Jens wrote:

 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 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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT HTML renders incorrectly

2014-07-11 Thread ehodges
I think something in GWT's CSS is making my HTML render incorrectly.  I've 
attached a sample HTML file.  When I view it in Chrome (or any other 
browser) the edges of the box line up correctly.  When I display it in my 
GWT application, there are vertical gaps introduced between the table rows. 
 The top middle cell is 44 pixels tall in GWT while it's 40 pixels tall 
everywhere else.

I also tried pasting the HTML into this message and I see the same vertical 
gaps.

I'm pretty sure it's something in the default GWT CSS, but I can't figure 
out what it is.  I've gone into Chrome's debugger and disabled all of the 
stylesheets I could, but it looks like there are some styles from webkit 
that are different on the GWT page than they are elsewhere.

Any suggestions?


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.




 
 
 		
	  
	
	Foo
	
	  
	  
	
	
	
	
	
	  	
	  
	
		
			

	   


	   

			
		
	
	  
	



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://code.google.com/p/google-web-toolkit/issues/detail?id=8622
https://code.google.com/p/google-web-toolkit/issues/detail?id=8787 

-- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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 elements and 
using border-radius CSS. Of course this only works in IE 9+, older IEs will 
display normal corners: http://jsfiddle.net/98a4v/

-- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT HTML renders incorrectly

2014-07-11 Thread ehodges
That's what's odd.  I've used Chrome to disable all of the CSS I could.  I 
commented out all of the GWT CSS.  I even modifed the Javascript to stop 
importing gwt/standard/standard.css.  The HTML still renders differently 
than it does outside of GWT (or inside of Ext-JS, which is where it is 
currently displayed).

I can't use border-radius CSS.  The same HTML is also used inside a Java 
app using it's antiquated HTML engine.  I need it to show up consistently 
in both places.

GWT is doing something that changes the vertical size of the elements.  The 
first div has an explicit height of 280px.  The table inside it has a 
height of 300px for some reason, and extends past the bottom of the div 
that contains it.  When I display the same HTML outside of GWT the table 
has a height of 280px.


On Friday, July 11, 2014 12:12:11 PM UTC-5, Jens wrote:

 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 elements and 
 using border-radius CSS. Of course this only works in IE 9+, older IEs will 
 display normal corners: http://jsfiddle.net/98a4v/

 -- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


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 !DOCTYPE 
html at the beginning of the html file).

GWT can not modify the vertical size of an element without using CSS / 
inline styles (which you would see in DevTools, unless you still missed 
some).

-- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT HTML renders incorrectly

2014-07-11 Thread ehodges
Thank you SO much.  It's a strict vs quirks mode thing.  When I use this 
DOCTYPE:

!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN 
http://www.w3.org/TR/html4/strict.dtd;


the vertical spacing is messed up outside of GWT.  When I modify my GWT project 
to use this DOCTYPE:


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN


or something else quirky then the vertical spacing looks right.


I have no idea how to fix this, but at least I know the reason.  Thanks again.


On Friday, July 11, 2014 1:38:11 PM UTC-5, Jens wrote:

 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 !DOCTYPE 
 html at the beginning of the html file).

 GWT can not modify the vertical size of an element without using CSS / 
 inline styles (which you would see in DevTools, unless you still missed 
 some).

 -- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


symbolMap file : wrong source line number ?

2014-07-11 Thread 'Thomas Lacroix' via Google Web Toolkit
 

Hello,

While in production mode, I would like to pinpoint the root cause of a 
given Trowable.

As it is obfuscated, the 1st line in the error stack looks like this:

 

Cannot read property 'Te' of null
at Object.yEb [as Gc] (
http://localhost:8080//EFBB64EDEF076CA8F4A0898C6A9C7862.cache.html:3315:9162
)

  

Here is the corresponding yEb symbol that I find in the symbolMap file for 
StrongName EFBB64EDEF076CA8F4A0898C6A9C7862 :
 
-jsName : yEb

-jsniIdent : 
XXX.HomeViewImpl_HomeViewImplUiBinderImpl$Widgets$3::onClick(Lcom/google/gwt/event/dom/client/ClickEvent;)V

-className : XXX.HomeViewImpl_HomeViewImplUiBinderImpl$Widgets$3

-memberName : onClick

-sourceUri : gen/XXX/HomeViewImpl_HomeViewImplUiBinderImpl.java

-sourceLine : 113

-fragmentNumber : 0

 

The class name is correct, the source file that produce the error is 
HomeViewImpl.java.

But the source line is wrong, ‘113’ does not correspond to the line of code 
in the source code that produce the error.


Any idea why?

Maybe line 113 does not correspond to the line in the source code file but 
an intermediate file that I can’t seem to find even in the extra directory…


Thomas

 

PS : When doing the same experiment in Debug mode, the stack trace correctly 
locates both the class and the line of code that produce the error.

PS2 : for performance reason, I do not want to use

set-property name=compiler.stackMode value=emulated /

and StackTraceDeobfuscator

 

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: symbolMap file : wrong source line number ?

2014-07-11 Thread Paul Robinson
It's probably the line number of the start of the method the exception
occurred in.

Paul
On 11 Jul 2014 22:36, 'Thomas Lacroix' via Google Web Toolkit 
google-web-toolkit@googlegroups.com wrote:

 Hello,

 While in production mode, I would like to pinpoint the root cause of a
 given Trowable.

 As it is obfuscated, the 1st line in the error stack looks like this:



 Cannot read property 'Te' of null
 at Object.yEb [as Gc] (
 http://localhost:8080//EFBB64EDEF076CA8F4A0898C6A9C7862.cache.html:3315:9162
 )



 Here is the corresponding yEb symbol that I find in the symbolMap file for
 StrongName EFBB64EDEF076CA8F4A0898C6A9C7862 :

 -jsName : yEb

 -jsniIdent :
 XXX.HomeViewImpl_HomeViewImplUiBinderImpl$Widgets$3::onClick(Lcom/google/gwt/event/dom/client/ClickEvent;)V

 -className : XXX.HomeViewImpl_HomeViewImplUiBinderImpl$Widgets$3

 -memberName : onClick

 -sourceUri : gen/XXX/HomeViewImpl_HomeViewImplUiBinderImpl.java

 -sourceLine : 113

 -fragmentNumber : 0



 The class name is correct, the source file that produce the error is
 HomeViewImpl.java.

 But the source line is wrong, ‘113’ does not correspond to the line of
 code in the source code that produce the error.


 Any idea why?

 Maybe line 113 does not correspond to the line in the source code file but
 an intermediate file that I can’t seem to find even in the extra directory…


 Thomas



 PS : When doing the same experiment in Debug mode, the stack trace
 correctly locates both the class and the line of code that produce the
 error.

 PS2 : for performance reason, I do not want to use

 set-property name=compiler.stackMode value=emulated /

 and StackTraceDeobfuscator



  --
 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 group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Development Mode will not be supported in Firefox 27+

2014-07-11 Thread Alex Epshteyn
As of now, quite sadly, the GWT plugin is no longer supported in the latest 
of versions of Firefox nor Chrome (starting with 35). I've been using GWT 
since 2006, and I think it's a sad state of affairs that after so much work 
went into GWT's OOPHM (a.k.a Development Mode), we're back to Internet 
Explorer being the only browser that can be used for GWT debugging on 
Windows.  I think that SuperDevMode goes against the original do 
everything from your IDE spirit of GWT, but I digress...

The main reason I'm posting this is to describe my workaround to save some 
time for anyone who still wants to use dev mode under Chrome and Firefox 
(which I'm guessing is the majority of the people here):

The hack I came up with (for Windows) was to install portable versions of 
Chromium and Firefox.

Portable Firefox 24: 
http://portableapps.com/apps/internet/firefox-portable-esr
Portable Chromium 35: http://crportable.sourceforge.net/

Then you need to manually install the GWT plugin into Chromium, since it's 
now disabled on the Chrome Web Store:
1. download the file GWT-Developer-Plugin_v1.0.11357.crx from 
http://chrome-extension-downloader.com/ (entering ID number 
jpjpnpmbddbjkfaccnmhnkdgjideieim into the search field)
2. drag and drop the downloaded file into the chrome://extensions/ tab to 
install the plugin

The good thing about this Chromium build is that it seems to be immune from 
Google's auto-updater, but for a limited time, you can also still get 
Google Chrome 35 Portable at 
http://portableapps.com/apps/internet/google_chrome_portable, and follow 
the same procedure for manually installing the GWT plugin.

I'm hoping that this hack will allow many of us to keep using the old dev 
mode for a long time to come, and I'm also hoping that the GWT project 
members will not abandon dev mode support.  

Question for GWT project members: I understand that both FF and Chrome are 
getting rid of the NSAPI, which enabled the GWT plugin.  Are there really 
no other ways to keep supporting dev mode on the latest versions of those 
browsers?  Has anyone looked into Native Client 
(https://developer.chrome.com/native-client)?

Best,
Alex

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Google Chrome 35 GWT plugin incompatibility

2014-07-11 Thread Alex Epshteyn
Although the GWT plugin for Chrome can no longer be installed from the 
chrome store since version 35, you can still install it manually (at least 
under Windows) and it works just fine.

I posted the instructions here: 
https://groups.google.com/d/msg/google-web-toolkit/QSEjbhhHB4g/tQSwltonVMIJ and 
my post also contains instructions for installing compatible portable 
versions of Firefox and Chromium on Windows, which will allow us to 
continue using the dev mode plugins on those browsers for (hopefully) at 
least a couple more years.

Hope this helps!

On Thursday, May 22, 2014 5:48:01 AM UTC-4, Алексей Волков wrote:

 Chrome just updated to 35.0.1916.114 and thats broke the GWT development 
 plugin stating: Sorry, the GWT Developer Plugin no longer works with Chrome 
 on Linuxccseferf 

 I am running Linux Mint 16 with default depositories and autimatic 
 updates, is it possible to get GWT plugin back to work?



-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT HTML renders incorrectly

2014-07-11 Thread Thomas Broyer
Try adding a table-layout:fixed style to the table.

On Friday, July 11, 2014 8:54:09 PM UTC+2, eho...@usdataworks.com wrote:

 Thank you SO much.  It's a strict vs quirks mode thing.  When I use this 
 DOCTYPE:

 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN 
 http://www.w3.org/TR/html4/strict.dtd;


 the vertical spacing is messed up outside of GWT.  When I modify my GWT 
 project to use this DOCTYPE:


 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN


 or something else quirky then the vertical spacing looks right.


 I have no idea how to fix this, but at least I know the reason.  Thanks again.


 On Friday, July 11, 2014 1:38:11 PM UTC-5, Jens wrote:

 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 !DOCTYPE 
 html at the beginning of the html file).

 GWT can not modify the vertical size of an element without using CSS / 
 inline styles (which you would see in DevTools, unless you still missed 
 some).

 -- 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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Serializing/Deobfuscating UmbrellaException

2014-07-11 Thread 'Goktug Gokdogan' via GWT Contributors
I don't think it is a good idea to depend on UmbrellaException from Core.
The simple alternative is to use a custom UncaughtExceptionHandler to
un-stack UmbrellaException and send as separate log entries.


On Fri, Jul 11, 2014 at 6:16 AM, Jens jens.nehlme...@gmail.com wrote:

 Hi,

 In an app we have an UncaughtExceptionHandler that sends exceptions to the
 backend. On the backend they will be deobfuscated, logged and used to
 create automatic bug entries in an issue tracker. This works great as long
 as we don't get an UmbrellaException from GWT. In that case only the first
 cause will be serialized which means potential information loss.

 What do you think about special casing UmbrellaException in
 SerializableThrowable, JsonLogRecord[client|server]Util and
 StackTraceDeobfuscator so that additional causes don't get lost? Is it just
 an oversight that its not already special cased or did you had a good
 reason to decide against it?


 -- J.

 --
 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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/0cb0b042-3063-4e8a-82ac-e784958b4857%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/0cb0b042-3063-4e8a-82ac-e784958b4857%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3OHA1%2BU6kZ6c%2BFu%2BPsuiHUFKP0btkJvNf4eb9mFnO%3D_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Removal of IE6/7 specific code from the code base

2014-07-11 Thread Michael Vogt
I will be offline [1] from tomorrow on, probably until 7/22, but I
will have a look at what I can do to remove IE6/7 specific code when
this is helpful. Can push to Gerrit on 22nd.


Greetings,
Michael



[1] except a really slow tourist sim internet connection

-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAAfA4FyzVFYH-oVT5p2vrU1nvF6zvFu9ZTau6njPHxiFz_sugA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.