DOM.previewEvent does not call UncaughtExceptionHandler.onUncaughtException(e)

2009-10-07 Thread tieTYT
I've noticed that the method DOM.previewEvent does not call UncaughtExceptionHandler.onUncaughtException(e) if an exception is thrown. Is this intentional? As a result, exceptions don't get reported to me. Specifically, I don't see exceptions that occur in GXT's DND code. I was thinking of

Logging errors when JSNI calls your GWT code

2009-10-05 Thread tieTYT
I've noticed that if JSNI calls your GWT code, the UncaughtExceptionHandler doesn't get called when an exception falls through. Besides wrapping every method in a try/catch, is there another more elegant solution to this? --~--~-~--~~~---~--~~ You received this

Re: Lost runtime exceptions when in hosted mode

2009-09-23 Thread tieTYT
. This method gets called whenever an exception escapes your method. You can log the stacktrace/message in this method. --Sri 2009/9/22 tieTYT tie...@gmail.com When I'm in hosted mode, if my client code throws a runtime exception, it seems to be swallowed and not reported.  For example, if I

Re: Lost runtime exceptions when in hosted mode

2009-09-23 Thread tieTYT
the client code is running on browser as javascript there is no underlying console. May be the exceptions get translated into javascript errors. Thank you, Venkatesh On Wed, Sep 23, 2009 at 12:54 PM, tieTYT tie...@gmail.com wrote: That doesn't sound right... what if an exception occurred

Lost runtime exceptions when in hosted mode

2009-09-22 Thread tieTYT
When I'm in hosted mode, if my client code throws a runtime exception, it seems to be swallowed and not reported. For example, if I put a throw new NullPointerException() at the end of a method. I can use the debugger to find the exact line that's throwing the exception but when it occurs it

Managing Widgets that GWT did not generate

2008-11-24 Thread tieTYT
Hello, For reasons explained in this thread, http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9a050d74a6cd22bc# , I need to define some HTML in the HTML document. The rest of the page is generated by GWT. The problem is, I can't figure out a way to take my formPanel,

Re: How do I get browser autocomplete on a login form

2008-11-23 Thread tieTYT
. On Nov 21, 11:27 pm, tieTYT [EMAIL PROTECTED] wrote: I saw a faq that made the same recommendation.  The problem is, I need to capture the onKeyUp and onClick events of the input's inside the form.  I could only figure out how to bind to the form OR bind to its children.  I couldn't

How do I get browser autocomplete on a login form

2008-11-21 Thread tieTYT
Hello, I'm trying to replicate browser autocomplete on a login form. For example, every time you go to the login page, I'd like the username and password field to be prepopulated with the username/password you used last. Not only that, but if you clear the username and double click the field,

Re: How do I get browser autocomplete on a login form

2008-11-21 Thread tieTYT
:04 pm, tieTYT [EMAIL PROTECTED] wrote: Hello, I'm trying to replicate browser autocomplete on a login form.  For example, every time you go to the login page, I'd like the username and password field to be prepopulated with the username/password you used last.  Not only that, but if you

autocomplete for a username/password field

2008-11-20 Thread tieTYT
Hello, There is a FAQ that gives an idea of how to do this here: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ (search for auto-complete and GWT). But it doesn't give an example. I've been trying this for a while with no luck. Can someone give me a working