Re: GWT Eclipse Plugin 4 Problem
No response to this man's issue after 6 weeks and I just hit the same problem. This is shocking. The plugin cannot be installed. Is GWT a dead product? On Monday, December 11, 2023 at 2:12:30 PM UTC-6 Bob Lacatena wrote: > Hey. My coworker and I ran into trouble installing the GWT plugin on > Eclipse 2023-12 (worked fine on 2023-09, so this isn't urgent, I'm just > letting you know). > > A couple of weeks ago I got a new Mac, installed Eclipse 2023-09 and the > GWT plugin, no problem. > > My coworker just got a new PC (Windows 11), and got Eclipse 2023-12 (just > released), tried to install the GWT plugin as I did, and could not. It > first required JustJ Adoptium OpenJDK 21. > > JustJ Adoptium OpenJDK Hotspot JRE Complete 21.0.1.v20231028-0937 > org.eclipse.justj.openjdk.hotspot.jre.full.feature.group Eclipse JustJ > > After doing so, getting the GWT plugin still failed. First it says > "Cannot complete operation. Computing alternate solutions, may take a > while: X/15" > > Then it tells you it failed, giving you a chance to select other features > (but there is only one). > > I confirmed that this also happens with 2023-12 on my Mac. > > My co-worker dropped back to 2023-09 on his PC, and it installed fine. > > Just an FYI. > > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4ad3ac71-5a9a-49b7-b064-90a930814287n%40googlegroups.com.
Re: onFailure in AsyncCallback only called on timeout
Thanks Alfredo. That makes it a lot clearer. I see why this is not working now. I guess we have to either start calling the json service from the server side (avoiding json-p) or we have to modify the service so that it always returns the exception in a 200 response. Cheers Fred On 26 Jan, 19:44, Alfredo Quiroga-Villamil laww...@gmail.com wrote: Unfortunately, unless I am mistaken, there is no way to tell if a script tag failed to load or not and why it failed in this case. So all you are getting is a timeout exception letting you know that something went wrong. One approach for JSONP, is to ensure on the server side that all exceptions are caught. In the response message to the jsonp request, you can then send the status code or the exception message, but the actual http response code to the jsonp request must be a 200. Hope this helps. Regards, Alfredo On Thu, Jan 26, 2012 at 10:12 AM, Fred fred.dahlb...@gmail.com wrote: Hi, I'm trying to understand when the onFailure method of AsyncCallback is called. Even when I get for example a HTTP 500 response the function is never called. I've added a more specific question to Stackoverflow: http://stackoverflow.com/questions/9019123/in-gwt-when-is-the-asyncca... Kind Regards Fredrik Dahlberg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Alfredo Quiroga-Villamil AOL/Yahoo/Gmail/MSN IM: lawwton -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
onFailure in AsyncCallback only called on timeout
Hi, I'm trying to understand when the onFailure method of AsyncCallback is called. Even when I get for example a HTTP 500 response the function is never called. I've added a more specific question to Stackoverflow: http://stackoverflow.com/questions/9019123/in-gwt-when-is-the-asynccallbackonfailure-method-called-in-a-json-p-request-us Kind Regards Fredrik Dahlberg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Looking for best resources to learn GWT
What are the best resources to learn GWT (other than google's). The books listed on the GWT site look dated. Are there any new ones that support 2.3 and up? I'm also interested in writing iPhone apps in GWT. I've see the one resource about iPhone/GWT dev everyone sites. It is also dated. Anything more complete or newer available? Thanks, Fred -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
multiarray in typed constants ?
hello all With Useful for localizing typed constant values , I would know it's possible to typed multiarray such as public interface MenuConstants extends Constants { @DefaultStringValue(Nom) //OK String nom(); @DefaultStringArrayValue //OK ({titre, titre 2 }) String [] titreCategorie(); @DefaultStringArrayValue //no ok error syntaxe ??? ({titre, titre 2 } , {titre, titre 2 } ) String [] [] titreAutre(); } thanks you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
compile multiple modules commandline
Hi Folks, I am trying to get ant to compile two modules (works fine with one) but I can't seem to figure out how to pass the gwt compiler two module names. As per documentation here: http://code.google.com/webtoolkit/doc/latest /DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions I can do something like java -cp gwt-dev.jar com.google.gwt.dev.Compiler com.bla.foo.Module1 ... but how would I append the second module name? neither of both of the following works: 1. java -cp gwt-dev.jar com.google.gwt.dev.Compiler com.bla.foo.Module1 com.bla.bar.Module2 2. java -cp gwt-dev.jar com.google.gwt.dev.Compiler {com.bla.foo.Module1,com.bla.bar.Module2} Thanks, Fred -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Fix typo (issue1497807)
reply-all from to (using new address re...@gwt-code-reviews-hr.appspotmail.com) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix typo (issue1497807)
reply-all from to (using old address re...@gwt-code-reviews.appspotmail.com) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Directory detection in nocache.js
I'll add some context: ForPlay has an optional AppCacheLinker, which extends the DirectInstallLinker. ForPlay's SVN repository has a pair of svn:externals links, so it can track changes in GWT trunk linker changes, since the latest DirectInstallLinker fixes have not yet been released into a GWT SDK. If your ForPlay project does not need the AppCacheLinker your .gwt.xml file need to contain a linker override, i.e. something like this: add-linker name=appcachelinker/ On Thu, Jun 16, 2011 at 11:15 AM, unnurg unn...@google.com wrote: Hi Russel - tryMarkerScript was removed from the new xsiframe linker. It's still present in the old, default linkers, but the new xsiframe linker needs to support Late Loading by default, which crashes when you do a document.write() and so we decided to remove this detection. Apologies that the comments didn't make it into the review thread, it was a rather lengthy discussion that we ended up having offline with various members of the team. I believe that you saw the break recently, because ForPlay was recently switched from the old linker to one of the new xsiframe based ones (I believe it uses the direct_install one, or the xsiframe one). I believe that switch was made because the new linker also supports CrossSite by default, and ForPlay needed this functionality. Note that if you don't do anything fancy, the other mechanisms should catch the right path, so in *most* cases, tryMarkerScript is not needed. However, if you've renamed something and none of the other functions are triggering, then the easiest thing is to simply set a base or meta tag that will make sure that computeScriptBase works. I've also added Fred to the thread, since I don't know that much about ForPlay, and he's the one that switched ForPlay to the new linker, so he may have additional info and/or corrections. - Unnur On Jun 16, 8:55 am, Russell seventysev...@gmail.com wrote: I think this might be a GWT issue. I've tracked it as far as the removal of tryMarkerScript() from computeScriptBase.js r10045: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/c... If I add that function back in, everything works fine. I'm not sure why the other methods ofdirectorydetectionaren't working, but I assume there was a reason this function was present in the original code. The code review on r10045 raises some questions that haven't been answered; I guess I don't understand the Google review process. Thanks. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: New projects should always have a DTD specified in their template .gwt.xml module file (issue1407803)
John, Mind having a look at this one? On Thu, Jun 16, 2011 at 2:22 PM, fre...@google.com wrote: http://gwt-code-reviews.**appspot.com/1407803/http://gwt-code-reviews.appspot.com/1407803/ -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Announce: gwt-dnd 3.1.1 released -- drag and drop for your apps
There's a new version of gwt-dnd ready for downloadhttp://code.google.com/p/gwt-dnd/wiki/GettingStarted. I'd love to get your feedback on this release, so I can remove the * ReleaseCandidate* tag and replace it with a shiny new *Featured* tag. The release notes http://code.google.com/p/gwt-dnd/wiki/ReleaseNotes are short and sweet: -- What's new in gwt-dnd-3.1.1.jar (requires GWT 2.3.0 or newer) - New in this release - Add explicit support for ie9 user.agent property value, to get rid of those annoying warnings about GWT having to use a fallback value. - Also removed obsolete gecko user.agent property. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Announce: gwt-voices 2.1.0 released -- sound for your apps
There's a new version of gwt-voices ready for downloadhttp://code.google.com/p/gwt-voices/wiki/GettingStarted. I'd love to get your feedback on this release, so I can remove the * ReleaseCandidate* tag and replace it with a shiny new *Featured* tag. Why would you want to use GWT http://code.google.com/p/forplay/ to play sounds you ask? Well, you might need sound effects when slinging birds through the air http://chrome.angrybirds.com/. It's been a while, so the release noteshttp://code.google.com/p/gwt-voices/wiki/ReleaseNoteshave a bit more to say than usual: -- What's new in gwt-voices-2.1.0.jar - Bug fixes - Prevent NullPointerException in non-HTML5 browsers - Catch and ignore setCurrentTime(0) exceptions on IE9 - Fixed volume/balance/panning during Flash playback - Prevent data: URIs from trying to use Flash, which doesn't like them - Restore MIDI playback. Thanks ornello! - Workaround Chrome's inability to play the same audio twice: issues 71323 http://code.google.com/p/chromium/issues/detail?id=71323 and 75725 http://code.google.com/p/chromium/issues/detail?id=75725 - Restore support for Flash MP3 playback in IE (was broken in gwt-voices 2.0.0) - New in this release - Add ability to loop sounds via Sound#setLooping(boolean) - Sound#play() now returns a boolean to indicate whether gwt-voices believes it was able to play the sound; it returns false when the sound system is unavailable or has run out of available channels - Flash plugin triggers also with audio/mpeg; codecs=MP3, not just audio/mpeg - For the time being, prefer Flash over HTML5 audio for audio/mpeg and audio/mpeg; codecs=MP3 MIME Types, due to poor HTML5 audio reliability - Require at least Flash 9 (previously 8) to trigger Flash playback - Added ie9 user.agent property support for GWT 2.3 to avoid those pesky warnings - Added HTML5 favicon to demo site - HTML5 playback provides PlaybackCompleteEvents (requires GWT 2.4 and later) - You can set an optional URL parameter gwt-voices to either html5 or flash, to indicate a runtime preference for MP3 files, which is overridden by SoundController#setPreferredSoundType() - New (deprecated) SoundController?http://code.google.com/p/gwt-voices/w/edit/SoundController#getPreferredSoundType(), which may be removed without warning in a future release - Other changes in this release - Using AS3 with mxmlc instead of AS2 with mtasc compiler - For compatibility testing, demo shows both HTML5 and Flash for audio/mpeg MIME types - Now require Java 1.6 Enjoy -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: [gwt-contrib] Re: Use glass panel isntead of alert() when displaying dev mode connection failures, (issue1449802)
No worries. Not having to click that popup will be payment enough :) To be honest, I don't understand why it took me so long to realize that this is was behavior that could in fact be changed. On Tue, May 17, 2011 at 12:39 PM, Isaac Truett itru...@gmail.com wrote: Fred, I can't tell you how obnoxious this has been for me. When this change makes it into a release, I will owe you a beer or comparable gratuity. Thank you. On Tue, May 17, 2011 at 3:09 PM, fre...@google.com wrote: http://gwt-code-reviews.appspot.com/1449802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Gwt Developers--Oversight With HTML 5 audio
Hi James, There is indeed still more work to do and many more HTML 5 media (audio/video) events to implement. This is certainly on our/my list of TO DOs. Do keep bugging us if you don't see progress on this in the next couple of weeks. Thanks Fred On Thu, May 5, 2011 at 4:46 PM, stymie jamesty...@gmail.com wrote: There seems to be no CompleteListener implemented with the HTML 5 audio that came along in 2.2. Are you going to implement this in an upcoming release.Seems like a pretty big oversight to me. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.3.0 rebinding warnings
nokostar, This message is a warning and can (for the time being) be safely ignored. The message is due to the new user.agent property ie9 which was introduced (http://code.google.com/webtoolkit/release-notes.html). The message is telling you that the GWT compiler went ahead and assumed you the ie8 version will suffice. You may see similar messages from any other third party libraries you use, or even from your own applications. Hope that helps Fred On Wed, May 4, 2011 at 1:03 PM, nokostar courage.n...@gmail.com wrote: I am upgrading to GWT 2.3 and compiling the modules produces a warning with one of the dependencies. Does anyone know the potential side effect of this and/or potential work around? Scanning for additional dependencies: jar:gwt-log-3.1.2.jar!/com/ allen_sauer/gwt/log/client/util/DOMUtil.java Computing all possible rebind results for 'com.allen_sauer.gwt.log.client.util.impl.DOMUtilImpl' Rebinding com.allen_sauer.gwt.log.client.util.impl.DOMUtilImpl Could not find an exact match rule. Using 'closest' rule replace-with class='com.allen_sauer.gwt.log.client.util.impl.DOMUtilImplIE6'/ based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding Compiling 6 permutations Compiling permutation 0... Compiling permutation 1... Compiling permutation 2... Compiling permutation 3... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into /build/www/testmodule Link succeeded Compilation succeeded -- 120.036s -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT service that transforms a HTTP request including running javascript
java.net.HttpURLConnection does *not* process javascript. It will return the http data as is - with the embedded javascript - but not executed. embedding Rhino on server side was easy enough, but that's good for running singular javascripts. Collection as in a html can be, so using HTMLUnit.still trying to figure this out, not much doc, alot of test java codes, if only i knew how to run them -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT service that transforms a HTTP request including running javascript
thanks,which way to jump was hindering me, so Rhino, as a java code, should be able to package it into gwt server environment (I think - still learning!!) I kinda suspected google may already have something implemented, as in there are app scripts in spreadsheets, and sites. But those are not appearing to be the full thing like ability to pull in javascript and executing it like a browser canonly have a defined api available. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT service that transforms a HTTP request including running javascript
is it possible for a GWT service implementation to fetch a http url and run its javascript so the output can be transformed and then returned as a reduced http result string. the javascript includes Spry.Data stuff, which is another reason why to process it on the server. This means server side javascript ? . -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Fixing firefox permission error message when assesing nodeType of a restricted html element (suc... (issue1369804)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Re-enable XML parse test, which was previously failing in one Safari configuration in Production... (issue1229801)
The test completes successfully on Safari 5.0.2 on OSX in web mode, although it fails in HTMLUnit. I've marked the test @DoNotRunWith({Platform.HtmlUnitUnknown}) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Replace most user/developer visible references to hosted/web mode with Development/Production Mode (issue1221801)
I left some of the hosted mode references, particularly around the internal bits of GWT, which most developers will never look at. There's still some stuff there which legitimately, I think, references hosted mode, so I stayed clear of those changes (for now). Happy to add any you think we should change as well, or do a follow up patch with that stuff. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Replace most user/developer visible references to hosted/web mode with Development/Production Mode (issue1221801)
Sorry. You're right. Apparently I missed some instances in files I did modify. That was not intentional. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix style.setOpacity() in IE8 (issue1077801)
Thanks for the feedback guys. I'll take another look at this, and do some more thorough testing, probably after my trip (Nov 6-17th) though. On Thu, Nov 4, 2010 at 7:53 AM, jlaba...@google.com wrote: http://gwt-code-reviews.appspot.com/1077801/diff/3001/4002 File user/src/com/google/gwt/dom/client/DOMImplIE8.java (right): http://gwt-code-reviews.appspot.com/1077801/diff/3001/4002#newcode77 user/src/com/google/gwt/dom/client/DOMImplIE8.java:77: cssSetOpacityPirorToIe9(style, value); UserAgent should choose DOMImplIE6 in quirks/7 mode, in which case it would correctly use the alpha filter. The UserAgent should choose DOMImplIE8 in 8 mode and isIE8 should return true, in which case we still correctly use alpha filter. Finally, the UserAgent should choose DOMImplIE8 in 8 mode and isIE8 should return false, so we use opacity. @Fred - Please do verify that this works on IE8/9 in compatibility/regular mode. http://gwt-code-reviews.appspot.com/1077801/diff/3001/4003 File user/src/com/google/gwt/dom/client/Style.java (right): http://gwt-code-reviews.appspot.com/1077801/diff/3001/4003#newcode1373 user/src/com/google/gwt/dom/client/Style.java:1373: * 1.0 (opaque). Note, in IE6/7, the element must also 'have layout' in order I think this method should set zoom:1 in IE so the user doesn't have to worry about it. Users aren't likely to read the JavaDoc, and we don't even provide an API for setting zoom:1, which makes it easy for users to miss this quirk. The likelihood of a user setting zoom to something other than 1 on an element AND setting its opacity through this method seems fleetingly small and unlikely to cause conflicts. Thats especially true if the user is setting zoom in CSS, because they would likely just set the opacity there too and avoid this method. http://gwt-code-reviews.appspot.com/1077801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: gwt-log-3.0.4 available for download
Yes, absolutely On Wed, Nov 3, 2010 at 9:07 AM, gcstang gcst...@gmail.com wrote: Will gwt-log still work in 2.1 ? On Nov 2, 11:59 pm, Fred Sauer fre...@google.com wrote: The code in GWT 2.1 was inspired by gwt-log, but the two APIs and implementations are different. The most practical difference is this: - GWT implements java.util.logging - gwt-log uses a log4j inspired static API On Tue, Oct 19, 2010 at 11:48 PM, Harald Pehl harald.p...@googlemail.comwrote: Is this version part of GWT 2.1, as described in http://code.google.com/intl/de-DE/webtoolkit/doc/trunk/DevGuideLoggin. .. ? - Harald On Oct 19, 10:50 pm, Fred Sauer fre...@google.com wrote: Hi, There's a new version of gwt-log for your to try out. Downloads: http://code.google.com/p/gwt-log/downloads/list Compatibility information and Getting Started guide: http://code.google.com/p/gwt-log/wiki/GettingStarted Enjoy-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt-log-3.0.4 available for download
The code in GWT 2.1 was inspired by gwt-log, but the two APIs and implementations are different. The most practical difference is this: - GWT implements java.util.logging - gwt-log uses a log4j inspired static API On Tue, Oct 19, 2010 at 11:48 PM, Harald Pehl harald.p...@googlemail.comwrote: Is this version part of GWT 2.1, as described in http://code.google.com/intl/de-DE/webtoolkit/doc/trunk/DevGuideLogging.html ? - Harald On Oct 19, 10:50 pm, Fred Sauer fre...@google.com wrote: Hi, There's a new version of gwt-log for your to try out. Downloads: http://code.google.com/p/gwt-log/downloads/list Compatibility information and Getting Started guide: http://code.google.com/p/gwt-log/wiki/GettingStarted Enjoy-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Sporadic ClassCastException
Have you tried setting an uncaught exception handler? You can use gwt-log (http://code.google.com/p/gwt-log/) to do this: public void onModuleLoad() { Log.setUncaughtExceptionHandler(); DeferredCommand.addCommand(new Command() { public void execute() { onModuleLoad2(); } }); } private void onModuleLoad2() { // Your client code goes here } Or, you can use this rudimentary approach: public void onModuleLoad() { // set uncaught exception handler GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() { public void onUncaughtException(Throwable throwable) { String text = Uncaught exception: ; while (throwable != null) { StackTraceElement[] stackTraceElements = throwable.getStackTrace(); text += throwable.toString() + \n; for (int i = 0; i stackTraceElements.length; i++) { text += at + stackTraceElements[i] + \n; } throwable = throwable.getCause(); if (throwable != null) { text += Caused by: ; } } DialogBox dialogBox = new DialogBox(true, false); DOM.setStyleAttribute(dialogBox.getElement(), backgroundColor, #ABCDEF); System.err.print(text); text = text.replaceAll( , nbsp;); dialogBox.setHTML(pre + text + /pre); dialogBox.center(); } }); // use a deferred command so that the handler catches onModuleLoad2() exceptions DeferredCommand.addCommand(new Command() { public void execute() { onModuleLoad2(); } }); } private void onModuleLoad2() { // . } Fred On Mon, Oct 25, 2010 at 2:14 AM, Carl c...@rahmstrom.com wrote: Hi, I sporadically receive the exception shown below or simular. This is in development mode. I'm not sure about production mode. Is there a way to catch all exceptions in GWT? I don't see any of my lines in the exception and wonder what I can do to avoid this in the future. I use GWT 2.0.4, OS X 10.6.4 and Safari 5.0.2. java.lang.ClassCastException: null at java.lang.Class.cast(Class.java:2990) at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:166) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1714) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java: 1669) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 222) at java.lang.Thread.run(Thread.java:680) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: [gwt-contrib] Re: Add support for touch events for supported mobile webkit platforms. (issue867801)
Jim, Thanks for creating the issue. We do absolutely need to make the GWT widgets, which rely on dragging via onmousemove, work correctly when touch events are available. Fred On Tue, Oct 26, 2010 at 2:46 PM, Jim Douglas jdou...@basis.com wrote: FWIW, I noted some touch-related issues here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5148 SplitLayoutPanel is one problem child; another is the ability to drag dialog windows, because it also assumes the existence of mousemove. On Oct 26, 8:10 am, Fred Sauer fre...@google.com wrote: Philip, Do you think this could go in as is, as a first step? And then later add multi-touch, which I agree needs to ultimately be there? Or, do you think that the patch as it stands would put us in a corner that we don't want to be in? On Tue, Oct 26, 2010 at 5:54 AM, p...@google.com wrote: On 2010/09/14 00:49:29, fredsa wrote: I don't think this supports multi-touch events (i.e., the touches array), which I think needs to be in this. http://gwt-code-reviews.appspot.com/867801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: Add support for touch events for supported mobile webkit platforms. (issue867801)
On Wed, Oct 27, 2010 at 1:47 PM, Ray Cromwell cromwell...@gmail.com wrote: Also, onGesture* events seem to be missing. These are very useful for handling multitouch without actually having to do bookkeeping logic as to when multiple touch points started and ended. I was going to add those next, but I'll go ahead and make them a part of this change. -Ray On Wed, Oct 27, 2010 at 7:51 AM, j...@google.com wrote: http://gwt-code-reviews.appspot.com/867801/diff/1/17 File user/src/com/google/gwt/event/dom/client/TouchLocationEvent.java (right): http://gwt-code-reviews.appspot.com/867801/diff/1/17#newcode31 user/src/com/google/gwt/event/dom/client/TouchLocationEvent.java:31: implements LocationEvent { I think the API that is added now should support multitouch, even if the initial implementation only provides a single point. I believe the current API actually would let you receive multiple touch events, although the some of the native event properties like 'touches' and 'identifier' and noticably missing. I'll go ahead and get those in as well. http://gwt-code-reviews.appspot.com/867801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add support for touch events for supported mobile webkit platforms. (issue867801)
Philip, Do you think this could go in as is, as a first step? And then later add multi-touch, which I agree needs to ultimately be there? Or, do you think that the patch as it stands would put us in a corner that we don't want to be in? On Tue, Oct 26, 2010 at 5:54 AM, p...@google.com wrote: On 2010/09/14 00:49:29, fredsa wrote: I don't think this supports multi-touch events (i.e., the touches array), which I think needs to be in this. http://gwt-code-reviews.appspot.com/867801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
gwt-log-3.0.4 available for download
Hi, There's a new version of gwt-log for your to try out. Downloads: http://code.google.com/p/gwt-log/downloads/list Compatibility information and Getting Started guide: http://code.google.com/p/gwt-log/wiki/GettingStarted Enjoy-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Fix deobfuscation of throwables with a cause (issue987801)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix the DevMode Swing UI to avoid clipping buttons when the URL (issue952802)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: GWT Development shell no longer cuts off the Launch Default Browser and Copy to Clipboard (issue758801)
Happy to. After I get back from GDD Tokyo, I should be able to do this. That won't be until the week of Oct 4th though. On Wed, Sep 15, 2010 at 7:23 PM, knor...@google.com wrote: Possible to throw a screenshot comparison up on http://imgur.com/? On 2010/09/15 19:16:00, jat wrote: On Wed, Sep 15, 2010 at 3:10 PM, mailto:con...@google.com wrote: fred, i'd love to see this go in. LGTM. My objection to it as written revolves around wasting vertical space when the URL fits fine. -- John A. Tamplin Software Engineer (GWT), Google http://gwt-code-reviews.appspot.com/758801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Update HistoryTest to ensure that non-safari browsers also: (issue855801)
Commited as http://code.google.com/p/google-web-toolkit/source/detail?r=8749 Filed HtmlUnit bug https://sourceforge.net/tracker/?func=detailaid=3063896group_id=47038atid=448266 On Thu, Sep 9, 2010 at 5:37 PM, sco...@google.com wrote: Still LGTM. May want to file a bug against HtmlUnit. http://gwt-code-reviews.appspot.com/855801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
HTML5 audio support added to gwt-voices-2.0.0.jar
GWT developers, Want to add sound effects to your GWT apps? The gwt-voices project http://code.google.com/p/gwt-voices/ has long provided a simple API for adding sound to your GWT apps, which can be useful for business applications and gameshttp://allen-sauer.com/com.allen_sauer.gwt.game.hornetblast.HornetBlast/HornetBlast.htmlalike. To date, gwt-voices provided audio support via the browser's native capabilities (remember the BGSOUND tag and its friends?) and, if installed, Adobe Flash (for MP3 files). This latest version of gwt-voices adds automatic support for HTML5 audio for modern browsers. Of course, the old native audio and Flash fallback functionality is still in place in case your users need it. To get started, add the gwt-voices jarhttp://code.google.com/p/gwt-voices/downloads/listto your project's classpath and inherit the gwt-voices module: inherits name=com.allen_sauer.gwt.voices.gwt-voices / Then simply play() your sound: SoundController sc = new SoundController(); Sound sound = sc.createSound(Sound.MIME_TYPE_AUDIO_OGG_VORBIS, mysoundfile.ogg); // put the file in the 'war' directory sound.play(); The main project site, which includes a live demohttp://allen-sauer.com/com.allen_sauer.gwt.voices.demo.VoicesDemo/VoicesDemo.html, is here: http://code.g oogle.com/p/gwt-voices/http://code.google.com/p/gwt-voices/ Interested in seeing which MIME Types are supported by the various HTML5 capable browsers? Look no further than this crowd sourced data (your own user agent will be highlighted in yellow): http://gwt-voices.appspot.com/ Full set of Release Notes: http://code.google.com/p/gwt-voices/wiki/ReleaseNotes A more complete Getting Started guide: http://code.google.com/p/gwt-voices/wiki/GettingStarted Feedback is always welcome. Enjoy-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] HTML5 audio support added to gwt-voices-2.0.0.jar
GWT developers, Want to add sound effects to your GWT apps? The gwt-voices project http://code.google.com/p/gwt-voices/ has long provided a simple API for adding sound to your GWT apps, which can be useful for business applications and gameshttp://allen-sauer.com/com.allen_sauer.gwt.game.hornetblast.HornetBlast/HornetBlast.htmlalike. To date, gwt-voices provided audio support via the browser's native capabilities (remember the BGSOUND tag and its friends?) and, if installed, Adobe Flash (for MP3 files). This latest version of gwt-voices adds automatic support for HTML5 audio for modern browsers. Of course, the old native audio and Flash fallback functionality is still in place in case your users need it. To get started, add the gwt-voices jarhttp://code.google.com/p/gwt-voices/downloads/listto your project's classpath and inherit the gwt-voices module: inherits name=com.allen_sauer.gwt.voices.gwt-voices / Then simply play() your sound: SoundController sc = new SoundController(); Sound sound = sc.createSound(Sound.MIME_TYPE_AUDIO_OGG_VORBIS, mysoundfile.ogg); // put the file in the 'war' directory sound.play(); The main project site, which includes a live demohttp://allen-sauer.com/com.allen_sauer.gwt.voices.demo.VoicesDemo/VoicesDemo.html, is here: http://code.g oogle.com/p/gwt-voices/http://code.google.com/p/gwt-voices/ Interested in seeing which MIME Types are supported by the various HTML5 capable browsers? Look no further than this crowd sourced data (your own user agent will be highlighted in yellow): http://gwt-voices.appspot.com/ Full set of Release Notes: http://code.google.com/p/gwt-voices/wiki/ReleaseNotes A more complete Getting Started guide: http://code.google.com/p/gwt-voices/wiki/GettingStarted Feedback is always welcome. Enjoy-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Using GWT for a large UI project
Thanks, Marius On Mon, Aug 30, 2010 at 12:32 PM, marius.andreiana marius.andrei...@gmail.com wrote: Hello group, A few weeks ago I started a shared document which analyses using GWT for a large UI project, which has also reviewed by this group (thanks for your feedback!). After learning more, the analysis has been updated to include the following sections: Using GWT for a large UI project Goals Web applications paradigm alternatives Google Web Toolkit (GWT) Engineering Cross-functional team collaboration More info on GWT Recommendation Appendix: Evaluating GWT 3rd party libraries Appendix: Cool web apps on GWT Appendix: Useful articles If you'd like to have a look at it, please see https://docs.google.com/document/edit?id=16rQknO-r3ZqfMbuIl0R52OnFcWBCOKTPm1wDCzSQgvUhl=en Feel free to share your feedback and experiences on larger projects either on this group or in private. If you have developed GWT front- ends on .NET back-ends, your feedback is specially appreciated :) Thanks, Marius -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Continuation of r8542 to actually properly enables double click for (issue774801)
Excellent point, Thomas. I'll undo the double click capabilities from Hyperlink since it's already available to Anchor via FocusWidget. On Tue, Aug 17, 2010 at 11:20 AM, t.bro...@gmail.com wrote: LGTM, though I'm puzzled by Hyperlink implementing HasDoubleClickHandlers, given that addClickHandler is deprecated on that class. http://gwt-code-reviews.appspot.com/774801/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
On Wed, Aug 4, 2010 at 2:42 PM, sco...@google.com wrote: LGTM, except I kind of preferred the red. :) Patches welcome :-) http://gwt-code-reviews.appspot.com/730802/diff/11001/12003 File dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java (right): http://gwt-code-reviews.appspot.com/730802/diff/11001/12003#newcode387 dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java:387: onModuleLoad() threw an unexpected exception, I wouldn't necessarily call this unexpected.. it's the user's exception so maybe it's unexpected, maybe it's not. http://gwt-code-reviews.appspot.com/730802/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Put in a new fix for DevMode logging that uses bytecode rewriting rather than swapping out (issue725801)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Change RequestFactory based requests: (issue674804)
How's this? http://gwt-code-reviews.appspot.com/674804 On Mon, Aug 2, 2010 at 5:46 PM, fre...@google.com wrote: http://gwt-code-reviews.appspot.com/674804/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Update sample to use the latest features (issue672801)
LGTM On Wed, Jun 30, 2010 at 4:45 PM, unn...@google.com wrote: Reviewers: fredsa, Description: Update sample to use the latest features Please review this at http://gwt-code-reviews.appspot.com/672801/show Affected files: M samples/logexample/src/com/google/gwt/sample/logexample/client/CustomLogArea.java M samples/logexample/src/com/google/gwt/sample/logexample/client/HandlerController.java M samples/logexample/src/com/google/gwt/sample/logexample/client/HandlerController.ui.xml M samples/logexample/src/com/google/gwt/sample/logexample/client/LogExample.java M samples/logexample/src/com/google/gwt/sample/logexample/client/LoggerController.java M samples/logexample/src/com/google/gwt/sample/logexample/client/OneLoggerController.java M samples/logexample/src/com/google/gwt/sample/logexample/client/OneLoggerController.ui.xml M samples/logexample/src/com/google/gwt/sample/logexample/client/ServerLoggingArea.java M samples/logexample/src/com/google/gwt/sample/logexample/client/ServerLoggingArea.ui.xml D samples/logexample/src/com/google/gwt/sample/logexample/server/LoggingServiceImpl.java D samples/logexample/src/com/google/gwt/sample/logexample/shared/LoggingService.java D samples/logexample/src/com/google/gwt/sample/logexample/shared/LoggingServiceAsync.java D samples/logexample/src/com/google/gwt/sample/logexample/shared/SharedLoggingLibrary.java -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Roadmap for Google Eclipse Plugin?
Hi, Is there a roadmap for the Google Eclipse Plugin? Any ETA for 1.4? Any chance http://code.google.com/p/google-web-toolkit/issues/detail?id=4802 will be addressed in the next version? I've frozen my hacking of a m2eclipse configurator because of that :-( regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GEP 1.3 : com.google.gdt.eclipse.suite.* packages not exported
Indeed, that makes perfect sense. On Apr 1, 4:16 pm, Miguel Méndez mmen...@google.com wrote: On Wed, Mar 31, 2010 at 7:21 PM, Fred fbri...@gmail.com wrote: actually I fail to see how not exporting the whole thing would give you more flexibility. It sure looks less flexible for my purposes. But since I'm not an eclipse developper, I believe you :-) The moment we expose an API it reduces our ability to change it and introduces additional test vectors for compatibility, etc. So, it just means more flexibility for us while we mature the API. On Mar 31, 9:47 pm, Miguel Méndez mmen...@google.com wrote: Hi Fred, Could you file a bug for this? Currently, they are not exported because we wanted maximum flexibility. On Tue, Mar 30, 2010 at 7:54 AM, Fred fbri...@gmail.com wrote: Hi, I'm trying to set up a m2eclipse project configurator for GEP during my spare time (I'll open source the code eventually, it's just I haven't setup any SCM yet). So far, I've been able to add the GWT nature to maven projects, set the war source directory using the GEP API. I'd like to create/tweak LaunchConfigurations using com.google.gdt.eclipse.suite.WebAppLaunchUtil. But I can't use any of the classes in the com.google.gdt.eclipse.suite plugin, since no packages are exported. This is quite unfortunate, since I don't want to get sued for reverse engineering these classes. Can Google reconsider this design choice to help 3rd party plugins better integrate with GEP? I'll file an issue if you think it's doable. Thanks in advance. Regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GEP 1.3 : com.google.gdt.eclipse.suite.* packages not exported
Hi Miguel, it's here : http://code.google.com/p/google-web-toolkit/issues/detail?id=4802 regards, Fred Bricon On Mar 31, 9:47 pm, Miguel Méndez mmen...@google.com wrote: Hi Fred, Could you file a bug for this? Currently, they are not exported because we wanted maximum flexibility. On Tue, Mar 30, 2010 at 7:54 AM, Fred fbri...@gmail.com wrote: Hi, I'm trying to set up a m2eclipse project configurator for GEP during my spare time (I'll open source the code eventually, it's just I haven't setup any SCM yet). So far, I've been able to add the GWT nature to maven projects, set the war source directory using the GEP API. I'd like to create/tweak LaunchConfigurations using com.google.gdt.eclipse.suite.WebAppLaunchUtil. But I can't use any of the classes in the com.google.gdt.eclipse.suite plugin, since no packages are exported. This is quite unfortunate, since I don't want to get sued for reverse engineering these classes. Can Google reconsider this design choice to help 3rd party plugins better integrate with GEP? I'll file an issue if you think it's doable. Thanks in advance. Regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GEP 1.3 : com.google.gdt.eclipse.suite.* packages not exported
actually I fail to see how not exporting the whole thing would give you more flexibility. It sure looks less flexible for my purposes. But since I'm not an eclipse developper, I believe you :-) On Mar 31, 9:47 pm, Miguel Méndez mmen...@google.com wrote: Hi Fred, Could you file a bug for this? Currently, they are not exported because we wanted maximum flexibility. On Tue, Mar 30, 2010 at 7:54 AM, Fred fbri...@gmail.com wrote: Hi, I'm trying to set up a m2eclipse project configurator for GEP during my spare time (I'll open source the code eventually, it's just I haven't setup any SCM yet). So far, I've been able to add the GWT nature to maven projects, set the war source directory using the GEP API. I'd like to create/tweak LaunchConfigurations using com.google.gdt.eclipse.suite.WebAppLaunchUtil. But I can't use any of the classes in the com.google.gdt.eclipse.suite plugin, since no packages are exported. This is quite unfortunate, since I don't want to get sued for reverse engineering these classes. Can Google reconsider this design choice to help 3rd party plugins better integrate with GEP? I'll file an issue if you think it's doable. Thanks in advance. Regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GEP 1.3 : com.google.gdt.eclipse.suite.* packages not exported
Hi, I'm trying to set up a m2eclipse project configurator for GEP during my spare time (I'll open source the code eventually, it's just I haven't setup any SCM yet). So far, I've been able to add the GWT nature to maven projects, set the war source directory using the GEP API. I'd like to create/tweak LaunchConfigurations using com.google.gdt.eclipse.suite.WebAppLaunchUtil. But I can't use any of the classes in the com.google.gdt.eclipse.suite plugin, since no packages are exported. This is quite unfortunate, since I don't want to get sued for reverse engineering these classes. Can Google reconsider this design choice to help 3rd party plugins better integrate with GEP? I'll file an issue if you think it's doable. Thanks in advance. Regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: [gwt-contrib] Re: GWT Incubator Status Update and Schedule
Daniel, Last time I looked at HTML5 audio support in browsers (in the context of putting it in to gwt-voices) it was fairly lacking. It's probably a good time to revisit that though. I'd love to get better native support for audio since the current state of affairs (i.e. everything before HTML5) leaves much to be desired. Fred On Mon, Feb 1, 2010 at 8:23 AM, dflorey daniel.flo...@gmail.com wrote: What about Fred Sauer's gwt voices project? AFAK it has an elegant approach how to provide flash based fallback if certain capabilities are not supported by the browser itself. On 1 Feb., 14:25, Joel Webber j...@google.com wrote: To be clear, we do recognize the importance of starting to support HTML5 constructs that don't work on all browsers, though we need to find a clear way to indicate to developers that a particular library or widget won't work in some cases. None of us have ever worked through all the nuances of how this should be done yet, and probably won't have time to do so until at least Q2. That said, if you want to start the discussion, I'm all ears! On Thu, Jan 28, 2010 at 10:44 AM, Ray Ryan rj...@google.com wrote: As you'll see in the first note in this thread, Incubator is closing down. Having your work in its own project is exactly the right thing to do. If it becomes an appropriate addition for GWT proper, we'll eagerly help you integrate it. In the meantime, the community can use it and shape it without waiting for the GWT team to get in the mix. rjrjr On Thu, Jan 28, 2010 at 4:56 AM, Mark Renouf mark.ren...@gmail.com wrote: I've developed gwt-html5-media, which implements all the common functionality described in the Media Element section of the HTML5 spec, including the specific functionality for Video and Audio tags, including all of the events and settings. I could use some help testing and improving it and perhaps some advice on how to better handle usage of the large number of new native events available (currently side-steps the main GWT sinkEvents code instead using it's own, since it exhausts the available number of free bitfield definitions there). http://code.google.com/p/gwt-html5-media/ Would something like this be welcome in incubator or simply as a side project for eventual inclusion into GWT? I'd like to see the HTML5 support rounded out so this plus the Canvas support would me a major step forward. I know there is also another pure-canvas implementation for GWT within the SpeedTracer project. I'm not sure if VML fallback is worth the complexity if the only browser supporting it does not support any other HTML5 features anyhow... but that's a point for debate elsewhere I suppose ;-) On Jan 12, 1:04 pm, John LaBanca jlaba...@google.com wrote: Incubator Users - The Google Web Toolkit Incubator project began as a proving grounds for new widgets to be vetted before joining the ranks of the GWT trunk. We've seen some success stories over the last year with EventHandlers, ClientBundle, and DatePicker, but for many of the widgets and libraries, Incubator has become an elephant graveyard. In order to address this issue, we will start graduating some of the libraries to GWT trunk, move some into separate projects, and discontinue development on others. Ultimately, we will wind down the incubator project completely. The schedule below shows the fate of each subproject in incubator. It's a tentative schedule, meaning that it could change as priorities shift. GWT 2.1 - *PagingScrollTable and FastTree* We are working on a new set of data backed widgets for GWT 2.1 that will include APIs for trees and tables. We will build upon the lessons learned with these incubator widgets, but the API for the new data backed widgets will evolve significantly from the current APIs. When the data backed widgets are added to GWT trunk, we will stop development on the PagingScrollTable and FastTree. - *Locale Selection* Selecting the locale on the server requires one less round trip to the server on startup and is needed for effective use of runtime locales selection. This library will be included in GWT 2.1. GWT 2.2 - *CollapsiblePanel* This widget will probably become a subclass of DockingLayoutPanel, similar to SplitLayoutPanel. - *SliderBar and ProgressBar* Both of these widgets currently require the use of a global timer, which has performance implications. If we can implement these without a resize timer, we will include them in GWT 2.2. If we cannot, we will discontinue development on them. - *Logging* The logging API may make it into GWT 2.1 if time permits. - *Form Validation* We will take
Google eclipse plugin terms question
Hi, if (and it's a big if) I were about to create a m2eclipse project configurator for Google Eclipse Plugin, it seems I'd have to ask google first (http://code.google.com/eclipse/terms.html §9.1). Do you know if accessing the plugin source code would be possible? regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google eclipse plugin terms question
Thanks Keith. For a m2e plugin configurator, I was thinking adding the gdt nature and builder would be the first obvious things to do. For sure, it can be done without the gdt dependency or source code, but I think it falls in the reverse-engineering category (not allowed) Using the gdt API would probably be a better idea as tighter integration could be achieved, that's what we did with WTP. Source code is still the best documentation one can get. I know open sourcing the plugin is planned. But in the mean time, since we're not allowed to decompile the classes to understand the mechanics, having legally access to the source would be great. But again, that's hypothetical. I'm not committing to build anything, just thinking about it. regards, Fred Bricon On Jan 6, 9:49 pm, Keith Platfoot kplatf...@google.com wrote: Hi Fred, The Google Plugin for Eclipse has not yet been open sourced, but we intend to do so in the future. Is the source necessary to create a m2eclipse project configurator? Keith On Wed, Jan 6, 2010 at 6:27 AM, Fred fbri...@gmail.com wrote: Hi, if (and it's a big if) I were about to create a m2eclipse project configurator for Google Eclipse Plugin, it seems I'd have to ask google first (http://code.google.com/eclipse/terms.html§9.1). Do you know if accessing the plugin source code would be possible? regards, Fred Bricon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] gwt-dnd, gwt-log, gwt-voices updated for GWT 2.0
Four suggestions for your to-do list now that GWT 2.0 is out 1. Switch your projects to *GWT 2.0* - Faster, leaner AND more functionality. 2. Make sure you're using the *Google Plugin for Eclipse* - Can you say productivity? 3. Download and profile your apps with *Speed Tracer* - No more guessing; focus on fixing 4. Upgrade your *gwt-dnd / gwt-log / gwt-voices* projects to their respective GWT 2.0 versions http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-dnd/ http://code.google.com/p/gwt-voices/ Go GWT. Go. -- Fred Sauer Developer Advocate Google Inc.1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: GWT and DragListener
Listeners in the latest version have been migrated to Handlers to be consistent with the corresponding changes in GWT On Thu, Oct 22, 2009 at 8:10 PM, SUHASINI PRASAD sonyp...@gmail.com wrote: HI, I have that part added to my project, still it is not recognizing the DragListener. What i am trying to do is to create a pop-up menu the moment widget is dropped. i am already extending one class so i cannot extend click listener. Is there a way i can do that. are there any examples. Thank you so much for help. On Thu, Oct 22, 2009 at 2:51 PM, Adam T adam.t...@gmail.com wrote: Hi Sony, It's not part of GWT out of the box, you need to add it. See the project page, which has instructions and a getting started guide, here: http://code.google.com/p/gwt-dnd/ //Adam On 22 Okt, 15:31, sony sonyp...@gmail.com wrote: Hello, Is DragListener part of GWT? because when i type in com.google.gwt.user.client.dnd.DragListener it is not recognizing. i saw this in an example. Is there anything i need to add to make it work? any help would be appreciated. Thank you. -- Fred Sauer Developer Advocate Google Inc.1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: Adding ClientBundle to trunk
Bob, Have you thought about implementing *External*DataSource? It looks like Flash doesn't like 'data:' URLs for creating Sound() objects. In gwt-voices I'd like to be able to use DataResource#getUrl() to get a strongly cacheable URL for my MP3 sound files. Thanks Fred On Wed, Mar 25, 2009 at 7:31 PM, BobV b...@google.com wrote: After 16+ months of on-and-off development, ClientBundle (nee ImmutableResourceBundle) is moving to GWT trunk. $ find user/src/com/google/gwt/resources/ user/test/com/google/gwt/resources/ -name *.java | xargs wc | grep total 9871 34391 317990 total The com.google.gwt.resources.Resources module is not included from User by default, so this commit should be a no-op for those tracking GWT and incubator trunk. Note also that some non-trivial API changes have occurred, includes renames and removal of methods marked as deprecated. The initial add at r5083 includes the following resource types: - CssResource - DataResource - ExternalTextResource - GwtCreateResource - ImageResource - TextResource TODO in priority order: - Move StyleInjector as a separate commit. - Which package is most appropriate? - Deprecate incubator versions and provide transition documentation. - A very rough guide to changes is here http://code.google.com/p/google-web-toolkit/wiki/ClientBundle - Deprecate ImageBundle with replacement. - Begin switching gwt.user and sample apps to ClientBundle -- Bob Vawter Google Web Toolkit Team -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: Why doesn't igoogle use gwt?
see: http://code.google.com/p/gwt-google-apis/wiki/GWT4Gadgets It is a work in progress I guess to be very soon.. On Fri, Oct 2, 2009 at 11:42 AM, bconoly bcon...@gmail.com wrote: Hey anyone that can answer, An opponent of gwt in our office just asked me why igoogle doesn't use GWT and instead uses YUI. Does anyone know the correct answer to this? I just told them that it was probably created before GWT and hasn't converted or just doesn't have plans to convert to GWT. Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode
[+Miguel] On that note: what about adding some nice defaults to appengine-web.xml as discussed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3592 This would be for project with both App Engine and GWT support. Fred On Mon, Sep 21, 2009 at 3:20 PM, rj...@google.com wrote: If Bob and Kelly haven't objected to this by, say, lunch time tomorrow, can we get it submitted? This issue continues to bite people, and it would be nice to see it fixed before MS1 freezes RSN. http://gwt-code-reviews.appspot.com/56807 -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode
Absolutely. Separate subject. Separate issue (in fact it's issue 3592). I just wanted to call it out here since there seem to be 'interested parties' on this thread. On Mon, Sep 21, 2009 at 5:30 PM, Ray Ryan rj...@google.com wrote: Can we move that conversation to another patch? On Mon, Sep 21, 2009 at 5:25 PM, Fred Sauer fre...@gmail.com wrote: [+Miguel] On that note: what about adding some nice defaults to appengine-web.xml as discussed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3592 This would be for project with both App Engine and GWT support. Fred On Mon, Sep 21, 2009 at 3:20 PM, rj...@google.com wrote: If Bob and Kelly haven't objected to this by, say, lunch time tomorrow, can we get it submitted? This issue continues to bite people, and it would be nice to see it fixed before MS1 freezes RSN. http://gwt-code-reviews.appspot.com/56807 -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: Your GWT based open source project(s)
Thank you for the many replies. I'm impressed by the number of responses. I'd also love you hear which open source project actually motivated you to share your code. Thanks again Fred On Thu, Sep 3, 2009 at 4:40 PM, Fred Sauer fre...@google.com wrote: From time to time I hear from people who have created GWT related open source projects. If that includes you, here's my 1 question, 10 second survey: * Q. Were you encouraged to open source your project because of the benefits* * you gained from another open source project (GWT, or any other project)?* (Private replies are fine too). Thanks-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Your GWT based open source project(s)
From time to time I hear from people who have created GWT related open source projects. If that includes you, here's my 1 question, 10 second survey: * Q. Were you encouraged to open source your project because of the benefits* * you gained from another open source project (GWT, or any other project)?* (Private replies are fine too). Thanks-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to override module stylesheet definitions
As a heads up, if you build gwt-dnd from trunk (which requires using GWT 2.0 features form trunk) the stylesheet in injected via StyleInjector which avoids the extra HTTP round trip for gwt-dnd.css incurred by the stylesheet src=.../ configuration you mention below. Hope that helps. Fred On Mon, Aug 17, 2009 at 10:39 PM, Alex Epshteyn alexander.epsht...@gmail.com wrote: Surprisingly was unable to find any prior discussions about this... I'm optimizing my app's load time by merging all my stylesheets into a single CSS file (then minifying it with YUI compressor), to reduce the number of HTTP requests. I'd like to also concatenate all the stylesheets from third party libraries I'm using into this single CSS file, but don't see a way to undefine the stylesheet module XML elements in these third party modules. For example, I'm using Fred Sauer's gwt-dnd library, whose module XML contains stylesheet src=gwt-dnd.css/ This line instructs the browser to request gwt-dnd.css when this module is loaded, but I don't want this to happen. Any ideas? -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: DTO compiler optimization
Nathan, To some extent you can make this happen by wrapping your method implementations with GWT.isScript() or GWT.isClient() calls as appropriate. Another approach is to use super-src so that you in fact have two implementations of your class, one for the client, one for the server. I realize neither quite hits the sweet spot you're looking for, but may help you in a pragmatic sense. Fred On Mon, Aug 10, 2009 at 10:10 AM, Nathan Wells nwwe...@gmail.com wrote: I have hesitated to bring this up, since I'm relatively new to GWT, and I would hate to waste anyone's time with explaining what is hopefully common knowledge to me. Specifically, I thinking about the DTO problem. I think the general opinion about DTOs is that they are a necessary evil when working with GWT. And let me say, they are a very minor blemish on a life-saving framework. But, It seems to me that the problem has a more elegant solution. I would propose that all we need to do is increase the granularity of GWT compiler control. For clarification, I would like to be able to tell the compiler at the class member level (either through annotations or *.gwt.xml) what should be client-side and what should be server-side. As an example, compiling the following class wouldn't be a problem: class Foo implements Serializable { @ServerOnly static long serialVersionUID = 325490285; //default, of course compiles to java byte-code and js. String bar; @ServerOnly void setBar(String bar) { //a method which might reference un-emulated JRE classes } String getBar() { return bar; } } I hope that makes sense... that way, our the same class could be used on server and client side. Hurray for OO! Again, I'm sure there are some unforeseen consequences of this design, not the least of which is the possibility that it would require basically rebuilding the GWT compiler. I'm just hoping that this discussion might answer other n00b questions in the future :) -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: How to enable web mode debugging in GWT
gwt-log will print those stack traces for you. To get the most out of it you'll want to use GWT trunk and gwt-log trunk. To get started: http://code.google.com/p/gwt-log/wiki/GettingStarted In particular, make sure you: inherits name=com.google.gwt.core.EmulateJsStack/ set-configuration-property name=compiler.emulatedStack.recordLineNumbers value=true/ set-configuration-property name=compiler.emulatedStack.recordFileNames value=true/ And use the deferred command pattern to capture initialization exceptions: public void onModuleLoad() { Log.setUncaughtExceptionHandler(); DeferredCommand.addCommand(new Command() { public void execute() { onModuleLoad2(); } }); } private void onModuleLoad2() { // Your client code goes here } HTH Fred On Mon, Aug 10, 2009 at 1:36 AM, Joy goswami@gmail.com wrote: Hi All, I can see hosted mode debug message in eclipse console. When I compile and run mt application in IE I get some javascipt error messages. But I am uanble to debug because I am not getting the culprit java file which might have caused the error. So I want to know how to enable web mode debugging, so that i can see the java stack trace in eclipse console, while running the application in IE. Thanks in advance. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Invalid version number 2.0 passed to external.gwtOnLoad()
When switching GWT versions on my project I get this error (when I'm lucky): *[ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(), expected 1.6; your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app* However, if I'm switching within a given version of GWT (say because I'm working off of trunk and updating or rolling back) I may in fact have incorrect contents in hosted.html but a correct version. This means the above error message is never thrown, but hosted mode is unexplainably broken. Should this be an issue? It would be great if GWT checked the contents of hosted.html and replaced the file if needed. Thoughts? -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()
On Tue, Aug 11, 2009 at 5:14 PM, John Tamplin j...@google.com wrote: On Tue, Aug 11, 2009 at 7:50 PM, Fred Sauer fre...@google.com wrote: When switching GWT versions on my project I get this error (when I'm lucky): *[ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(), expected 1.6; your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app* However, if I'm switching within a given version of GWT (say because I'm working off of trunk and updating or rolling back) I may in fact have incorrect contents in hosted.html but a correct version. This means the above error message is never thrown, but hosted mode is unexplainably broken. Should this be an issue? It would be great if GWT checked the contents of hosted.html and replaced the file if needed. I'm not sure I understand the issue. If you have different versions of hosted.html and GWT, things are likely to not work and that is why that check was added in 1.6. I don't see how you could have the incorrect contents of hosted.html but the correct version, unless you update/rollback parts of GWT separately, in which case you are already likely to break things if you don't know what you are doing. Yep, that's exactly the scenario :). Knowing that you have to watch out for this stuff is one thing. Being bit by it every now and again and going down a rabbit hole, is (mildly) annoying. Not a huge deal as this affect contributors only, but could be a good sanity check to save time down the road. Thanks Fred In the -noserver case, GWT never sees the hosted.html your web server serves, and the version number is passed to the plugin from hosted.html (or gwt.external in legacy hosted mode) -- it could conceivably do an XHR for hosted.html and send the entire contents (or a hash) rather than just the version number, but that seems overkill as I don't see a reasonable way the version number contained in the hosted.html file will get out of sync with the rest of the hosted.html file. -- John A. Tamplin Software Engineer (GWT), Google -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()
On Tue, Aug 11, 2009 at 5:47 PM, John Tamplin j...@google.com wrote: On Tue, Aug 11, 2009 at 8:22 PM, Fred Sauer fre...@google.com wrote: I'm not sure I understand the issue. If you have different versions of hosted.html and GWT, things are likely to not work and that is why that check was added in 1.6. I don't see how you could have the incorrect contents of hosted.html but the correct version, unless you update/rollback parts of GWT separately, in which case you are already likely to break things if you don't know what you are doing. Yep, that's exactly the scenario :). Knowing that you have to watch out for this stuff is one thing. Being bit by it every now and again and going down a rabbit hole, is (mildly) annoying. Not a huge deal as this affect contributors only, but could be a good sanity check to save time down the road. There are so many ways you can screw things up by mixing different versions of parts of GWT, I don't see how this is any different. For example, if you rollback an old TypeOracleMediator but don't roll back related TypeOracle changes, things are going to break horribly. I think trying to add code inside GWT to detect such situations is counterproductive and unlikely to be effective anyway. You had me at There are so many ways you can screw things up Thanks Fred I would hope that anyone knows building a version of GWT that is not at a consistent revision across the board means they better know exactly what they are doing or they will get weird breakages. -- John A. Tamplin Software Engineer (GWT), Google -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: GWT RPC
Pavel, You still will need to copy the result set into a new collection, e.g. an ArrayList. Fred On Mon, Aug 10, 2009 at 6:54 AM, Pavel Byles pavelby...@gmail.com wrote: Fred,I have tried transferring a JDO enhanced class from server to client, to no avail. The error I get is the same as before: org.datanucleus.store.appengine.query.*StreamingQueryResult* cannot be cast On Wed, Aug 5, 2009 at 3:43 PM, Fred Sauer fre...@google.com wrote: Let me know how it goes with the latest plugin and GWT 1.7.0. Just to be clear, JDO enhanced classes still won't pass round trip, even if they are in detached state. For that you still need to transfer some sort of DTO between client and server. However, if you just want to take a JDO class and transfer it one way, you can sort of get that to work. Fred On Wed, Aug 5, 2009 at 12:26 PM, Pavel Byles pavelby...@gmail.comwrote: Ok, this is great news. I will try this w/o your workaround and hope for the best. On Wed, Aug 5, 2009 at 12:21 PM, Fred Sauer fre...@google.com wrote: Pavel, Some of the annoyances have been cleaned up. The latest plugin takes care of some of that. The biggest thing left is how to deal with detachable 'bytecode enhanced' classes so that they can be sent round trip server-client-server. This has been discussed at length on the GWT user + contributor forums. I think some good work is happening in this area to make life easier. Fred On Wed, Aug 5, 2009 at 8:54 AM, Pavel Byles pavelby...@gmail.comwrote: Has there been any further word on the GWT bug that requires the following workaround: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html? Has this been fixed in 1.7? -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT RPC
Instead of casting the results: results = (ListCountry) query.execute(); you'll need to copy the results into the array. Note that you never actually use this array: ListCountry results = new ArrayListCountry(); To see what I mean try this: final ListCountry results = new ArrayListCountry(); HTH Fred On Mon, Aug 10, 2009 at 12:33 PM, Pavel Byles pavelby...@gmail.com wrote: Hi Fred. I do do that.Here's a code sample: ListCountry results = new ArrayListCountry(); try { Query query = pm.newQuery(Country.class); query.setOrdering(name asc); results = (ListCountry) query.execute(); } catch (... ...) { } return results; On Mon, Aug 10, 2009 at 1:06 PM, Fred Sauer fre...@google.com wrote: Pavel, You still will need to copy the result set into a new collection, e.g. an ArrayList. Fred On Mon, Aug 10, 2009 at 6:54 AM, Pavel Byles pavelby...@gmail.comwrote: Fred,I have tried transferring a JDO enhanced class from server to client, to no avail. The error I get is the same as before: org.datanucleus.store.appengine.query.*StreamingQueryResult* cannot be cast On Wed, Aug 5, 2009 at 3:43 PM, Fred Sauer fre...@google.com wrote: Let me know how it goes with the latest plugin and GWT 1.7.0. Just to be clear, JDO enhanced classes still won't pass round trip, even if they are in detached state. For that you still need to transfer some sort of DTO between client and server. However, if you just want to take a JDO class and transfer it one way, you can sort of get that to work. Fred On Wed, Aug 5, 2009 at 12:26 PM, Pavel Byles pavelby...@gmail.comwrote: Ok, this is great news. I will try this w/o your workaround and hope for the best. On Wed, Aug 5, 2009 at 12:21 PM, Fred Sauer fre...@google.com wrote: Pavel, Some of the annoyances have been cleaned up. The latest plugin takes care of some of that. The biggest thing left is how to deal with detachable 'bytecode enhanced' classes so that they can be sent round trip server-client-server. This has been discussed at length on the GWT user + contributor forums. I think some good work is happening in this area to make life easier. Fred On Wed, Aug 5, 2009 at 8:54 AM, Pavel Byles pavelby...@gmail.comwrote: Has there been any further word on the GWT bug that requires the following workaround: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html? Has this been fixed in 1.7? -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: NOTICE - removing all @deprecated code for GWT 2.0
I've always been meaning to use it myself, so I just tried it and here's what appears to be the most useful thing you can do as an API or GWT developer: 1. Refactor your library using Eclipse 2. Review your history at any time with Refactor - History 3. Package your refactorings - I did this via File - Export - Jar file (and then check the box 'Export refactorings for checked projects'), which produced a META-INF/REFACTORINGS.XML in the jar - I bet you could instead more simply use Refactor - Create Script 4. Ship a jar with the new APIs and include the refactoring history in META-INF/REFACTORINGS.XML Your users then simply: 1. Open their project while they still have your old jar in their classpath 2. They select Refactor - Migrate JAR file - specify the location of the new jar file which contains the META-INF/REFACTORINGS.XML - specify the old jar already in their project classpath - Click, Next, then Next again - review the refactorings they want to apply - Click Finish The rest is magic. Pretty cool. It wouldn't handle listener-handler migrations, but simple method name changes would be trivial. I tried it with an 'encapsulate field' refactoring. Works beautifully. You might even be able to trigger the user.Element - dom.Element migration in user code. Most excellent would be integration with the Eclipse Plugin whereby an update from GWT 1.7 - 2.0 causes the Refactor-Migrate JAR file wizard to be invoked for you. Fred 2009/8/3 Joel Webber j...@google.com I haven't actually tried any of this stuff. I'll definitely have a look when I hunker down to do this refactoring. Of course, if anyone wants to look into it before I get to it, that would be even cooler... :) On Mon, Aug 3, 2009 at 12:13 PM, Fred Sauer fre...@google.com wrote: I wonder how much work we could make Eclipse do for us. Under the 'Refactor' menu there are a few useful optional to record / playback refactorings: Migrate JAR File Migrates a JAR File on the build path of a project in your workspace to a newer version, possibly using refactoring information stored in the new JAR File to avoid breaking changes. Available: JAR Files on build path Create Script Creates a script of the refactorings that have been applied in the workspace. Refactoring scripts can either be saved to a file or copied to the clipboard. See *Apply Script*. Available: Always Apply Script Applies a refactoring script to projects in your workspace. Refactoring scripts can either be loaded from a file or from the clipboard. See *Create Script*. Available: Always History Browses the workspace refactoring history and offers the option to delete refactorings from the refactoring history. Available: Always What if you recorded all the refactorings you wanted to make and then let developers simply replay them on their own projects? In fact, the Eclipse plugin could potentially prompt to auto upgrade projects to the new API. Fred On Mon, Aug 3, 2009 at 7:10 AM, Joel Webber j...@google.com wrote: I'd be a lot more comfortable if our own code didn't have reams of deprecation warnings. The good news is that it's actually pretty easy to do -- it's damned near rote, though not quite enough to automate. I did it for a few large classes in 1.5 (though I didn't commit the changes), just to make sure I didn't miss anything too important. On Mon, Aug 3, 2009 at 10:06 AM, John Tamplin j...@google.com wrote: On Mon, Aug 3, 2009 at 8:30 AM, Joel Webber j...@google.com wrote: I've been wanting to do this since we first introduced the dom package in 1.5. The plan is to remove all extant references to user.Element and friends, as well as the DOM.* static methods, at which point they can be deprecated. I'd like to do this as part of 2.0, so that we can go ahead and get them deprecated, but it remains to be seen if there's enough time in the schedule. Do we have to remove internal references to it before marking it deprecated? Obviously, those would have to be cleaned up before we actually remove it, but it doesn't seem necessary to require it earlier. -- John A. Tamplin Software Engineer (GWT), Google -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc.1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: GWT RPC
Pavel, Some of the annoyances have been cleaned up. The latest plugin takes care of some of that. The biggest thing left is how to deal with detachable 'bytecode enhanced' classes so that they can be sent round trip server-client-server. This has been discussed at length on the GWT user + contributor forums. I think some good work is happening in this area to make life easier. Fred On Wed, Aug 5, 2009 at 8:54 AM, Pavel Byles pavelby...@gmail.com wrote: Has there been any further word on the GWT bug that requires the following workaround: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html? Has this been fixed in 1.7? -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT RPC
Let me know how it goes with the latest plugin and GWT 1.7.0. Just to be clear, JDO enhanced classes still won't pass round trip, even if they are in detached state. For that you still need to transfer some sort of DTO between client and server. However, if you just want to take a JDO class and transfer it one way, you can sort of get that to work. Fred On Wed, Aug 5, 2009 at 12:26 PM, Pavel Byles pavelby...@gmail.com wrote: Ok, this is great news. I will try this w/o your workaround and hope for the best. On Wed, Aug 5, 2009 at 12:21 PM, Fred Sauer fre...@google.com wrote: Pavel, Some of the annoyances have been cleaned up. The latest plugin takes care of some of that. The biggest thing left is how to deal with detachable 'bytecode enhanced' classes so that they can be sent round trip server-client-server. This has been discussed at length on the GWT user + contributor forums. I think some good work is happening in this area to make life easier. Fred On Wed, Aug 5, 2009 at 8:54 AM, Pavel Byles pavelby...@gmail.com wrote: Has there been any further word on the GWT bug that requires the following workaround: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html? Has this been fixed in 1.7? -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: NOTICE - removing all @deprecated code for GWT 2.0
I wonder how much work we could make Eclipse do for us. Under the 'Refactor' menu there are a few useful optional to record / playback refactorings: Migrate JAR File Migrates a JAR File on the build path of a project in your workspace to a newer version, possibly using refactoring information stored in the new JAR File to avoid breaking changes. Available: JAR Files on build path Create Script Creates a script of the refactorings that have been applied in the workspace. Refactoring scripts can either be saved to a file or copied to the clipboard. See *Apply Script*. Available: Always Apply Script Applies a refactoring script to projects in your workspace. Refactoring scripts can either be loaded from a file or from the clipboard. See *Create Script*. Available: Always History Browses the workspace refactoring history and offers the option to delete refactorings from the refactoring history. Available: Always What if you recorded all the refactorings you wanted to make and then let developers simply replay them on their own projects? In fact, the Eclipse plugin could potentially prompt to auto upgrade projects to the new API. Fred On Mon, Aug 3, 2009 at 7:10 AM, Joel Webber j...@google.com wrote: I'd be a lot more comfortable if our own code didn't have reams of deprecation warnings. The good news is that it's actually pretty easy to do -- it's damned near rote, though not quite enough to automate. I did it for a few large classes in 1.5 (though I didn't commit the changes), just to make sure I didn't miss anything too important. On Mon, Aug 3, 2009 at 10:06 AM, John Tamplin j...@google.com wrote: On Mon, Aug 3, 2009 at 8:30 AM, Joel Webber j...@google.com wrote: I've been wanting to do this since we first introduced the dom package in 1.5. The plan is to remove all extant references to user.Element and friends, as well as the DOM.* static methods, at which point they can be deprecated. I'd like to do this as part of 2.0, so that we can go ahead and get them deprecated, but it remains to be seen if there's enough time in the schedule. Do we have to remove internal references to it before marking it deprecated? Obviously, those would have to be cleaned up before we actually remove it, but it doesn't seem necessary to require it earlier. -- John A. Tamplin Software Engineer (GWT), Google -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'
On Fri, Jul 31, 2009 at 5:53 PM, Bruce Johnson br...@google.com wrote: Isn't that already there, if you wire up the symbol maps correctly? I was thinking of doing it client side (i.e. without the server side symbol maps). The `-style DETAILED` provides all the necessary information, although with minor transformations. Making the transformations uniquely reversible would solve this. On Fri, Jul 31, 2009 at 5:38 PM, Fred Sauer fre...@google.com wrote: Perhaps one of bobs tricks will involve taking the `-style DETAILED` information which looks like this: at Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoPanel$5_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(InteractiveDemoPanel.java:135) and magically reverse transform it into: at com.allen_sauer.gwt.log.demo.client.InteractiveDemoPanel$5.onClick(InteractiveDemoPanel.java:135) That would make something like this: at Unknown.com_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_$fillInStackTrace__Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_2Ljava_lang_Throwable_2V(JsArrayString.java:42) at Unknown.java_lang_NullPointerException_$NullPointerException__Ljava_lang_NullPointerException_2Ljava_lang_NullPointerException_2(StackTraceCreator.java:280) at Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoPanel$5_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(InteractiveDemoPanel.java:135) at Unknown.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt_event_shared_EventHandler_2V(com.google.gwt.dev.jjs.impl.GenerateJavaAST:0) at Unknown.com_google_gwt_event_shared_HandlerManager$HandlerRegistry_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager$HandlerRegistry_2Lcom_google_gwt_event_shared_GwtEvent_2ZV(HandlerManager.java:65) at Unknown.com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(HandlerManager.java:178) at Unknown.com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(Widget.java:52) at Unknown.com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_gwt_dom_client_Element_2V(DomEvent.java:116) at Unknown.com_google_gwt_user_client_ui_Widget_onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(Widget.java:90) at Unknown.com_google_gwt_user_client_DOM_dispatchEventAndCatch__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventListener_2Lcom_google_gwt_core_client_GWT$UncaughtExceptionHandler_2V(DOM.java:1322) at Unknown.com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(DOM.java:1266) at Unknown.anonymous(DOMImplStandard.java:180) look a lot more like this: at com.allen_sauer.gwt.log.demo.client.InteractiveDemoPanel$5.onClick(InteractiveDemoPanel.java:135) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:54) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65) at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:90) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1322) at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1305) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1266) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126) at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch
[gwt-contrib] NOTICE - removing all @deprecated code for GWT 2.0
To all GWT contributors- As you may know, there many exciting thingshttp://code.google.com/webtoolkit/makinggwtbetter.html#roadmap we're working on for GWT 2.0. With all the new features coming your way we thought GWT 2.0 would be a good opportunity to clean house and remove previously deprecated methods and classes. In many cases an equivalent replacement is suggested in the Javadoc and updating your projects should hopefully not be too onerous. While different sections of the API have been deprecated in different releases we wanted to make things as straightforward as possible for the upcoming release. As such, our plan for GWT 2.0 is to remove everything that was marked as deprecated in previous releases. We did not introduce any new deprecations in GWT 1.7 so you can find the complete list of items we plan to remove in this GWT 1.6 document: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/deprecated-list.html If you have any serious concerns about the above deprecation list, please reply back to indicate how you will be affected. In particular I'm interested in any use cases in the GWT 1.6/1.7 API which you feel would not be covered in GWT 2.0 once the @deprecated methods and classes have been removed. Please note that Java compilers are required to warn youhttp://java.sun.com/j2se/1.5.0/docs/guide/javadoc/deprecation/deprecation.html#how when your code uses @deprecated methods or classes. Although there are warning suppression mechanisms such as the @SuppressWarnings annotation and your IDE's or build environment's settings. So, in general, chances are you are probably not using any deprecated GWT APIs without knowing about it. Thanks-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'
Web mode stack traces are steadily improving. You can even get line numbers (by inheriting com.google.gwt.core.EmulateJsStack). Without the extra instrumentation you web mode stack traces might look something like this: at Unknown.$NullPointerException() at Unknown.onClick_6() at Unknown.dispatch() at Unknown.$fireEvent() at Unknown.$fireEvent_0() at Unknown.$fireEvent_1() at Unknown.fireNativeEvent() at Unknown.onBrowserEvent() at Unknown.dispatchEventImpl() at Unknown.dispatchEventAndCatch() at Unknown.anonymous() I was thinking it might make slightly more sense if we replaced 'Unknown' with 'JavaScript', e.g. at JavaScript.$NullPointerException() at JavaScript.onClick_6() at JavaScript.dispatch() at JavaScript.$fireEvent() at JavaScript.$fireEvent_0() at JavaScript.$fireEvent_1() at JavaScript.fireNativeEvent() at JavaScript.onBrowserEvent() at JavaScript.dispatchEventImpl() at JavaScript.dispatchEventAndCatch() at JavaScript.anonymous() Anyone have strong opinions wither way? -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'
Indeed, Out of the box (-style OBF) you get: at Unknown.lG(Unknown Source:0) at Unknown.Ccb(Unknown Source:0) at Unknown.kD(Unknown Source:0) at Unknown.nK(Unknown Source:0) at Unknown.vO(Unknown Source:0) at Unknown.cP(Unknown Source:0) at Unknown.f_(Unknown Source:0) at Unknown.zK(Unknown Source:0) at Unknown.p_(Unknown Source:0) at Unknown.a1(Unknown Source:0) at Unknown.c1(Unknown Source:0) at Unknown.anonymous(Unknown Source:0) If you add in the enhanced web more stack traces (and pay the JavaScript/runtime overhead): inherits name=com.google.gwt.core.EmulateJsStack/ set-configuration-property name=compiler.emulatedStack.recordLineNumbers value=true/ set-configuration-property name=compiler.emulatedStack.recordFileNames value=true/ You get the following, which notably can be pasted into Eclipse's Stack Trace Console view so that the filename:lineNumber pairs become clickable hyperlinks: at Unknown.E4(JsArrayString.java:42) at Unknown.pBb(StackTraceCreator.java:280) at Unknown.D1(InteractiveDemoPanel.java:135) at Unknown.a9(com.google.gwt.dev.jjs.impl.GenerateJavaAST:0) at Unknown.ibb(HandlerManager.java:65) at Unknown.vbb(HandlerManager.java:178) at Unknown.yxb(Widget.java:52) at Unknown.m9(DomEvent.java:116) at Unknown.cyb(Widget.java:90) at Unknown.tnb(DOM.java:1322) at Unknown.vnb(DOM.java:1266) at Unknown.anonymous(DOMImplStandard.java:180) On Fri, Jul 31, 2009 at 4:16 PM, Ray Cromwell cromwell...@gmail.com wrote: The way you see this in Java bytecode that has been obfuscated and stripped of line number information is, IIRC at z.onClick_6(Unknown) typically you see these on commercial Java software that has thrown an exception. -Ray On Fri, Jul 31, 2009 at 3:48 PM, Bruce Johnson br...@google.com wrote: I prefer Unknown because it's an indication you are looking at suboptimal stack trace output. JavaScript makes it sound like we actually intend for you to be looking at that output, when in fact, you really want to use symbol maps to reverse lookup the Java idents. On Fri, Jul 31, 2009 at 2:42 PM, Fred Sauer fre...@google.com wrote: Web mode stack traces are steadily improving. You can even get line numbers (by inheriting com.google.gwt.core.EmulateJsStack). Without the extra instrumentation you web mode stack traces might look something like this: at Unknown.$NullPointerException() at Unknown.onClick_6() at Unknown.dispatch() at Unknown.$fireEvent() at Unknown.$fireEvent_0() at Unknown.$fireEvent_1() at Unknown.fireNativeEvent() at Unknown.onBrowserEvent() at Unknown.dispatchEventImpl() at Unknown.dispatchEventAndCatch() at Unknown.anonymous() I was thinking it might make slightly more sense if we replaced 'Unknown' with 'JavaScript', e.g. at JavaScript.$NullPointerException() at JavaScript.onClick_6() at JavaScript.dispatch() at JavaScript.$fireEvent() at JavaScript.$fireEvent_0() at JavaScript.$fireEvent_1() at JavaScript.fireNativeEvent() at JavaScript.onBrowserEvent() at JavaScript.dispatchEventImpl() at JavaScript.dispatchEventAndCatch() at JavaScript.anonymous() Anyone have strong opinions wither way? -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'
I can't wait! On Fri, Jul 31, 2009 at 4:58 PM, Bruce Johnson br...@google.com wrote: 4 cheers for Bob! w00t, w00t, w00t and w00t. Also, note that this is phase 1 in a larger plan. For Bob's next feat of magic, he's going to provide better control over permutations, allowing you to, say, include the (expensive) stack traces below for only a small percentage of users -- as well as all sorts of other cool, unrelated things that involve carving up your permutation space more powerfully On Fri, Jul 31, 2009 at 4:36 PM, Ray Cromwell cromwell...@gmail.comwrote: On Fri, Jul 31, 2009 at 4:33 PM, Fred Sauer fre...@google.com wrote: You get the following, which notably can be pasted into Eclipse's Stack Trace Console view so that the filename:lineNumber pairs become clickable hyperlinks: That's just awesome beyond belief. -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Web mode stack traces - propose stackElement.getFileName() return 'JavaScript' instead of 'Unknown'
Perhaps one of bobs tricks will involve taking the `-style DETAILED` information which looks like this:at Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoPanel$5_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(InteractiveDemoPanel.java:135) and magically reverse transform it into: at com.allen_sauer.gwt.log.demo.client.InteractiveDemoPanel$5.onClick(InteractiveDemoPanel.java:135) That would make something like this: at Unknown.com_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_$fillInStackTrace__Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_2Ljava_lang_Throwable_2V(JsArrayString.java:42) at Unknown.java_lang_NullPointerException_$NullPointerException__Ljava_lang_NullPointerException_2Ljava_lang_NullPointerException_2(StackTraceCreator.java:280) at Unknown.com_allen_1sauer_gwt_log_demo_client_InteractiveDemoPanel$5_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(InteractiveDemoPanel.java:135) at Unknown.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt_event_shared_EventHandler_2V(com.google.gwt.dev.jjs.impl.GenerateJavaAST:0) at Unknown.com_google_gwt_event_shared_HandlerManager$HandlerRegistry_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager$HandlerRegistry_2Lcom_google_gwt_event_shared_GwtEvent_2ZV(HandlerManager.java:65) at Unknown.com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(HandlerManager.java:178) at Unknown.com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(Widget.java:52) at Unknown.com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_gwt_dom_client_Element_2V(DomEvent.java:116) at Unknown.com_google_gwt_user_client_ui_Widget_onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(Widget.java:90) at Unknown.com_google_gwt_user_client_DOM_dispatchEventAndCatch__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventListener_2Lcom_google_gwt_core_client_GWT$UncaughtExceptionHandler_2V(DOM.java:1322) at Unknown.com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(DOM.java:1266) at Unknown.anonymous(DOMImplStandard.java:180) look a lot more like this: at com.allen_sauer.gwt.log.demo.client.InteractiveDemoPanel$5.onClick(InteractiveDemoPanel.java:135) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:54) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65) at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:90) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1322) at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1305) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1266) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126) at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:297) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:565) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:411) at com.google.gwt.dev.HostedMode.main(HostedMode.java:243) On Fri, Jul 31, 2009 at 5:00 PM, Fred Sauer fre...@google.com wrote: I can't wait! On Fri, Jul 31, 2009 at 4:58 PM, Bruce Johnson br...@google.com wrote: 4 cheers for Bob! w00t, w00t, w00t and w00t. Also
Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)
I'm fluent in Dutch actually. I have family in the Netherlands and spent about 13 years there. Kun jij ook Nederlands spreken? Groeten Fred On Tue, Jul 21, 2009 at 6:19 AM, David david.no...@gmail.com wrote: Fred, Do you speak Dutch or is it Google translate doing its job ? David On Tue, Jul 21, 2009 at 1:14 AM, Fred Sauerfre...@google.com wrote: Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in the App Gallery yet? http://gwtgallery.appspot.com/ Thanks for the suggestion for a global function to stop playing sounds. That seems pretty useful. Would you mind proposing it here? http://code.google.com/p/gwt-voices/issues/list Thanks Fred On Sat, Jul 18, 2009 at 5:10 AM, twdarkflame darkfl...@gmail.com wrote: Id use these libuarys a lot in a online adventure game engine under development (beta version here; http://www.cuyperscode.nl/CuypersCode2_betatest/CCIIstart.html (an educational game being developed with it, but the engine will be used for a lot more). You can see DnD used for the inventory and sound used all over the place. These libs are fantastic and have been much help. I'll be updateing to 1.7 now :) As for specific features, theres nothing really else I need. I guess a global stop/disable for sounds might be usefull though. -Thomas Wrobel On Jul 16, 4:08 am, Fred Sauer fre...@google.com wrote: Hi With GWT 1.7.0 out the door I thought it would be a good time to provide an update for gwt-dnd, gwt-log and gwt-voices. GWT 1.7 adds a new user agent deferred binding property value 'ie8' which is a breaking change for any project using user agent based deferred binding. To accommodate the new value all three libraries have a new version available for download. Links and additional details for the three projects can be found below. Before I talk about what's new for each of these projects though I'd like to take a moment to reach out and thank everyone who reported a bug, submitted a feature request or contributed a patch. It's really amazing how the efforts of individuals can be compounded for the benefit of all the developers in the community using these libraries and ultimately all the users of their apps. Thank you! While I have your attention, I'd like to express my interest in hearing more about how you are using these libraries in your web applications, what features you appreciate the most and which ones you think could use some improvement. In particular, I'm interested in how you might be using these libraries in team settings or in more complex development scenarios. It could be that you or one of your colleagues has built a library or higher level API on top of one of gwt-dnd, gwt-log or gwt-voices. Or that you collaborate with a group of developers on an enterprise application which has specific needs and requirements which aren't typically found in smaller application. Please send me an email. I'd very much like to hear what you're working on. I'm also interested in hearing about the apps you didn't build or couldn't convince your co-workers to build. Perhaps you're an avid GWT developer at nights and on the weekends, but you can't convince the rest of your team at work to take GWT for dry run. On to release notes: In each case, be sure to check the Compatibility Matrix (see links below) so that you're using the correct one wirth your version of GWT. *gwt-dnd-2.6.5.jar* - Drag-and-drop in the web browser A notable recent change is the now automatic scrolling into view during dragging. This should make dragging in the context of scrollbars a lot easier for your users. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/Drag... - Main project page -http://code.google.com/p/gwt-dnd/ - Release notes - http://code.google.com/p/gwt-dnd/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-dnd/wiki/GettingStarted(includes compatibility matrix) - Downloads -http://code.google.com/p/gwt-dnd/downloads/list - Building from trunk - http://code.google.com/p/gwt-dnd/wiki/UsingSourceWithEclipse *gwt-log-2.6.2.jar* - Client side logging with a very large number of features Recent changes include a fix for those of you trying to use gwt-log inside of GWTTestCase. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.log.demo.LogDemo/LogDemo.html - Main project page -http://code.google.com/p/gwt-log/ - Release notes - http://code.google.com/p/gwt-log/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-log/wiki/GettingStarted
Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)
I could take a peek if you send me the link. A screenshot might work as well. Fred On Tue, Jul 21, 2009 at 6:51 AM, twdarkflame darkfl...@gmail.com wrote: No, I can read -a little- but I dont speak it at all. Not yet anyway, I'll have to learn seeing as I'm living in the Netherlands, but I havnt been able to make time yet. Of course, that means I cant actually play test most of the game myself very well, but then, Ive made the engine so there's a pretty good separation between content and code. btw, any chance you could help a little with some problems Ive been having with the drag and drop system? On the inventory Ive noticed sometimes some items go over other items and Id like to avoid that. (I'm assuming DnD deals with this partly itself, as most of the time the items do avoid eachother, just occasionaly this fails). I tried implementing my own check for item under on release but had various problems. If you want I can privately send over a different link to the game engine so you can see the problem on more recent code. (the one on the beta test has the icons popping up afteer dragging, which I've already fixed). If you got no time, dont worry about it :) -Thomas On Jul 21, 3:19 pm, David david.no...@gmail.com wrote: Fred, Do you speak Dutch or is it Google translate doing its job ? David On Tue, Jul 21, 2009 at 1:14 AM, Fred Sauerfre...@google.com wrote: Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in the App Gallery yet? http://gwtgallery.appspot.com/ Thanks for the suggestion for a global function to stop playing sounds. That seems pretty useful. Would you mind proposing it here? http://code.google.com/p/gwt-voices/issues/list Thanks Fred On Sat, Jul 18, 2009 at 5:10 AM, twdarkflame darkfl...@gmail.com wrote: Id use these libuarys a lot in a online adventure game engine under development (beta version here; http://www.cuyperscode.nl/CuypersCode2_betatest/CCIIstart.html (an educational game being developed with it, but the engine will be used for a lot more). You can see DnD used for the inventory and sound used all over the place. These libs are fantastic and have been much help. I'll be updateing to 1.7 now :) As for specific features, theres nothing really else I need. I guess a global stop/disable for sounds might be usefull though. -Thomas Wrobel On Jul 16, 4:08 am, Fred Sauer fre...@google.com wrote: Hi With GWT 1.7.0 out the door I thought it would be a good time to provide an update for gwt-dnd, gwt-log and gwt-voices. GWT 1.7 adds a new user agent deferred binding property value 'ie8' which is a breaking change for any project using user agent based deferred binding. To accommodate the new value all three libraries have a new version available for download. Links and additional details for the three projects can be found below. Before I talk about what's new for each of these projects though I'd like to take a moment to reach out and thank everyone who reported a bug, submitted a feature request or contributed a patch. It's really amazing how the efforts of individuals can be compounded for the benefit of all the developers in the community using these libraries and ultimately all the users of their apps. Thank you! While I have your attention, I'd like to express my interest in hearing more about how you are using these libraries in your web applications, what features you appreciate the most and which ones you think could use some improvement. In particular, I'm interested in how you might be using these libraries in team settings or in more complex development scenarios. It could be that you or one of your colleagues has built a library or higher level API on top of one of gwt-dnd, gwt-log or gwt-voices. Or that you collaborate with a group of developers on an enterprise application which has specific needs and requirements which aren't typically found in smaller application. Please send me an email. I'd very much like to hear what you're working on. I'm also interested in hearing about the apps you didn't build or couldn't convince your co-workers to build. Perhaps you're an avid GWT developer at nights and on the weekends, but you can't convince the rest of your team at work to take GWT for dry run. On to release notes: In each case, be sure to check the Compatibility Matrix (see links below) so that you're using the correct one wirth your version of GWT. *gwt-dnd-2.6.5.jar* - Drag-and-drop in the web browser A notable recent change is the now automatic scrolling into view during dragging. This should make dragging in the context of scrollbars a lot easier for your users. More exciting
GWT App Gallery - it's for your apps, and your libraries too!
Hi- Do you have a cool GWT app or library you would like others to know about? Be sure to list it in the GWT App Gallery: http://gwtgallery.appspot.com/ I'd like to see your apps there too! -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)
Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in the App Gallery yet? http://gwtgallery.appspot.com/ Thanks for the suggestion for a global function to stop playing sounds. That seems pretty useful. Would you mind proposing it here? http://code.google.com/p/gwt-voices/issues/list Thanks Fred On Sat, Jul 18, 2009 at 5:10 AM, twdarkflame darkfl...@gmail.com wrote: Id use these libuarys a lot in a online adventure game engine under development (beta version here; http://www.cuyperscode.nl/CuypersCode2_betatest/CCIIstart.html (an educational game being developed with it, but the engine will be used for a lot more). You can see DnD used for the inventory and sound used all over the place. These libs are fantastic and have been much help. I'll be updateing to 1.7 now :) As for specific features, theres nothing really else I need. I guess a global stop/disable for sounds might be usefull though. -Thomas Wrobel On Jul 16, 4:08 am, Fred Sauer fre...@google.com wrote: Hi With GWT 1.7.0 out the door I thought it would be a good time to provide an update for gwt-dnd, gwt-log and gwt-voices. GWT 1.7 adds a new user agent deferred binding property value 'ie8' which is a breaking change for any project using user agent based deferred binding. To accommodate the new value all three libraries have a new version available for download. Links and additional details for the three projects can be found below. Before I talk about what's new for each of these projects though I'd like to take a moment to reach out and thank everyone who reported a bug, submitted a feature request or contributed a patch. It's really amazing how the efforts of individuals can be compounded for the benefit of all the developers in the community using these libraries and ultimately all the users of their apps. Thank you! While I have your attention, I'd like to express my interest in hearing more about how you are using these libraries in your web applications, what features you appreciate the most and which ones you think could use some improvement. In particular, I'm interested in how you might be using these libraries in team settings or in more complex development scenarios. It could be that you or one of your colleagues has built a library or higher level API on top of one of gwt-dnd, gwt-log or gwt-voices. Or that you collaborate with a group of developers on an enterprise application which has specific needs and requirements which aren't typically found in smaller application. Please send me an email. I'd very much like to hear what you're working on. I'm also interested in hearing about the apps you didn't build or couldn't convince your co-workers to build. Perhaps you're an avid GWT developer at nights and on the weekends, but you can't convince the rest of your team at work to take GWT for dry run. On to release notes: In each case, be sure to check the Compatibility Matrix (see links below) so that you're using the correct one wirth your version of GWT. *gwt-dnd-2.6.5.jar* - Drag-and-drop in the web browser A notable recent change is the now automatic scrolling into view during dragging. This should make dragging in the context of scrollbars a lot easier for your users. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/Drag... - Main project page -http://code.google.com/p/gwt-dnd/ - Release notes -http://code.google.com/p/gwt-dnd/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-dnd/wiki/GettingStarted(includes compatibility matrix) - Downloads -http://code.google.com/p/gwt-dnd/downloads/list - Building from trunk - http://code.google.com/p/gwt-dnd/wiki/UsingSourceWithEclipse *gwt-log-2.6.2.jar* - Client side logging with a very large number of features Recent changes include a fix for those of you trying to use gwt-log inside of GWTTestCase. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.log.demo.LogDemo/LogDemo.html - Main project page -http://code.google.com/p/gwt-log/ - Release notes -http://code.google.com/p/gwt-log/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-log/wiki/GettingStarted(includes compatibility matrix) - Downloads -http://code.google.com/p/gwt-log/downloads/list - Building from trunk - http://code.google.com/p/gwt-log/wiki/UsingSourceWithEclipse *gwt-voices-1.6.0.jar* - Cross platform browser sound support Recent change to allow streaming MP3 sounds to be replayed after sound.stop() has been called. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.voices.demo.VoicesDemo/Voi... - Main
Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)
Thomas, I've also listed your project here: http://code.google.com/p/gwt-voices/ http://code.google.com/p/gwt-dnd/ Fred On Mon, Jul 20, 2009 at 4:14 PM, Fred Sauer fre...@google.com wrote: Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in the App Gallery yet? http://gwtgallery.appspot.com/ Thanks for the suggestion for a global function to stop playing sounds. That seems pretty useful. Would you mind proposing it here? http://code.google.com/p/gwt-voices/issues/list Thanks Fred On Sat, Jul 18, 2009 at 5:10 AM, twdarkflame darkfl...@gmail.com wrote: Id use these libuarys a lot in a online adventure game engine under development (beta version here; http://www.cuyperscode.nl/CuypersCode2_betatest/CCIIstart.html (an educational game being developed with it, but the engine will be used for a lot more). You can see DnD used for the inventory and sound used all over the place. These libs are fantastic and have been much help. I'll be updateing to 1.7 now :) As for specific features, theres nothing really else I need. I guess a global stop/disable for sounds might be usefull though. -Thomas Wrobel On Jul 16, 4:08 am, Fred Sauer fre...@google.com wrote: Hi With GWT 1.7.0 out the door I thought it would be a good time to provide an update for gwt-dnd, gwt-log and gwt-voices. GWT 1.7 adds a new user agent deferred binding property value 'ie8' which is a breaking change for any project using user agent based deferred binding. To accommodate the new value all three libraries have a new version available for download. Links and additional details for the three projects can be found below. Before I talk about what's new for each of these projects though I'd like to take a moment to reach out and thank everyone who reported a bug, submitted a feature request or contributed a patch. It's really amazing how the efforts of individuals can be compounded for the benefit of all the developers in the community using these libraries and ultimately all the users of their apps. Thank you! While I have your attention, I'd like to express my interest in hearing more about how you are using these libraries in your web applications, what features you appreciate the most and which ones you think could use some improvement. In particular, I'm interested in how you might be using these libraries in team settings or in more complex development scenarios. It could be that you or one of your colleagues has built a library or higher level API on top of one of gwt-dnd, gwt-log or gwt-voices. Or that you collaborate with a group of developers on an enterprise application which has specific needs and requirements which aren't typically found in smaller application. Please send me an email. I'd very much like to hear what you're working on. I'm also interested in hearing about the apps you didn't build or couldn't convince your co-workers to build. Perhaps you're an avid GWT developer at nights and on the weekends, but you can't convince the rest of your team at work to take GWT for dry run. On to release notes: In each case, be sure to check the Compatibility Matrix (see links below) so that you're using the correct one wirth your version of GWT. *gwt-dnd-2.6.5.jar* - Drag-and-drop in the web browser A notable recent change is the now automatic scrolling into view during dragging. This should make dragging in the context of scrollbars a lot easier for your users. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/Drag... - Main project page -http://code.google.com/p/gwt-dnd/ - Release notes -http://code.google.com/p/gwt-dnd/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-dnd/wiki/GettingStarted(includes compatibility matrix) - Downloads -http://code.google.com/p/gwt-dnd/downloads/list - Building from trunk - http://code.google.com/p/gwt-dnd/wiki/UsingSourceWithEclipse *gwt-log-2.6.2.jar* - Client side logging with a very large number of features Recent changes include a fix for those of you trying to use gwt-log inside of GWTTestCase. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.log.demo.LogDemo/LogDemo.html - Main project page -http://code.google.com/p/gwt-log/ - Release notes -http://code.google.com/p/gwt-log/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-log/wiki/GettingStarted(includes compatibility matrix) - Downloads -http://code.google.com/p/gwt-log/downloads/list - Building from trunk - http://code.google.com/p/gwt-log/wiki/UsingSourceWithEclipse *gwt-voices-1.6.0.jar* - Cross platform browser sound support Recent change to allow streaming MP3 sounds
Re: GWT 1.7
GWT 1.7.0 adds a new user agent value for ie8 which causes this. Please try that latest gwt-log-2.6.2.jar from http://code.google.com/p/gwt-log/downloads/list Thanks Fred On Wed, Jul 15, 2009 at 10:47 AM, Scooter willi...@gmail.com wrote: Just upgraded to GWT 1.7 and ran into the following when trying to build with gwt-log. I already posted on the gwt-log discussion but wanted to put in the main GWT list for others using gwt-log. Thanks Scooter Compiling module edu.scripps.hddesktop.Main [ERROR] Errors in 'jar:file:/Users/Scooter/java/gwt-log/gwt- log-2.6.0.jar!/com/allen_sauer/gwt/log/client/util/DOMUtil.java' [ERROR] Line 32: Rebind result 'com.allen_sauer.gwt.log.client.util.impl.DOMUtilImpl' cannot be abstract [ERROR] Cannot proceed due to previous errors -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)
Hi With GWT 1.7.0 out the door I thought it would be a good time to provide an update for gwt-dnd, gwt-log and gwt-voices. GWT 1.7 adds a new user agent deferred binding property value 'ie8' which is a breaking change for any project using user agent based deferred binding. To accommodate the new value all three libraries have a new version available for download. Links and additional details for the three projects can be found below. Before I talk about what's new for each of these projects though I'd like to take a moment to reach out and thank everyone who reported a bug, submitted a feature request or contributed a patch. It's really amazing how the efforts of individuals can be compounded for the benefit of all the developers in the community using these libraries and ultimately all the users of their apps. Thank you! While I have your attention, I'd like to express my interest in hearing more about how you are using these libraries in your web applications, what features you appreciate the most and which ones you think could use some improvement. In particular, I'm interested in how you might be using these libraries in team settings or in more complex development scenarios. It could be that you or one of your colleagues has built a library or higher level API on top of one of gwt-dnd, gwt-log or gwt-voices. Or that you collaborate with a group of developers on an enterprise application which has specific needs and requirements which aren't typically found in smaller application. Please send me an email. I'd very much like to hear what you're working on. I'm also interested in hearing about the apps you didn't build or couldn't convince your co-workers to build. Perhaps you're an avid GWT developer at nights and on the weekends, but you can't convince the rest of your team at work to take GWT for dry run. On to release notes: In each case, be sure to check the Compatibility Matrix (see links below) so that you're using the correct one wirth your version of GWT. *gwt-dnd-2.6.5.jar* - Drag-and-drop in the web browser A notable recent change is the now automatic scrolling into view during dragging. This should make dragging in the context of scrollbars a lot easier for your users. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html - Main project page - http://code.google.com/p/gwt-dnd/ - Release notes - http://code.google.com/p/gwt-dnd/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-dnd/wiki/GettingStarted (includes compatibility matrix) - Downloads - http://code.google.com/p/gwt-dnd/downloads/list - Building from trunk - http://code.google.com/p/gwt-dnd/wiki/UsingSourceWithEclipse *gwt-log-2.6.2.jar* - Client side logging with a very large number of features Recent changes include a fix for those of you trying to use gwt-log inside of GWTTestCase. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.log.demo.LogDemo/LogDemo.html - Main project page - http://code.google.com/p/gwt-log/ - Release notes - http://code.google.com/p/gwt-log/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-log/wiki/GettingStarted (includes compatibility matrix) - Downloads - http://code.google.com/p/gwt-log/downloads/list - Building from trunk - http://code.google.com/p/gwt-log/wiki/UsingSourceWithEclipse *gwt-voices-1.6.0.jar* - Cross platform browser sound support Recent change to allow streaming MP3 sounds to be replayed after sound.stop() has been called. More exciting features can be found in trunk. - Demo site - http://allen-sauer.com/com.allen_sauer.gwt.voices.demo.VoicesDemo/VoicesDemo.html - Main project page - http://code.google.com/p/gwt-voices/ - Release notes - http://code.google.com/p/gwt-voices/wiki/ReleaseNotes - Getting Started Guide - http://code.google.com/p/gwt-voices/wiki/GettingStarted (includes compatibility matrix) - Downloads - http://code.google.com/p/gwt-voices/downloads/list - Building from trunk - http://code.google.com/p/gwt-voices/wiki/UsingSourceWithEclipse Thanks-- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT History Best Practices
Allahbaksh, Ray hinted at a 'Place' abstraction in the last few minutes of his I/O talk: http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html While there's no source code for this, you can get an idea of how this works by his description. In general I'd recommend uses history token in a few cases: 1. Application state which you'd like to be bookmarkable, e.g. 'currently viewing account for customer number 42' 2. Application state which you'd like to (at least partially) survive a full page refresh (or a browser crash + recovery :) 3. Application state you want to be accessible from the browser 'back' and 'forward' buttons HTH Fred On Tue, Jul 7, 2009 at 1:33 AM, Allahbaksh a.allahba...@gmail.com wrote: Hi, Is there any best practices or design for implementing History in an application. Regards, Allahbaksh -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to: create a web service
On Tue, Jul 7, 2009 at 7:21 AM, Eric erat...@gmail.com wrote: Greetings, I've been using the Google Web Toolkit for a while now and I'm at that point where I want to interface it with PHP so I can talk to a MySQL database. In the past, I've used a RequestBuilder object to get this information and that works okay. The code gets a little messy though by calling things that way. Have you looked eat this feature in trunk which let's have better control over the RPCs? http://code.google.com/p/google-web-toolkit/source/detail?r=5045 Fred I've been looking around but can't seem to find anything on creating my own GWT Web Service. I would like to have a web service interract with my MySQL database via PHP and then return some JSON text back to the client GWT app. I hope I said that right. Thanks for any help! -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Requestbuilder problems, would appreciate at least a short response
Amitabh, I would focus on getting the sample code to work as is, then figure out the differences between the sample code and your app. Fred On Tue, Jul 7, 2009 at 1:51 PM, Amitabh mathraw...@gmail.com wrote: Is there anything else I can try ? I'm running out of options. On Jul 6, 1:31 pm, Ian Bambury ianbamb...@gmail.com wrote: Hi, Have you got the line requestBuilder.setHeader(Content-Type, application/x-www-form-urlencoded); in there somewhere? Ian http://examples.roughian.com 2009/7/6 Amitabh mathraw...@gmail.com Thanks a lot Fred, for the response. I had given up on getting any response at all. Yes, I have read the examples from the docs and am getting a 200 response back, but the text is empty. Below is some code to give you an idea. requestBuilder.sendRequest(args.toString(), new RequestCallback() { @Override public void onResponseReceived( final Request request, final Response response) { String ret = response.getText(); External.logDebug( Received response to login : + response.getStatusCode() + + response.getStatusText() + : + response length = + ret.length() + + ret); I can see from the logs that the status code is 200, statustext is unknown, response length is 0, and the response is an empty string. In Fiddler, I can see that I did get a valid response with text in it. The header in fiddler says that the transfer encoding is of type chunked. I've tried to do various different searches on the web to find out if there is anything out there which says if chunked decoding is supported by gwt but i didn't find anything. I know that on the same machine, with the same browser sending the same request to the same URL, hand written javascript code works fine, but GWT generated javascript does not work. I am using ie6 as the string in my gwt. -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: 1.6 error with declaring servlets in inherited modules
Rahul I hope this helps: http://code.google.com/eclipse/docs/existingprojects.html Fred On Tue, Jul 7, 2009 at 12:52 PM, Rahul coolrahul18...@gmail.com wrote: Hi, I am getting the same warning. Anybody has an suggestions what might be wrong? On May 11, 6:29 pm, Thad thad.humphr...@gmail.com wrote: In attempting to move a widget from 1.5 to 1.6. I'm having problems with the servlet path. I have a module, ViewerWidget. In order to test this independently of other modules, I have Viewer, which inherits ViewerWidget andhasits own entry point. Under 1.5 I could run Viewer just fine. I could JAR up the module, and another module could inherit ViewerWidget without worry over the Viewer entry point. The servlet tags in to ViewerWidget's servlets in would be added to inheriting modulesweb.xml, for example servlet servlet-nameLiloServices/servlet-name servlet-classcom.optix.web.viewer.server.LiloServicesImpl/servlet- class /servlet servlet-mapping servlet-nameLiloServices/servlet-name url-pattern/servlet/liloServices/url-pattern /servlet-mapping However 1.6 does not like this naming. When I try to run Viewer, in hosted mode, I see errors like [WARN] Module declares a servlet class 'com.optix.web.viewer.server.LiloServicesImpl' with amappingto '/ com.optix.web.viewer.Viewer/servlet/liloServices', but theweb.xmlhasnocorrespondingmapping; please add the following lines to yourweb.xml: servlet-mapping servlet-nameLiloServices/servlet-name url-patternservlet/liloServices/url-pattern /servlet-mapping What gives? Adding the full class path does not help. Now an error comes back [WARN] 404 - POST /com.optix.web.viewer.Viewer//servlet/liloServices (127.0.0.1) 1435 bytes How should a modules RPC servlets be defined so they can be seen when inherited? -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: WindowClosingHandler
There's also a close handler which is called if the browser will close. If your app remains active they canceled the close. Fred On Tue, Jul 7, 2009 at 11:42 PM, NeMeSiS m.weish...@web.de wrote: Thanks for your answer. But how can I find out if the user pressed OK oder CANCEL? That was no problem with the WindowCloseListener. But its unfortunately deprecated now. Here is my Code: // React on window closing Window.addWindowClosingHandler(new Window.ClosingHandler() { @Override public void onWindowClosing(ClosingEvent event) { event.setMessage(You will be disconnected when you close this window!); //here something like: if(event.okClicked()) { disconnect(); } } }); TIA, NeMeSiS On 7 Jul., 21:44, Fred Sauer fre...@gmail.com wrote: NeMe, Try Window.addWindowClosingHandler() and Window.addCloseHandler() Fred On Mon, Jul 6, 2009 at 12:41 AM, NeMeSiS m.weish...@web.de wrote: Hello? Can anyone answer me please? On 1 Jul., 12:23, NeMeSiS m.weish...@web.de wrote: Hi all, I have a problem because the WindowCloseListener is deprecated und one should use the WindowClosingHandler. How is it used? How can I stop the closing of the window or at least do some actions before it closes? TIA, NeMeSiS -- Fred Sauer f...@allen-sauer.com -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: HTMLPanel still not rendering CSS in IE/Hosted
You can use ClientBundle's StyleInjector to reliably inject CSS at runtime. This is available in GWT trunk (so not in 1.6.4). Fred On Wed, Jul 8, 2009 at 7:52 AM, mjfan80 mjfa...@gmail.com wrote: I tried with IE (8) and chrome 2.0 it's not working with firefox is not working... why? is a serious problem On 4 Giu, 23:49, Andrew Perepelytsya apere...@gmail.com wrote: Referring to this gwt group discussionhttp://tr.im/nsSc, the problem is there with GWT 1.6.4. Is it some bug with IE or anything (I tried with IE 6), really a showstopper for many use cases. Andrew -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to decouple the application into multiple GWT modules?
Khoa, You can compile multiple modules into a single GWT output. This is in fact preferable since you get many savings w.r.t. script size which affect execution time and download time. You can have a single module which inherits all the modules you wish to include on your page. You then compile this single module. Fred On Wed, Jul 8, 2009 at 5:56 AM, Khoa Ngo ngovank...@gmail.com wrote: Hi all, I would like to decouple my application into multiple GWT modules. I use a main module to layout the UI structure: module rename-to='main' inherits name='com.google.gwt.user.User' / entry-point class='com.mycompany.MainWindow' / /module The MainWindow contains a MenuBar with a Home submenu and the getMenuBar() method that returns the menubar for child modules to reuse. Then I would like to create 3 child modules for Articles, Products, Contacts. module rename-to='articles' inherits name=com.google.gwt.user.User / inherits name=com.mycompany.MainWindow / entry-point class=com.mycompany.articles.Articles / /module The Articles class will getMenuBar() and add a submenu Articles into it. module rename-to='products' inherits name=com.google.gwt.user.User / inherits name=com.mycompany.MainWindow / entry-point class=com.mycompany.products.Products / /module The Products class will getMenuBar() and add a submenu Product into it. ... The problem is that, I can't group 3 modules above into one application. If the html page includes 3 generated javascript files, I get 3 submenu Home in the page. Because I have main.js that renders Home, and two sub modules articles and products that also renders Home since it inherits from the main. If I just include articles.js then Home isn't duplicated, but I loss the products.js. Anybody please lets me know if I can design my application following such way. Thanks and Best Regards, Khoa -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Failure in IE, Success in non-IE
Thanks, Shellum. It's try that you *should* only have a single element with any given id. Browser behavior is undefined. A browser may return the first element with that id, a randomly selected element or raise an error as you saw. Fred On Wed, Jul 8, 2009 at 1:31 PM, Shellum shel...@gmail.com wrote: Hi, I just spend some time finding a possible issue. I didn't see this anywhere in my Googling, so... It is possible to have everything in a GWT project work fine in Safari, Firefox, Chrome, but fail in IE6 or IE7. IE will show a Javascript error : Error: 'undefined' is null or not an object You can get this error if you happen to give the id attribute in both your html and your RootPanel code the same name as your project. Example: Project name: mytest File mytest.html: div id=mytest/div File MyTest.java: RootPanel.get(mytest).add(myPanel); This will fail only in IE browsers. If you simply change the text string in both places to be different than the project name, it will work in all browsers. I hope this helps. --Shellum -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: MVC and JUnit - how to handle handlers?
You might also look at the MVP pattern as Ray described: http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html Fred On Thu, Jul 9, 2009 at 4:22 AM, Miroslav Genov mgenov.j...@gmail.comwrote: You could create a mock view which is listening for such events. For example: class MockAddressView implements AddressView, HasValueChangeHandlers... { .. } and in your test: testUpdateUserDataNotifiesViewThatUserDataHasBeenUpdated() { HandlerManager eventBus = new HandlerManager(); AddressModel model = new AddressModel (eventBus); final MockAddressView view = new MockAddressView(eventBus); view.addValueChangeHandler(new ValueChangeHandler() { void onValueChange(ValueChangeEvetString event) { view.notified = true; } }); model.updateUserData(); assertTrue(view.isNotified()); } Regards, Miroslav corpios wrote: I'm designing an application following the MVC pattern. Each view have its own controller and model. The view know about the model and the controller. The controller know about the model. The Observer pattern is used to handle the model - view relation. The model notifies the view about changes in the model. When I try to unit test the application logic, i.e the controller and model, then I face a problem with the changehandlers. The model will try to update the view, but there is no view to update.. and as a result a NullPointerException is thrown. Does that tell me that I can't unit test application logic where the model send notifications to its observers? Or is there a better way to do this? BR Tor -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: history and motion chart
Bryan, History is implemented with history tokens, which is the portion after the '#' in the URL. This is not sent to the server and is used client side only. So while these are URLs, they're special and should work for the scenario you described. Fred On Fri, Jul 10, 2009 at 4:05 AM, twittwit ytbr...@gmail.com wrote: anybody has any idea on this ? On Jul 10, 1:29 am, imgnik ytbr...@gmail.com wrote: hi all, i want to implement history in my motion chart app. and basically i want to have a stack of history items that comprise of different motion chart. so basically as i have more motion chart ( different ones) my history stack increment and i can go forward and backward with the motion chart changing to the next and previous chart respectively. ( and hopefully in the same state where it was left in) but i really donno how to implement the history management for this? can someone advise me? i know the distribution contains example of history management. but those are mere hyperlinks. will it be the same for bigger widget like motion chart? or even maps? cheers bryan -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Traceroute
Have you looked at Charles Web Proxy or Firebug? On Thu, Jul 9, 2009 at 4:27 AM, giovaneoce...@hotmail.com giovaneoce...@hotmail.com wrote: Anyone knows a method to do tracerouting from client to a server? Thanks in advance -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Best Practices doubt
If you like it's fine to have two 'Command' classes. It's a choice of whether you want to deal with programmer confusion and IDE annoyances. However, both the Java and GWT compiler will be perfectly happy. Thanks Fred On Fri, Jul 10, 2009 at 7:50 AM, Kwhit kwhitting...@gmail.com wrote: Fair enough - ironically I just ran into the collision here. The other Command is a command pattern too. I would still prefer RpcCommand or the like but 'nuff said. Er... com.google.gwt.user.client.Command, used with MenuItem and DeferredCommand (which many apps make use of). -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Dropdown menu zoom problem in IE7
Waf, John just created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=3835 Thanks Fred On Fri, Jul 10, 2009 at 12:25 PM, waf wlod...@gmail.com wrote: Hi all, It looks like there is a problem with dropdown menu items in IE7 when control-+/- is used to zoom the page. When control-+ is used to zoom in the drop down menu items get out of sync with menu bar, and when control-- is used to zoom out the drop down menu items don't show at all. This can be checked for example in GWT Showcase. Is that a known issue? -- waf -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Horizontal tabs in a TabPanel
Bruce, Are you trying to support a RTL language? If so, the behavior should be automatic: http://gwt.google.com/samples/Showcase/Showcase.html?locale=ar Otherwise, you might be able to use a fake RTL attribute to quickly achieve the desired result. Haven't tried that myself though. Fred On Mon, Jun 29, 2009 at 11:52 PM, Bruce Choi choi.br...@gmail.com wrote: Just looked at some of the option avaliable, I think i'm going to add options into a stackpanel then putting the tabl panel and stackpanel into a dock panel. Just wondering how to incorporate it so everything looks awhole is it all done through a CSS? -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Add class to SerializationPolicy
Andrey, As you know, GWT uses its own serialization mechanism: http://code.google.com/webtoolkit/tutorials/1.6/RPC.html#serialize How are you using your custom serializer(s)? Thanks Fred On Tue, Jun 30, 2009 at 2:42 AM, Andrey mino...@gmail.com wrote: Hello, everyone! How can I add a class to SerializationPolicy directly? I don't want to reference it in Service class and I cannot refernce it as a non-transient member. I need this because this class is a member of another class having its own custom serializer and this class also has its own serializer. Both the classes have Object fields so they cannot be serialized as usual. Thanks in advance! -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Ctrl + s keyboard event in GWT
http://code.google.com/webtoolkit/tutorials/1.6/manageevents.html On Tue, Jun 30, 2009 at 3:16 AM, Saeed Zarinfam zarinfa...@gmail.comwrote: Hi I want to add Ctrl + s or Ctrl + xxx short key to my GWT program. please guide me. thanks. -- Fred Sauer f...@allen-sauer.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---