Re: App with hundreds of code splits won't finish compiling
I would split your app in several gwt modules if possible. Currently code splitting isn't optimal for such sizes. See Issue: 6612http://code.google.com/p/google-web-toolkit/issues/detail?id=6612 This is being worked on as we speak. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dMfpYC_xRvEJ. 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 Hosted mode with SSL enabled
The second proposition worked as a charm. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mCaEgo0mBjoJ. 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 Developer Plugin for Firefox 9
I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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. -- 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 Developer Plugin for Firefox 8
Ok FF9 is the most painful one so farI suspect it'll get worst. http://www.mediafire.com/?5tak1zzo6a3yvn0 Both Linux 64 and 32 should be working. I am still working on Windows and Mac. Don't install it on those platforms yet. -Alan On Thu, Dec 22, 2011 at 12:45 AM, tmy tmy.ha...@gmail.com wrote: Looking forward to the good news, but it is really annoying that the extension is incompatible after firefox upgrades every time, especially today firefox updates much more frequently. Anyway, thanks so much, Alan! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QFZOc9ohofMJ. 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. -- 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: App with hundreds of code splits won't finish compiling
On Thu, Dec 22, 2011 at 9:25 AM, Ed post2edb...@gmail.com wrote: I would split your app in several gwt modules if possible. Currently code splitting isn't optimal for such sizes. See Issue: 6612 This is being worked on as we speak. Two things: 12 MB sounds really really really large. We got some really large apps up and running and they always were below 2MB. Not sure - maybe there is potential for optimization. The other thing is: Hundreds of code splits sound really large. How big are your split points? I assume they are rather small. And if they are too small the whole notion of code splitting does not make sense. Maybe you could study the soyc and split your app into several modules with acceptable sizes to balance download size and number of split points... Best, Raphael -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dMfpYC_xRvEJ. 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. -- inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.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 Developer Plugin for Firefox 8
I can't remember if it had been said in this thread already or not, but the GWT team is working on a replacement for the DevMode that would work without browser plugin (think Dart's frog serverhttp://turbomanage.wordpress.com/2011/12/09/dart-dev-mode-cometh/, Closure script https://github.com/dturnbull/closure-script, and I believe I saw something similar for CoffeeScript, but cannot find it back): https://plus.google.com/s/gwt%20super%20draft%20mode (along with http://code.google.com/p/google-web-toolkit/source/detail?r=10767) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sQMIXHyznEMJ. 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: App with hundreds of code splits won't finish compiling
FYI: I am working on re-writting the code splitting algorithm: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java Soon I'll be checking in an experimental -X flag that let people use the new algorithm. I can see why there isn't going to be enough memory to do code splitting with 100+ split points. The currently code splitter needs to run 100 control flow analysis on the whole program while keeping the result in memory. The new algorithm should be able to avoid that but I am not 100% certain it can handle your application without doing some tests / experimentation. -Alan On Thu, Dec 22, 2011 at 9:32 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Thu, Dec 22, 2011 at 9:25 AM, Ed post2edb...@gmail.com wrote: I would split your app in several gwt modules if possible. Currently code splitting isn't optimal for such sizes. See Issue: 6612 This is being worked on as we speak. Two things: 12 MB sounds really really really large. We got some really large apps up and running and they always were below 2MB. Not sure - maybe there is potential for optimization. The other thing is: Hundreds of code splits sound really large. How big are your split points? I assume they are rather small. And if they are too small the whole notion of code splitting does not make sense. Maybe you could study the soyc and split your app into several modules with acceptable sizes to balance download size and number of split points... Best, Raphael -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dMfpYC_xRvEJ. 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. -- inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.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. -- 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: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)
Thanks, I will respond in your cross thread. https://groups.google.com/d/topic/google-plugin-eclipse/Y98g6M-fYg0/discussion Mathieu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9xx2Eat27NcJ. 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: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)
Hello David, I refilled the issue there : https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=39 I didn't fill it there the first time because I didn't found that project when looking for google eclipse plugin. When looking for the plugin project, I found that page : https://code.google.com/eclipse/ In the community page, you can read : Since the Google Plugin for Eclipse is designed for use with Google Web Toolkit and App Engine, feel free to discuss it on any one of these related groups. If your question or idea deals with GWT or App Engine-related features in the plugin, you'll want to bring it up on the corresponding group. - *App Engine for Java* - Go to the group: google-appengine-javahttp://groups.google.com/group/google-appengine-java - Subscribe via email: google-appengine-java-subscr...@googlegroups.com - *Google Web Toolkit* - Go to the group: Google-Web-Toolkithttp://groups.google.com/group/Google-Web-Toolkit - Subscribe via email: google-web-toolkit-subscr...@googlegroups.com and If you've found a bug in the plugin (it's always possible), or if you have a feature request, please let us know. The Google Plugin for Eclipse team reviews the issues reported in both the Google Web Toolkit and Google App Engine issue trackers, so you can report your issue in either one and we'll be sure to see it. Please take a moment before posting and check whether your issue has already been entered. If an issue has already been reported, you can add comments or star it to show your interest and keep track of it. - Google Web Toolkit issue trackerhttp://code.google.com/p/google-web-toolkit/issues - Google App Engine issue trackerhttp://code.google.com/p/googleappengine/issues I think that project should be updated to refer to the real project page you linked me, and the correct discussion group. Thanks, Mathieu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KTSPPJJ9CoIJ. 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: Clearing cache of fileupload widget.
The only way to clear an input type=file (or FileUpload widget in GWT) is to reset() the enclosing form (FormPanel). If that's not possible, then you'll have to replace the FileUpload with a newly created one (this is what I did years ago, works great) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-lnJtAbV9xUJ. 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: App with hundreds of code splits won't finish compiling
@Alan: good news I am starting to think that I am making baby app's with only around 5-10 split points and 1.5MB (unzipped) initial load ;) On Thu, Dec 22, 2011 at 10:44 AM, Alan Leung acle...@google.com wrote: FYI: I am working on re-writting the code splitting algorithm: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java Soon I'll be checking in an experimental -X flag that let people use the new algorithm. I can see why there isn't going to be enough memory to do code splitting with 100+ split points. The currently code splitter needs to run 100 control flow analysis on the whole program while keeping the result in memory. The new algorithm should be able to avoid that but I am not 100% certain it can handle your application without doing some tests / experimentation. -Alan On Thu, Dec 22, 2011 at 9:32 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Thu, Dec 22, 2011 at 9:25 AM, Ed post2edb...@gmail.com wrote: I would split your app in several gwt modules if possible. Currently code splitting isn't optimal for such sizes. See Issue: 6612 This is being worked on as we speak. Two things: 12 MB sounds really really really large. We got some really large apps up and running and they always were below 2MB. Not sure - maybe there is potential for optimization. The other thing is: Hundreds of code splits sound really large. How big are your split points? I assume they are rather small. And if they are too small the whole notion of code splitting does not make sense. Maybe you could study the soyc and split your app into several modules with acceptable sizes to balance download size and number of split points... Best, Raphael -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dMfpYC_xRvEJ. 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. -- inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.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. -- 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. -- 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: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)
Hi Mathieu, Thanks for pointing out the inconsistency in the community page. We will fix that soon and make sure it points to the right project page/issue tracker. Cheers, Sriram On Thu, Dec 22, 2011 at 3:32 PM, Mathieu Clavel math.cla...@gmail.comwrote: Hello David, I refilled the issue there : https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=39 I didn't fill it there the first time because I didn't found that project when looking for google eclipse plugin. When looking for the plugin project, I found that page : https://code.google.com/eclipse/ In the community page, you can read : Since the Google Plugin for Eclipse is designed for use with Google Web Toolkit and App Engine, feel free to discuss it on any one of these related groups. If your question or idea deals with GWT or App Engine-related features in the plugin, you'll want to bring it up on the corresponding group. - *App Engine for Java* - Go to the group: google-appengine-javahttp://groups.google.com/group/google-appengine-java - Subscribe via email: google-appengine-java-subscr...@googlegroups.com - *Google Web Toolkit* - Go to the group: Google-Web-Toolkithttp://groups.google.com/group/Google-Web-Toolkit - Subscribe via email: google-web-toolkit-subscr...@googlegroups.com and If you've found a bug in the plugin (it's always possible), or if you have a feature request, please let us know. The Google Plugin for Eclipse team reviews the issues reported in both the Google Web Toolkit and Google App Engine issue trackers, so you can report your issue in either one and we'll be sure to see it. Please take a moment before posting and check whether your issue has already been entered. If an issue has already been reported, you can add comments or star it to show your interest and keep track of it. - Google Web Toolkit issue trackerhttp://code.google.com/p/google-web-toolkit/issues - Google App Engine issue trackerhttp://code.google.com/p/googleappengine/issues I think that project should be updated to refer to the real project page you linked me, and the correct discussion group. Thanks, Mathieu -- Sriram Saroop | Product Manager, Google | +91-9900065945 -- 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.
importing project to eclipse, GWT plugin error.
Hi im getting an error when i try to import a project using the GWT plugin in eclipse via SVN from project hosting. the error is Project Hosting. reason: com.google.api.client.http.HttpResponseException: 503 Service Unavailable. i have this error on both my main desktop and my laptop and a teacher of mine has the same problem. when I import a project just using subclipse SVN import it works fine and i get no error. anyone having the same error? or know how to fix it? -- 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: Help! com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details
It looks like you have attached partial logs. This problem mostly comes due to serialization issues. On Dec 19, 4:00 pm, Qian ZHAO z.qi...@gmail.com wrote: Hello, Everyone, I'm a new, just start learning GWT, and, here, I met one error when I want to integrate GWT and Hiobernate, and here it is the error messages, 11:40:32.429 [ERROR] [testgwt] Can't access database com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv ed(RequestCallbackAdapter.java: 209) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.jav a: 172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo rReturn(BrowserChannelServer.java: 337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann elServer.java: 218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j ava: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.jav a: 172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne lServer.java: 292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 363) at java.lang.Thread.run(Unknown Source) is there any one that has ever met this error? what should I do to solve it? thank 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.
Re: GWT Developer Plugin for Firefox 8
thank u, nice work. the next Firefox9... 2011/11/9 Alan Leung acle...@google.com Hi all: I just finished building / testing the FF8 dev mode plugin for Linux 32 bit (http://www.sendspace.com/file/h8wgmn) More to come tomorrow. Again, if you are using FF8 already. I'd greatly appreciate if you give that a try and let me know when you see anything weird. -Alan -- 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. -- Yours Alan -- 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.
How to get hold of the instance in an InstanceRequest
Hi, I'm implementing an InstanceRequest on the server side in a dedicated service class, which is annotated as Service in the RequestContext. This works fine, but how can I get a reference to the instance of the entity, on which I need to operate? The background of my question is, that the entity returns enum types that must be adapted for the client. My idea is to implement these adapter methods as instance methods in a service class. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/27CzE0KZjksJ. 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 Developer Plugin for Firefox 9
Hello, I'm looking for a mac version ;-) I tried to compile it myself but have not yet succeeded. Is there a how to somewhere ? Thank u! Olivier. -- 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.
problem with PersistenceManager singleton on sdk 1.6.0 and 1.6.1
Hi everyone, ever since i updated to 1.6.0 and then to 1.6.1 my doesn't work anymore. on 1.5.5 it runs with out a problem. when i run my app in dev mode on eclipse I get the error: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void com.skip.school.client.service.AdminService.addStudent(com.skip.school.shared.Student)' threw an unexpected exception: java.lang.NoClassDefFoundError: Could not initialize class com.skip.school.server.PmfSingleton Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.skip.school.server.PmfSingleton Tthe full log eclipse log can be found here http://pastebin.com/EJTvQYrb . The java code im using in the singleton can be found here http://code.google.com/p/skip-school/source/browse/trunk/src/com/skip... The call I use to the PMF class is like this: PersistenceManager pm = PmfSingleton.get().getPersistenceManager(); The import in all the classes are correct. com.skip.school.server.PmfSingleton Can anyone explain why mij Pmf class isn't getting initialized in version 1.6.0 and 1.6.1. and also point me in the direction on how to fix this? Greetings Dylan. -- 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.
SmartGWT 3.0 support
Does anyone know if and when GWT Designer will support SmartGWT 3.0 in the future. After installing SmartGWT 3.0 the designer stopped working an says: WindowBuilder supports only SmartGWT versions 2.4, 2.5. But 3.0 found Thanks for your thoughts. -- 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: SmartGWT 3.0 support
That will depend on the SmartGWT developers (or any community members that want to use it). We (Google) have no plans to provide support for SmartGWT 3.0 on our end. Support for SmartGWT 3.0 is a big project, and now that GWT Designer is open source along with the rest of GPE, this is a project more appropriate for the SmartGWT team to undertake (and I encourage you to suggest to them that they do this). In fact, our position going forward is that 3rd party component providers should provide GWTD support on their end as they are in the best position to do so. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DVD7UhTiKpAJ. 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 Developer Plugin for Firefox 9
Hi, In Windows XP, the plugin doesn't work. Juan El 22 de diciembre de 2011 06:30, Alan Leung acle...@google.com escribió: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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. -- 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. -- 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 Developer Plugin for Firefox 8
Alright, FF9 tested on all OS. Let me know if you run into any problems. http://www.mediafire.com/?831pp1kk5p8kgjd -Alan On Thu, Dec 22, 2011 at 7:49 AM, Alan alan.q.y...@gmail.com wrote: thank u, nice work. the next Firefox9... 2011/11/9 Alan Leung acle...@google.com Hi all: I just finished building / testing the FF8 dev mode plugin for Linux 32 bit (http://www.sendspace.com/file/h8wgmn) More to come tomorrow. Again, if you are using FF8 already. I'd greatly appreciate if you give that a try and let me know when you see anything weird. -Alan -- 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. -- Yours Alan -- 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. -- 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 Developer Plugin for Firefox 9
Alright, FF9 tested on all OS. Let me know if you run into any problems. http://www.mediafire.com/?831pp1kk5p8kgjd -Alan On Thu, Dec 22, 2011 at 12:17 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi, In Windows XP, the plugin doesn't work. Juan El 22 de diciembre de 2011 06:30, Alan Leung acle...@google.comescribió: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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. -- 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. -- 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. -- 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 Developer Plugin for Firefox 9
thanks Alan! On Thu, Dec 22, 2011 at 9:29 AM, Alan Leung acle...@google.com wrote: Alright, FF9 tested on all OS. Let me know if you run into any problems. http://www.mediafire.com/?831pp1kk5p8kgjd -Alan On Thu, Dec 22, 2011 at 12:17 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi, In Windows XP, the plugin doesn't work. Juan El 22 de diciembre de 2011 06:30, Alan Leung acle...@google.comescribió: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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. -- 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. -- 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. -- 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 Developer Plugin for Firefox 9
Woh, so fast. It works on XP, thanks Alan!! El 22 de diciembre de 2011 09:29, Alan Leung acle...@google.com escribió: Alright, FF9 tested on all OS. Let me know if you run into any problems. http://www.mediafire.com/?831pp1kk5p8kgjd -Alan On Thu, Dec 22, 2011 at 12:17 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi, In Windows XP, the plugin doesn't work. Juan El 22 de diciembre de 2011 06:30, Alan Leung acle...@google.comescribió: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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. -- 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. -- 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. -- 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. -- 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 get hold of the instance in an InstanceRequest
I think you don't understand what InstanceRequest means vs. Request. InstanceRequest means the method will be called on the domain object corresponding to the proxy passed as argument (referenced by its @ProxyFor annotation), so the instance of the entity is this. Request, on the other hand, means the method will be called on the class referenced by the @Service annotation. Whether there's an instance of the service class or the method is static depends on whether there is a ServiceLocator for the service (similarly to entities that must have a findXxx static method, a no-arg constructor, and a getId and getVersion instance methods, unless there is a Locator for the entity class). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hXqB698o5jcJ. 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: IE 8 and status code error 12030 - 12152 Options IE 8 and status code error 12030 - 12152 Options IE 8 and status code error 12030 - 12152 Options
Hi Khan I would like to say good job on your complete analyse of the problem. Well we have this problem too in our project. But it only occurred in production because of their network latency nature. Have you managed to reproduce it during the test ? If you have, how do you do that ? Regards. On Dec 14, 6:01 pm, Khan khan.mich...@gmail.com wrote: The status code in the error is the status code returned by IE after our application client (browser) submits a post request. Besides the status code 12031, we've also experienced codes, 12030,12152, etc. These codes are returned from the Windows Internet application programming (WinInet) API from windows OS. Here is a linkhttp://support.microsoft.com/kb/193625to see all about the WinInet error codes. Most of these error translate to something like 'client connection with the server is terminated'. Below is a screen shot of what I saw debugging using HTTPWatch. This error is not reproducible at will but is commonly reproducible after few minutes of activity on the web. This only happens with IE ( so far all versions). Supposed to be fixed in later version of IE. I can't cut and paste the image here from HTTP Watch but I will type it 00:00:51.411 2.230 0 POST ERROR_HTTP_INVALID_SERVER_RESPONSE * https://domainname/contextroot/remote/event Notice the '0' as the size of the content , the error message and the * for the content type for this request that failed. IE browser is running into issues with the HTTP 1.1 keep alive and persistent connection feature. HTTP persistent connection is the feature to reuse the same TCP connection to send and receive multiple HTTP requests/response. For more detail seehttp://en.wikipedia.org/wiki/HTTP_persistent_connection. The connection could be open or keep alive by a set amount of time defined by the web server and ours is set to 10 seconds in our environments. Given that there is a known bug in IE which causes the body from the POST requests to go missing if the server reset the connection -the problem may be happening when a POST request is made right before the keep-alive time-out expires and there is a slight network latency - the web server will reset the connection and force IE to resend the request. This time IE will forget to send the body(See size 0 above) but will still send the old content-length in the Header (see sent header below). This makes the server waiting for the body to arrive until a read time-out occurs and eventually we get the error. You may read this explanation also herehttp://www.eggheadcafe.com/software/aspnet/35848769/xmlhttprequest-po... . Also this issue causes random error 500 in Apache server (seehttp://www.experts-exchange.com/Software/Server_Software/Web_Servers/... ) and we've also experienced issues with random error 500 - this could be the same cause. Header information for the above failed request* (Request-Line) POST / MyRx/remote/event HTTP/1.1 Accept */* Accept-Encoding gzip, deflate Accept-Language en-us Cache-Control no-cache Connection Keep-Alive Content-Length 398 - *notice this content length Content-Type text/x-gwt-rpc; charset=utf-8 ... Solution options Increase the web server keep alive time out. This may have an adverse side effect on request throughput of the web server. Generally set for a value between 5-10. We increased it to 20 without any adverse effect. Inject the KeepAlive:none parameter in the header for long running requests Some retry mechanism to identify these failed requests and resubmit them without user knowledge Hope IE fixes this issue some time. -- 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 Developer Plugin for Firefox 9
On 12/22/2011 2:30 AM, Alan Leung wrote: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan Whatever they're paying you, it ain't enough. Thanks, jec On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de mailto:kloe...@ics.de wrote: it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- 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 mailto:google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-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-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. -- 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: App with hundreds of code splits won't finish compiling
Granted, it is a pretty big project, it has about 800 activities, 150 EntityProxy types, 100 Request objects, and uses all the goodness of the RequestFactory and UiBinder for all of it. (There is a ton of inheritance so most of those activities are only 50-100 lines of code. Only the object-specific code in each remains, at least until http://code.google.com/p/google-web-toolkit/issues/detail?id=6794 is fixed) The current split points are on each top-level domain object, each of which contain about 5-10 activities. Each generates about 50-150kb of JS when they work. The idea was that the user would have a small initial download, and then a slight delay each time they hit a new object type they hadn't used before. I guess I could move the splits to the package level in the object hierarchy and only have about 8 split points, each with about 100 activities. That should leave the initial download the same, but have a bigger run-time hit when the user crosses that boundary. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FKtXxh5GrC0J. 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.
ListEditor with inheritance
There are a few posts asking about Editor's discussing inheritance this but no responses as of yet. Please keep in mind that I have search google.com/codesearch, GWT issue tracker and google groups looking for some kind of solution to using Editor's with inheritance. // This is my base data provider class that all other implementations will inherit from. @ProxyFor(value = DataProvider.class, locator = DatastoreObjectLocator.class) public interface DataProviderProxy extends ValueProxy { public enum DataProviderType { SQL, R_Command } public String getVariableName(); public void setVariableName(String variableName); } // This is a simple example that inherits from DataProvider and adds a single sql statement. @ProxyFor(value = SqlDataProvider.class, locator = DatastoreObjectLocator.class) public interface SqlDataProviderProxy extends DataProviderProxy { public String getSqlStatement(); public void setSqlStatement(String sqlStatement); } // This is the class that I am editing. @ProxyFor(value = Report.class, locator = DatastoreObjectLocator.class) public interface ReportProxy extends DatastoreObjectProxy { ... /** * List of all data providers for this report. * @return */ public ListDataProviderProxy getDataProviders(); /** * Setter for all data providers. * @param dataProviders */ public void setDataProviders(ListDataProviderProxy dataProviders); ... } // My report editor that is editing my List of DataProvider objects. public class ReportBuilderViewImpl extends ViewImpl implements ReportBuilderView, EditorReportProxy { ... /** * Editor for the data provider object contained in the {@link ReportProxy}. */ @UiField @Path(dataProviders) DataProviderListEditor dataProviderEditor; ... } // This class is a work in progress but essentially what I am trying to do is to Edit a list of DataProviderProxy // objects, but when I get to an object of type SqlDataProvider I want to show the user the optional TextArea that // they can past their sql statement. In the same editor if the DataProvider is an instanceof RDataProvider ( not // shown above) I would want to give the user the option of editing an R command and not the sqlStatement. I // have tried adding Generics but ran into compilation issues when Editor validation was running. Is there any kind of elegant solution to the problem I am trying to solve? public class DataProviderListEditor extends Composite implements IsEditorListEditorDataProviderProxy, DataProviderEditor { private class DataProviderSource extends EditorSourceDataProviderEditor { @Override public DataProviderEditor create(int index) { DataProviderEditor editor = new DataProviderEditor(); container.insert(editor, index); return editor; } /** * Call this to remove an editor from the view. */ @Override public void dispose(DataProviderEditor editor) { editor.removeFromParent(); } @Override public void setIndex(DataProviderEditor editor, int index) { container.insert(editor, index); } } /** * This is the default view for our widgets. * * @author chinshaw * */ @UiTemplate(DataProviderEditor.ui.xml) public interface Binder extends UiBinderWidget, DataProviderEditor { } /** * This is the actual widget that edits our data provider proxy. It will * handle flushing and so forth. * * @author chinshaw * */ public static class DataProviderEditor extends Composite implements ValueAwareEditorDataProviderProxy { private DataProviderProxy value = null; @UiField TextBox variableName; @UiField TextArea sqlStatement; public DataProviderEditor() { initWidget(GWT.Binder create(Binder.class).createAndBindUi(this)); } @Override public void setDelegate(EditorDelegateDataProviderProxy delegate) { // TODO Auto-generated method stub } /** * Indicates that the Editor cycle is finished. This method will be * called in a depth-first order by the EditorDriver, so Editors do not * generally need to flush their sub-editors. */ @Override public void flush() { } /** * Notifies the Editor that one or more value properties have changed. * Not all backing services support property-based notifications. * * @param paths *a list of String paths */ @Override public void onPropertyChange(String... paths) { } /** * Called by the EditorDriver to set the object the Editor is peered * with * p * ValueAwareEditors should preferentially use sub-editors to
Re: Help! com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details
start by looking for any uncaught exception on the server On Dec 19, 6:00 am, Qian ZHAO z.qi...@gmail.com wrote: Hello, Everyone, I'm a new, just start learning GWT, and, here, I met one error when I want to integrate GWT and Hiobernate, and here it is the error messages, 11:40:32.429 [ERROR] [testgwt] Can't access database com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv ed(RequestCallbackAdapter.java: 209) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.jav a: 172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo rReturn(BrowserChannelServer.java: 337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann elServer.java: 218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j ava: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.jav a: 172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne lServer.java: 292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 363) at java.lang.Thread.run(Unknown Source) is there any one that has ever met this error? what should I do to solve it? thank 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.
Re: App with hundreds of code splits won't finish compiling
I guess I could move the splits to the package level As you might have notices you have to choose your split points with care as otherwise you shoot yourself in the foot. Having more split points doesn't necessary means a better app. A few rules of thumbs for adding split points: - A split point contains a considerable amount of the total app size. For example: 10%. - The split point contains code that corresponds to an isolated functionality chunk. Uses the generated soyc report for split point optimization. On Thu, Dec 22, 2011 at 4:04 PM, Eric Andresen ericandre...@gmail.comwrote: Granted, it is a pretty big project, it has about 800 activities, 150 EntityProxy types, 100 Request objects, and uses all the goodness of the RequestFactory and UiBinder for all of it. (There is a ton of inheritance so most of those activities are only 50-100 lines of code. Only the object-specific code in each remains, at least until http://code.google.com/p/google-web-toolkit/issues/detail?id=6794 is fixed) The current split points are on each top-level domain object, each of which contain about 5-10 activities. Each generates about 50-150kb of JS when they work. The idea was that the user would have a small initial download, and then a slight delay each time they hit a new object type they hadn't used before. I guess I could move the splits to the package level in the object hierarchy and only have about 8 split points, each with about 100 activities. That should leave the initial download the same, but have a bigger run-time hit when the user crosses that boundary. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FKtXxh5GrC0J. 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. -- 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 set a Presenter in a composite Widget?
I'm still confused here. Maybe I didn't spell out things. I have more details on this question here: http://stackoverflow.com/questions/8580225/how-to-set-a-presenter-in-a-composite-widget-in-gwt Basically, I'm using clientFactory to bind an Activity(Presenter) to a viewImpl. I have a viewImpl and in the ViewImpl.ui.xml I have a reference to a widget class: MUpld, which contains a gwtUpload widget. I have a fileUploadServlet defined in the web.xml that gets called when the file upload starts. The servlet gets data from the widget and returns it back to the MUpld class, which is the composite widget, nested into the ViewImpl.ui.xml file. Everything is in place, but now, I need some way to get the instance of the Presenter, the Activity class that the clientFactory created and bound the view, from inside the composite widget. It's probably really simple, I'm just not still seeing how to do it. I'm using GWT 2.4 and the last project I worked on, we just used GIN to inject the presenter into the composite widget. I may have to rewrite this to add GIN in and take out the clientFactory, I was just not wanting to do that for sake of time as I have setup GIN in an app before. My composite widget class is defined in the viewImp as: @UiField = MUpld mUpld; and in hte MUpld class I define a handler, using an inner class in the constructor like so: public MUpld() { IUploader.OnFinishUploaderHandler onFinishUploaderHandler = new IUploader.OnFinishUploaderHandler() { public void onFinish(IUploader uploader) { if (uploader.getStatus() == Status.SUCCESS){ ... // presenter.setRowDataList(rowData); } } }; initWidget(uiBinder.createAndBindUi(this)); uploader.addOnFinishUploadHandler(onFinishUploaderHandler); On Dec 21, 8:53 am, David levy...@gmail.com wrote: Many ways to do this. ViewImpl.ui.java will have a binding for the composite widget So you can simply pass the presenter or the instance of ViewImpl.ui.java to the composite widget. @UiField MyCompositeWidget theWidget; .. theWidget.setParent(this) Or you can use @UiField(provided=true) , @UiConstructor , or @UiFactory. see:http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html On Dec 20, 1:37 pm, James Drinkard jdrinka...@gmail.com wrote: Hello All, I have a GWT 2.4 app using MVP, clientFactory, activities, places, and uiBinder. I have a composite widget that I created as a standalone object with it's own ui.xml file. I reference that class and insert it into the main viewImpl.ui.xml file. The composite widget receives some data from the backend and I need to get it back to the activity so it can be displayed in a table. I'm using the presenter that is associated with the view to get to the activity. Here is the code: In the View interface: public interface NameView extends IsWidget { void setPresenter(Presenter presenter); ... public interface Presenter{ void goTo(Place place); void setRowDataList(ListData rowData); } In my Activity I implement the View.Presenter as in: Activity extends AbstractActivity implements NameView.Presenter and in the start method for the activity I use: NameView nameView = clientFactory.getNameView();//NameView is just an example. nameView.setPresenter(this); ... to setup the presenter and instantiate it. My problem is, in the widget I need this: presenter.setRowDataList(rowData); but I'm not sure how to reference the instantiated Presenter from the widget? I know GIN would do it, but I'm not using that in the app as I've never setup GIN with GWT. Any ideas as to the correct way to do this? -- 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.
Closure compiler integration
I can see there is some work going on to integrate the closure compiler as a back end to the GWT compiler. Apparently this can give a 20% code reduction. I am curious why such a big decrease. GWT and the closure compiler seem to do very similar optimizations so why is the closure compiler so much better? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/z6L0mOMIBi4J. 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.
HasCell interface and setFieldUpdater(FieldUpdaterT, C)
Anyone know if there is a reason as to why HasCell does not have setFieldUpdater(FieldUpdaterT, C)? I had to use Column in my Presenter Display to add a FieldUpdater because this funciton is missing from the interface. Thanks, Pat -- 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: ListEditor with inheritance
First, have you seen http://code.google.com/p/google-web-toolkit/issues/detail?id=6719 ? In your case, I think you could do it quite easily by: 1. not having the TextArea as a sub-editor 2. implementing ValueAwareEditor to push to the TextArea and make it visible when the value is a SqlDataProvider in setValue, and pull from it and push to the value in flush(); and similar things for other kinds of values. That unfortunately won't scale very well as you add other DataProvider subclasses. FWIW, in a similar scenario, we chose to not use the Editor framework and handle everything by hand instead (but we had another challenge: some structures are recursive; i.e. we could have a DataProvider that would contain other DataProvider). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EsCldOjAMBgJ. 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: Remote Logging
Ed, thanks for your reply! The log data is now being directed to my logback files on the server, but I still have one remaining issue. I noticed that all of the java.util.logging get additionally logged to my Tomcat console. Any native logback logging statements do not. So, with the introduction of the SLF4JBrideHandler.install() method, do you know of a way to suppress the java.util.logging output on the Tomcat console yet still allow it to be directed to the logback files? On Dec 21, 2:12 pm, Ed Bras post2edb...@gmail.com wrote: Make sure you correctly install the jul bridge: SLF4JBridgeHandler.install() when your app starts. See:http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html If that doesn't work, then debug it, and you will quickly find out what goes wrong. On Wed, Dec 21, 2011 at 8:54 PM, Keith Bennett keith.benn...@forthwind.comwrote: Ed, I have followed all of the guidelines as documented in the first link you sent. Again, I am able to direct the log output to my logback-managed files, but only if I use the RemoteLoggingServiceImpl and RemoteLoggingServiceUtil custom classes I created that use the slf4j Logger and LogFactory classes. I know that these classes use java.util.logging as Thomas first mentioned. If I can get the slf4j bridge configured, I am assuming that I can use the GWT versions of these classes instead of mine. All I'm trying to figure out now is how to properly configure the slf4j bridge as Thomas indicated I should do. I have referenced instructions listed at http://www.slf4j.org/legacy.html. Is there anything more I need to do other than including the jul-to- slf4j jar as a dependency? On Dec 21, 1:41 pm, Ed post2edb...@gmail.com wrote: Have a look at: + gwt logging: http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html + gwt-log:http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-log/ -- 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. -- 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: Remote Logging
Google is your friend: http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api On Thu, Dec 22, 2011 at 6:44 PM, Keith Bennett keith.benn...@forthwind.comwrote: Ed, thanks for your reply! The log data is now being directed to my logback files on the server, but I still have one remaining issue. I noticed that all of the java.util.logging get additionally logged to my Tomcat console. Any native logback logging statements do not. So, with the introduction of the SLF4JBrideHandler.install() method, do you know of a way to suppress the java.util.logging output on the Tomcat console yet still allow it to be directed to the logback files? On Dec 21, 2:12 pm, Ed Bras post2edb...@gmail.com wrote: Make sure you correctly install the jul bridge: SLF4JBridgeHandler.install() when your app starts. See:http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html If that doesn't work, then debug it, and you will quickly find out what goes wrong. On Wed, Dec 21, 2011 at 8:54 PM, Keith Bennett keith.benn...@forthwind.comwrote: Ed, I have followed all of the guidelines as documented in the first link you sent. Again, I am able to direct the log output to my logback-managed files, but only if I use the RemoteLoggingServiceImpl and RemoteLoggingServiceUtil custom classes I created that use the slf4j Logger and LogFactory classes. I know that these classes use java.util.logging as Thomas first mentioned. If I can get the slf4j bridge configured, I am assuming that I can use the GWT versions of these classes instead of mine. All I'm trying to figure out now is how to properly configure the slf4j bridge as Thomas indicated I should do. I have referenced instructions listed at http://www.slf4j.org/legacy.html. Is there anything more I need to do other than including the jul-to- slf4j jar as a dependency? On Dec 21, 1:41 pm, Ed post2edb...@gmail.com wrote: Have a look at: + gwt logging: http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html + gwt-log:http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-log/ -- 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. -- 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. -- 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.
beans validation other other then hibernate-validator for gwt?
hi.. just wondering are there any other beans validation implementation aside from hibernate-validator that could used with gwt? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ejeVLi7r2rIJ. 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: ListEditor with inheritance
I submitted a post to the gwt contributors mailing list with a similar issue: https://groups.google.com/d/msg/google-web-toolkit-contributors/gUFkDIQ2TSE/Atjg5PZ6G4kJ This is basically what is proposed in the Issue 6791. Is there any progress on that issue yet, or are there any problems which prevent this solution? Regards, Stefan Am 22.12.2011 17:56, schrieb Thomas Broyer: First, have you seen http://code.google.com/p/google-web-toolkit/issues/detail?id=6719 ? In your case, I think you could do it quite easily by: 1. not having the TextArea as a sub-editor 2. implementing ValueAwareEditor to push to the TextArea and make it visible when the value is a SqlDataProvider in setValue, and pull from it and push to the value in flush(); and similar things for other kinds of values. That unfortunately won't scale very well as you add other DataProvider subclasses. FWIW, in a similar scenario, we chose to not use the Editor framework and handle everything by hand instead (but we had another challenge: some structures are recursive; i.e. we could have a DataProvider that would contain other DataProvider). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EsCldOjAMBgJ. 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. -- 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: ListEditor with inheritance
Thomas, Thank you for your quick response. I do have a semi working solution that does support inheritance, still has some bugs that are probably caused by my lack of generics in the EditorSource. I did see BobV's response on stackoverflow but wasn't exactly sure it would fix my problem. Going forward I am going to implement your solution using ValueAwareEditor, use instanceof to construct subeditors and manually flush the changes to the corresponding object. Thank you again for all your work helping the GWT community. I am attaching a partial solution that is adding a SqlDataProvider entity but is not persisting the values. In the solution I could use the EditorSource to construct a sub editor of a specific type based on the instanceof DataProvider in the asEditor().getList() of my DataProviderEditor. I imagine that there is a problem persisting my values because the EditorSource does not know what kind of EditorEntity it is editing so this will probably never work correctly. Please let me know if you agree. I have implemented the SqlDataProviderEditor as a ValueAwareEditor instead of Editor as a way to do debugging. // NOTE THIS CODE SAMPLE DOES NOT WORK CORRECTLY. public class DataProviderListEditor extends Composite implements IsEditorListEditorDataProviderProxy, EditorDataProviderProxy { private static final Logger logger = Logger.getLogger(DataProviderListEditor.class.getName()); private class DataProviderSource extends EditorSourceEditor { @Override public Editor create(int index) { SqlDataProviderEditor editor = new SqlDataProviderEditor(); container.insert(editor, index); // EditorDataProviderProxy retEditor = (EditorDataProviderProxy) // editor; return editor; } /** * Call this to remove an editor from the view. * * @Override public void dispose(EditorDataProviderProxy editor) { * editor.removeFromParent(); } * @Override public void setIndex(EditorDataProviderProxy, int index) * { container.insert(editor, index); } */ } public static class SqlDataProviderEditor extends Composite implements ValueAwareEditorSqlDataProviderProxy { private SqlDataProviderProxy value = null; @UiField TextBox variableName; @UiField TextArea sqlStatement; public SqlDataProviderEditor() { initWidget(GWT.Binder create(Binder.class).createAndBindUi(this)); } @Override public void setDelegate(EditorDelegateSqlDataProviderProxy delegate) { // TODO Auto-generated method stub } @Override public void flush() { logger.info(calling flush on my value editor); value.setSqlStatement(sqlStatement.getValue()); logger.info(Setting variable name to be + variableName.getValue()); value.setVariableName(variableName.getValue()); } @Override public void onPropertyChange(String... paths) { } @Override public void setValue(SqlDataProviderProxy value) { logger.info(Value of object is + value); this.value = value; logger.info(Value being assigned is + value.getVariableName()); } } /** * This is the default view for our widgets. * * @author chinshaw * */ @UiTemplate(DataProviderEditor.ui.xml) public interface Binder extends UiBinderWidget, SqlDataProviderEditor { } /** * This is the parent container panel that contains all other editors */ private final FlowPanel container = new FlowPanel(); private final ListEditorDataProviderProxy, EditorDataProviderProxy editor = ListEditor.of(new DataProviderSource()); /** * Default constructor takes an index of the Editor objects location. The * index is used to delete this object. * * @param index */ public DataProviderListEditor(Resources resources) { initWidget(container); } @Override public ListEditorDataProviderProxy, EditorDataProviderProxy asEditor() { return editor; } } On Dec 22, 10:56 am, Thomas Broyer t.bro...@gmail.com wrote: First, have you seenhttp://code.google.com/p/google-web-toolkit/issues/detail?id=6719? In your case, I think you could do it quite easily by: 1. not having the TextArea as a sub-editor 2. implementing ValueAwareEditor to push to the TextArea and make it visible when the value is a SqlDataProvider in setValue, and pull from it and push to the value in flush(); and similar things for other kinds of values. That unfortunately won't scale very well as you add other DataProvider subclasses. FWIW, in a similar scenario, we chose to not use the Editor framework and handle everything by hand instead (but we had another challenge: some
Re: How to get hold of the instance in an InstanceRequest
Thank you. So there is no way to implement an instance method outside the domain class? But why woulnt I include all instance methods in the proxy definition then? I hoped I could add methods, that are originally not in the domain object, but are needed just for doing data transformations for the UI, in a separate class. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/W4ecWrVMlroJ. 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: beans validation other other then hibernate-validator for gwt?
I use OpenJPA and I know it works, it's able to validate them. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oGiIbdflCW8J. 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: Remote Logging
Ed, Thank you for the link. I tried searching for a solution myself, but I guess I didn't enter the correct search terms. Regardless, after tinkering with several of the solutions offered via the link you sent me, the following solution worked for me: Logger globalLogger = Logger.getLogger(); Handler[] handlers = globalLogger.getHandlers(); for(Handler handler : handlers) { globalLogger.removeHandler(handler); } SLF4JBridgeHandler.install(); Thank you very much for your help! On Dec 22, 1:10 pm, Ed Bras post2edb...@gmail.com wrote: Google is your friend:http://stackoverflow.com/questions/2533227/how-can-i-disable-the-defa... http://stackoverflow.com/questions/2533227/how-can-i-disable-the-defa... On Thu, Dec 22, 2011 at 6:44 PM, Keith Bennett keith.benn...@forthwind.comwrote: Ed, thanks for your reply! The log data is now being directed to my logback files on the server, but I still have one remaining issue. I noticed that all of the java.util.logging get additionally logged to my Tomcat console. Any native logback logging statements do not. So, with the introduction of the SLF4JBrideHandler.install() method, do you know of a way to suppress the java.util.logging output on the Tomcat console yet still allow it to be directed to the logback files? On Dec 21, 2:12 pm, Ed Bras post2edb...@gmail.com wrote: Make sure you correctly install the jul bridge: SLF4JBridgeHandler.install() when your app starts. See:http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html If that doesn't work, then debug it, and you will quickly find out what goes wrong. On Wed, Dec 21, 2011 at 8:54 PM, Keith Bennett keith.benn...@forthwind.comwrote: Ed, I have followed all of the guidelines as documented in the first link you sent. Again, I am able to direct the log output to my logback-managed files, but only if I use the RemoteLoggingServiceImpl and RemoteLoggingServiceUtil custom classes I created that use the slf4j Logger and LogFactory classes. I know that these classes use java.util.logging as Thomas first mentioned. If I can get the slf4j bridge configured, I am assuming that I can use the GWT versions of these classes instead of mine. All I'm trying to figure out now is how to properly configure the slf4j bridge as Thomas indicated I should do. I have referenced instructions listed at http://www.slf4j.org/legacy.html. Is there anything more I need to do other than including the jul-to- slf4j jar as a dependency? On Dec 21, 1:41 pm, Ed post2edb...@gmail.com wrote: Have a look at: + gwt logging: http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html + gwt-log:http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-log/ -- 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. -- 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. -- 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.
Wait dialog on rpc interaction
Hi to all, i am facing a problem while developing a web application. I have some rpc interactions with the server (appengine) and most of them are really time consuming as i am having some data analysis. Due to the delay of the response, most of my beta testers press more than one time the request button and so does this duplicates the analysis phase. How do i popup a dialog box or whatever in order to notify them that we are processing his/her request and he has to wait for a while? Thanks in advance, Stefanow Antaris -- 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: Wait dialog on rpc interaction
Disable the button on its click handler and enable it once the rpc call returns. On Thu, Dec 22, 2011 at 4:22 PM, Stefanos Antaris ssanta...@gmail.comwrote: Hi to all, i am facing a problem while developing a web application. I have some rpc interactions with the server (appengine) and most of them are really time consuming as i am having some data analysis. Due to the delay of the response, most of my beta testers press more than one time the request button and so does this duplicates the analysis phase. How do i popup a dialog box or whatever in order to notify them that we are processing his/her request and he has to wait for a while? Thanks in advance, Stefanow Antaris -- 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. -- 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: Closure compiler integration
Apparently this can give a 20% code reduction. I am curious why such a big decrease. It varies. GWT and the closure compiler seem to do very similar optimizations No. I would say both compilers are very different. GWT does a fantastic job at the Java level. It leverages the Java type system very well to perform a lot of optimization that Closure Compiler developers can only dream of due to the dynamic nature of Javascript. The GWT team spends a lot of time making sure the compiler generate optimized code that mimics Java behaviors. That has also been the biggest win. On the other hand Closure Compiler team focuses on raw Javascript size. The developers spends countless hours looking at compressed Javascript and ways to squeeze a few kilobytes here and there until it adds up. -Alan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/z6L0mOMIBi4J. 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. -- 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.
firing httprequest multiple times
Hi I have popup panel and it contains 1 hyper link, clicking on hyperlink i am sending http post request to jsp / servlet in the handler function of hyperlink. the problem i am facing is described below, step 1. suppose i click on hyper link, it sends http post request, i get the expected result. step 2. after step 1, if i again click on hyper link 1, it sends 2 http post request at a time and it increases for every click on hyper link. once i refresh the page the count begins from 1. how to over come step 2 behaviour and send only one http request for every click. below is the code sample. hyplink.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // TODO Auto-generated method stub String url = http://sample.com/some.jsp; data = name:name1 RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, URL.encode(url)); builder.setHeader(Content-Type, application/json); try { builder.sendRequest(data, new RequestCallback() { public void onError(Request request, Throwable exception) { Window.alert(Request Builder Failed); } public void onResponseReceived(Request request, Response response) { Window.alert(Request Builder succeeded); } }); } catch (RequestException e) { e.printStackTrace(); } } }); NOTE: if sample code contains any syntax error ignore it, every thing is working fine in actual code. Thanks karun -- 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: App with hundreds of code splits won't finish compiling
I guess I could move the splits to the package level As you might have notices you have to choose your split points with care as otherwise you shoot yourself in the foot. Having more split points doesn't necessary means a better app. Adding crazy amount of split points will make your initial download smaller. But because of how the code splitter works, you'll end up with bigger and bigger leftover fragments. At least until I check in and enable the new code splitting algorithm. A few rules of thumbs for adding split points: - A split point contains a considerable amount of the total app size. For example: 10%. While I've seen well structured apps with 50 split points or so, like Ed Bras suggested, they took lots of caution in where they are inserting them, checking the SOYC every once a while. -Alan - The split point contains code that corresponds to an isolated functionality chunk. Uses the generated soyc report for split point optimization. On Thu, Dec 22, 2011 at 4:04 PM, Eric Andresen ericandre...@gmail.comwrote: Granted, it is a pretty big project, it has about 800 activities, 150 EntityProxy types, 100 Request objects, and uses all the goodness of the RequestFactory and UiBinder for all of it. (There is a ton of inheritance so most of those activities are only 50-100 lines of code. Only the object-specific code in each remains, at least until http://code.google.com/p/google-web-toolkit/issues/detail?id=6794 is fixed) The current split points are on each top-level domain object, each of which contain about 5-10 activities. Each generates about 50-150kb of JS when they work. The idea was that the user would have a small initial download, and then a slight delay each time they hit a new object type they hadn't used before. I guess I could move the splits to the package level in the object hierarchy and only have about 8 split points, each with about 100 activities. That should leave the initial download the same, but have a bigger run-time hit when the user crosses that boundary. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FKtXxh5GrC0J. 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. -- 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. -- 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: firing httprequest multiple times
how to over come step 2 behaviour and send only one http request for every click. Disable the widget during processing (which sinks/unsinks the click event). Hyperlink doesn't have this functionality per default, but you can use an other widget like a button that does have this. You could extend the HyperLink widget and add a enabled property. Almost all my widgets implement a HasEnabled interface that have this enabled property per default. In the OnClick you will call widget.setEnabled(false) In the OnResponseReceived call you will call setEnabled(true). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/juIvd3oR0RgJ. 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: Wait dialog on rpc interaction
See: rpcHyperlinkhttps://groups.google.com/forum/#!topic/google-web-toolkit/lm_1v7Mmb5M -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fK8Bj9QZqqYJ. 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: firing httprequest multiple times
If you only click once but your code gets executed twice, then you have added two ClickHandler accidently. Probably the method that contains hyperlink.addClickHandler() gets called twice. Put a logging statement before hyperlink.addClickHandler() to see if you accidently attach more than one handler. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VH9Y6quF_9cJ. 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.
compiler.useSourceMap
I read about compiler.*useSourceMap on google wiki page and added to my module gwt.xml file *set-property name=compiler.useSourceMaps value= true/ . But when I started compiling, compiler show error that he cannot find compiler.useSourceMaps option. So question is how to use this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fBxyDTJF4ewJ. 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-RCharts Released (An interactive client side Charting Library with 3D CHARTS)
Great Job! On 21 dic, 00:27, saurabh saurabh saurabh.bl...@gmail.com wrote: Hi Erez, nice question, actually its going to be an issue to attend, Thanks for drawing attention over this. Anyway work around solution could be like : making and adding a new chart instance with new dimension and removing the old chart. -- 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.
Adsense with GWT
I know this is an ongoing issue. Is there any progress on this? There was the program of AdSensef for AJAX, but there is no update. Please kindly provide some sort of timeline. I want to decide if I should ditch GWT altogether or rather wait. Thanks. -- 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: beans validation other other then hibernate-validator for gwt?
i mean a SEPARATE validation framework, if i use eclipseLINK for example On Thu, Dec 22, 2011 at 10:31 PM, Patrick Julien pjul...@gmail.com wrote: I use OpenJPA and I know it works, it's able to validate them. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oGiIbdflCW8J. 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. -- 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: firing httprequest multiple times
Hi Jens, i have veryfied your suggestion, the logging statement, which is there in onResponseReceived() gets logged multiple times but the statement in addClickHandler() gets logged only once. Thanks karun On Dec 23, 6:26 am, Jens jens.nehlme...@gmail.com wrote: If you only click once but your code gets executed twice, then you have added two ClickHandler accidently. Probably the method that contains hyperlink.addClickHandler() gets called twice. Put a logging statement before hyperlink.addClickHandler() to see if you accidently attach more than one handler. -- J. -- 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] Firefox 9 DevMode Plugin (issue1620803)
Reviewers: conroy, Description: Firefox 9 DevMode Plugin Please review this at http://gwt-code-reviews.appspot.com/1620803/ Affected files: M plugins/common/HostChannel.cpp M plugins/common/HostChannel.h M plugins/common/InvokeMessage.cpp M plugins/common/InvokeMessage.h M plugins/common/InvokeSpecialMessage.cpp M plugins/common/InvokeSpecialMessage.h M plugins/common/LoadModuleMessage.cpp M plugins/common/ReturnMessage.cpp M plugins/common/ReturnMessage.h M plugins/common/ServerMethods.cpp M plugins/common/ServerMethods.h M plugins/common/SessionHandler.h M plugins/common/Value.h M plugins/xpcom/FFSessionHandler.cpp M plugins/xpcom/FFSessionHandler.h M plugins/xpcom/JavaObject.cpp M plugins/xpcom/JavaObject.h M plugins/xpcom/Makefile M plugins/xpcom/Preferences.cpp M plugins/xpcom/Preferences.h M plugins/xpcom/SessionData.h A plugins/xpcom/VisualStudio/ff90-xpcom.vcproj M plugins/xpcom/XpcomDebug.cpp M plugins/xpcom/install-template.rdf M plugins/xpcom/prebuilt/extension/chrome.manifest M plugins/xpcom/prebuilt/update.rdf -- http://groups.google.com/group/Google-Web-Toolkit-Contributors