Serialization Error.... why??????
Hi, when serializing an ArrayList of the bean below I get the following error Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'xxx.CurrentLevel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = xxx.CurrentLevel@1d008f5 at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 615) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 45) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 40) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java: 50) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java: 28) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java: 736) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 617) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.extjs.gxt.ui.client.data.RpcMap_CustomFieldSerializer.serialize(RpcMap_CustomFieldSerializer.java: 35) Can anyone explain why? It is straightforward with only Integers and Stings. Thank You import java.io.Serializable; public class CurrentLevel implements Serializable{ private static final long serialVersionUID = -7742663738169565261L; private String value; private Integer levelNumber; private String columnName; private String columnFormat; private String columnType; public CurrentLevel() { } public CurrentLevel(String columnName, String columnFormat, String columnType, String value) { setColumnName(columnName); setColumnFormat(columnFormat); setColumnType(columnType); setValue(value); } public CurrentLevel(String columnName, String columnFormat, String columnType, String value,Integer levelNumber) { this(columnName,columnFormat,columnType,value); setLevelNumber(levelNumber); } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public Integer getLevelNumber() { return levelNumber; } public void setLevelNumber(Integer levelNumber) { this.levelNumber = levelNumber; } public String getColumnName() { return columnName; } public void setColumnName(String columnName) { this.columnName = columnName; } public String getColumnFormat() { return columnFormat; } public void setColumnFormat(String columnFormat) { this.columnFormat = columnFormat; } public String getColumnType() { return columnType; } public void setColumnType(String columnType) { this.columnType = columnType; } } -- 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: Serialization Error.... why??????
Thanks for your reply, I am in dev mode with the internal Jetty I deleted all .rpc files, but the problem persists... On Dec 8, 12:07 pm, Jens jens.nehlme...@gmail.com wrote: Seems like your serialization policy file on your server is outdated (thats the hashcode.rpc file in your generated js folder, which should be available to the server and always be up-to-date). Do you use an external server? If so, redeploy your app. If you use the build-in Jetty server you may need to hit the Reload Web Server Button in Eclipse. I mostly see this exception when I modify/create serializable classes and then first redeploy to external server and then reload dev mode. That way I deploy an outdated policy file and when reloading dev mode a new one will be generated and I have to redeploy again. So you should always reload dev mode first and then redeploy. -- 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.
Re: GWT 2.2 Eclipse update fails -- needs PDE
I have the same problem, but I must use 3.4 for compatibility with other plugins... could you please investigate and fix? Thank You On Feb 16, 11:30 pm, Tim McCormack ti...@ccs.neu.edu wrote: On Feb 16, 11:11 am, Rajeev Dayal rda...@google.com wrote: Is it possible for you to try using Eclipse 3.5? I think this is related to a bug in Eclipse's P2 system in Eclipse 3.4. If that's not possible, let me know, and we'll dig deeper. I was trying for 3.4 to maintain the same setup as the rest of my group. I'm doing documentation work on our GWT code, and I think I'll just mark the minimum Eclipse version as 3.6, possibly 3.5. I'm using 3.6 now, which works. (However, I am using 64-bit Eclipse 3.6 -- Eclipse 3.4 needs to be 32-bit on Ubuntu Linux x64 due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=213194.) I guess it's up to you as to whether more investigation is appropriate. - Tim -- 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 + Hibernate problem (Unknown entity exception)
You can't do it directly, you need to use something like http://sourceforge.net/projects/gilead/ A good reference article for GWT and Hibernate http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html Hope it helps, F On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com wrote: is com.bancika.client.data.User annotated with �...@entity? also there is no difference between using j2ee and gwt with respect to setting up hibernate On Aug 15, 12:48 pm, Bancika banc...@gmail.com wrote: I'm using hibernate to map my data in GWT and have some weird problems. Here's my setup. * HSQL database * entity class is in client folder * annotated class (tried with hbm.xml file, same result) the problem is that my mapped class does not get registered in the config for some reason. I tried adding the mapped class through hibernate.cfg.xml and directly into the configuration with the same result. AnnotationConfiguration config = new AnnotationConfiguration(); config.addAnnotatedClass(com.bancika.client.data.User.class); config.configure(); If I test config immediately after this, it appears that no classes have been registered. Also, if I try session.save(user) it throws Unknown entity exception. Is there anything I missed in the config that should be done when using hibernate with gwt? I've been using it in java ee for years without these problems. Thanks, Bane -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Hibernate problem (Unknown entity exception)
You can't do it directly, a good reference: http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html http://noon.gilead.free.fr/gilead/ Regards, F On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com wrote: is com.bancika.client.data.User annotated with �...@entity? also there is no difference between using j2ee and gwt with respect to setting up hibernate On Aug 15, 12:48 pm, Bancika banc...@gmail.com wrote: I'm using hibernate to map my data in GWT and have some weird problems. Here's my setup. * HSQL database * entity class is in client folder * annotated class (tried with hbm.xml file, same result) the problem is that my mapped class does not get registered in the config for some reason. I tried adding the mapped class through hibernate.cfg.xml and directly into the configuration with the same result. AnnotationConfiguration config = new AnnotationConfiguration(); config.addAnnotatedClass(com.bancika.client.data.User.class); config.configure(); If I test config immediately after this, it appears that no classes have been registered. Also, if I try session.save(user) it throws Unknown entity exception. Is there anything I missed in the config that should be done when using hibernate with gwt? I've been using it in java ee for years without these problems. Thanks, Bane -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Jetty: Form too large in dev mode
Hello there, I get the error below Form too large28050420 in dev mode. I looked for this error on Google and found that this problem can be fixed by setting the org.mortbay.http.HttpRequest.maxFormContentSize property to a value higher than the default (20). How can I do this in the GWT dev mode Jetty instance? Thanks for your help, Francesco java.lang.IllegalStateException: Form too large28050420 at org.mortbay.jetty.Request.extractParameters(Request.java:1404) at org.mortbay.jetty.Request.getParameter(Request.java:749) at com.fusioncharts.exporter.FusionChartsExportHelper.parseExportRequestStream(FusionChartsExportHelper.java: 182) at org.apache.jsp.FCExporter_jsp._jspService(FCExporter_jsp.java:176) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: 324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt.xml file extensive documentation and dtd
Hi there, I could not find an extensive and complete document that details and explains all the available elements and attributes of a gwt.xml file. Could you please help/point to such a document? Thanks for your help, Regards Francesco -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Best practice for packaging a module into a jar?
Hi, I have a complex GWT application which is dependent on various other GWT projects which are inherited. The application contains both server and client code and it also uses external properties files. I would like to package this application into a jar which can then be inherited by other projects. I am looking for references/best practice/ case scenarios on how to do this in the best way possible, given the complexity of the application. Any help/ideas welcome. Thanks, Francesco -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT2.0 and GWTx propertychangesupport
Hi Carl, thank you very much for your reply. As a matter of fact I had already seen and applied the patch (i.e. new Pattern class) in my code and now everything seems to be well. I meant to follow up on my post with the solution, but never got the time to do it. I wish GWT implemented natively all the classes implemented for it in GWTx in order to have official support and not be dependent on an external project. I guess for example PropertyChangeSupport is something that in a way or another every complex application needs. Thanks again, I hope the GWT developers are reading this and that will see GWTx included in future releases of GWT. Kind Regards, Francesco On Jan 9, 12:43 pm, Carl consult...@goalstate.com wrote: Hi, Francesco, I have just upgraded to GWT 2.0 and encountered the same problem as you did. I believe that I have now surmounted this problem, thanks largely to a developer who posted a fix to the GWTx issues list, issue 18, which is referenced from the main GWTx page (with a line through it indicating that it had been fixed, although that fix does not seem to have held through the latest GWT release): http://code.google.com/p/gwtx/issues/detail?id=18 The issue seems to be that the problematic class (Pattern) is making a number of references via JSNI to Javascript elements that are generated by the GWT compiler, but the compiler seems to have changed the way in which it generates the names of these elements (perhaps due to the new 2.0 features that provide more rigorous obfuscation through renaming - that is just a guess), and as a result these references to native elements are incorrect. The developer who addressed this issue in the abovementioned post fixed the problematic references and posted his fixed version of the entire Pattern.java source file to the above-referenced message on GWTx. Note that his message was posted on November 6, 2009, before the official release of GWT 2.0, and so apparently the earlier 1.7.1 release of GWT that I was using prior to this version update did not flag this as an issue and indeed it may not have been an issue for that release. It is possible that this developer was working with an intermediate or advance release. The details of GWT's mappings to Javascript are beyond my present level of experience, and so I cannot claim to understand this fix at a detailed level, but it is clear that the exact lines that are flagged by the compiler in the error messages that you cite are the lines that were fixed by this patch. Anyway, I downloaded the Pattern.java file so nicely attached by the developer (one darek.kobylarz), looked it over, and then unzipped the gwt-1.5.2.jar file, replaced Pattern.java with the new Pattern.java, and then zipped it back up using the jar tool, creating a new archive called gwt-1.5.2-patched.jar. I then replaced my project's reference to the old archive with a reference to the new archive, and, voila! no more compiler complaints. And, presumably (hopefully) working code, too. I did some basic testing of my site and all seems to be well, but that is not a guarantee! Remember that my understanding of this problem and of the fix posted is rudimentary, and so you must take steps to satisfy yourself that this solution is a good one. But, so far it is looking like a fix to me. Good luck! One more thought is that if you look at the message thread, this looks like a recurring problem, and a wild guess would be that each time GWT changes its naming conventions, it breaks this code. But maybe Derek's fix is more secure than the others, since he is no longer using hard-coded names. Anyway, if you do use this fix, then in future releases, you might want to keep an eye on this code to see if it breaks again. It does seems a little strange that GWTx has not provided a new release for this and it may be because the issue thread to which the developer posted his file was closed in February of 2009, and so maybe nobody realizes that there is this issue with 2.0, although it seems strange that they would not have noticed. I'll probably open an issue for it there. Carl On Dec 30 2009, 6:05 am, francescoNemesi nem...@yahoo.com wrote: Hi All, my (rather huge) GWT application relies heavily on theGWTx implementation of propertyChangeSupport. This doesn't seem to work anymore with GWT 2.0. In development mode, I get this error: 14:40:55.873 [WARN] [kbit] Warnings in 'jar:file:/D:/GWT/gwt-keinavo- external-library/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/util/emul/ java/util/regex/Pattern.java' 14:40:55.904 [WARN] [kbit] Line 140: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern':unableto resolve class, expect subsequent failures 14:40:55.935 [WARN] [kbit] Line 149: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern':unableto resolve class, expect subsequent failures 14:40:55.966 [WARN
GWT2.0 and GWTx propertychangesupport
Hi All, my (rather huge) GWT application relies heavily on the GWTx implementation of propertyChangeSupport. This doesn't seem to work anymore with GWT 2.0. In development mode, I get this error: 14:40:55.873 [WARN] [kbit] Warnings in 'jar:file:/D:/GWT/gwt-keinavo- external-library/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/util/emul/ java/util/regex/Pattern.java' 14:40:55.904 [WARN] [kbit] Line 140: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable to resolve class, expect subsequent failures 14:40:55.935 [WARN] [kbit] Line 149: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable to resolve class, expect subsequent failures 14:40:55.966 [WARN] [kbit] Line 183: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable to resolve class, expect subsequent failures 14:40:55.982 [WARN] [kbit] Line 194: Referencing class 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable to resolve class, expect subsequent failures Has anyone else experience this? Are there any workarounds or alternatives to GWTx? I am badly stumped on this. Thanks, Francesco -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google Project Build fails silently after installing eclipse plugin 1.1.2.v200910130758
Hi Rajeev, 1) In Eclipse... Help - Software Updates - Manage Configuration - Revert to Previous (in the lower right pane) I selected the previous configuration, this restored v1.1.1 of the plugin without the need to uninstall/reinstall 2) I installed the plugin the first time via the update site. 3) I upgraded via the update site. 4) when I did the update yesterday through the update site I was given the options to update the plugin and the AppEngine SDK, no GWT update was shown. I updated both the plugin and the AppEngine SDK. My GWT SDK veriosion is 1.7.1 (which I think is the last?). Hope this helps, thanks for your help. Francesco On Oct 16, 7:31 am, Rajeev Dayal rda...@google.com wrote: Hi Francesco, Sorry that you've been running into trouble. I've tried to reproduce the problem by: 1) Installing Eclipse 3.3.2 on Linux 2) Installing version 1.1.1 of the plugin and the 1.7.1 GWT SDK 3) Restarting Eclipse 4) Creating a new Project 5) Adding some JSNI to one of the client classes 6) Upgrading the plugin to 1.1.2 7) Restarting Eclipse 7) Rebuilding the project I was not able to see the behavior that you're running into. When you say that you reverted your previous configuration, how exactly did you do that? Did you just uninstall the newer version of the plugin, and when the old one was present, all seemed to work well? Also, can you tell me how you installed the plugin the first time? Did you do it via the update site, or using the zip files? When you upgraded the plugin, did you do so with a zip file, or using the update site? Did you update your GWT SDK as well? Rajeev On Thu, Oct 15, 2009 at 11:43 PM, francescoNemesi nem...@yahoo.com wrote: For Your Information, I reverted back to my previous Eclipse configuration with gwt plugin version 1.1.1v200909221731 and everything seems to work now. Apparently there is a problem with version 1.1.2.v200910130758? On Oct 15, 9:08 pm, francescoNemesi nem...@yahoo.com wrote: Hi Miguel, thanks for your reply, below you can find the log, written when I started Eclipse. I only have one project open in my workspace, the one mentioned in the second error. !SESSION 2009-10-15 21:01:15.965 --- eclipse.buildId=M20080221-1800 java.version=1.6.0_15 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Command-line arguments: -os win32 -ws win32 -arch x86 This is a continuation of log file D:\Dati\Eclipe 3.3.2 Europa Workspace\.metadata\.bak_0.log Created Time: 2009-10-15 21:01:51.118 !ENTRY org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE A conflict occurred for ALT+CTRL+A: Binding(ALT+CTRL+A, ParameterizedCommand(Command (sas.ads.sasJavaProject.SASAddAttachments,Add SAS Attachments..., , Category(sas.ads.sasJavaProject.editorActionsCategory,SAS Editor Actions,null,true), ActionDelegateHandlerProxy (null,com.sas.ads.sasQuickAssist.SASConnectionHelper), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) Binding(ALT+CTRL+A, ParameterizedCommand(Command(de.jayefem.log4e.ReplaceId,Substitute System.out's in this class, Substitute System.out's in this class, Category(org.eclipse.ui.category.edit,Edit,null,true), ActionDelegateHandlerProxy (null,de.jayefem.log4e.popup.actions.WorkbenchWindowAction), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) !SUBENTRY 1 org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE A conflict occurred for ALT+CTRL+O: Binding(ALT+CTRL+O, ParameterizedCommand(Command (sas.ads.sasJavaProject.importOrganizer,Organize SAS Imports..., , Category(sas.ads.sasJavaProject.editorActionsCategory,SAS Editor Actions,null,true), ActionDelegateHandlerProxy (null,com.sas.ads.action.importAdder.ImportAdderAction), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) Binding(ALT+CTRL+O, ParameterizedCommand(Command(de.jayefem.log4e.AddPositionId,Log at this position..., Log at this position..., Category(org.eclipse.ui.category.edit,Edit,null,true), ActionDelegateHandlerProxy (null,de.jayefem.log4e.popup.actions.WorkbenchWindowAction), ,,true),null
Google Project Build fails silently after installing eclipse plugin 1.1.2.v200910130758
Hello, I am using Eclipse 3.3.2, this morning I updated the Google eclipse plugin to 1.1.2.v200910130758 and I have a problem. Eclipse does not build my Google (I only GWT) projects anymore. It behaves as if it builds the project, does not give any error, but there no .class files in my classes output folder. I think the build does not even start because my problems view in Eclipse is not showing anything and I know I should a few warnings in it... I have already tried to open/close the project, stop/start Eclipse, physically delete the classes folder, but to no avail... Can anyone please help? I am really stuck and abviously I have a deadline for Mondayot deliver a project. Thanks for any help, Francesco --~--~-~--~~~---~--~~ 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: Google Project Build fails silently after installing eclipse plugin 1.1.2.v200910130758
) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass (DefaultClassLoader.java:161) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass (ClasspathManager.java:501) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl (ClasspathManager.java:471) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl (ClasspathManager.java:430) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass (ClasspathManager.java:413) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass (DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass (BundleLoader.java:340) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal (BundleLoader.java:408) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at com.google.gwt.eclipse.core.validators.java.JavaValidationVisitor.endVisit (JavaValidationVisitor.java:142) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0 (MethodDeclaration.java:503) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0 (TypeDeclaration.java:483) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546) at org.eclipse.jdt.core.dom.CompilationUnit.accept0 (CompilationUnit.java:213) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476) at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant.validateCompilationUnit (JavaCompilationParticipant.java:85) at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant.buildStarting (JavaCompilationParticipant.java:172) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.notifyParticipants (AbstractImageBuilder.java:534) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile (AbstractImageBuilder.java:285) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build (BatchImageBuilder.java:59) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll (JavaBuilder.java:269) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build (JavaBuilder.java:177) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:624) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:166) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:197) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:246) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:249) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.build (BuildManager.java:334) at org.eclipse.core.internal.events.AutoBuildJob.doBuild (AutoBuildJob.java:137) at org.eclipse.core.internal.events.AutoBuildJob.run (AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On Oct 15, 5:56 pm, Miguel Méndez mmen...@google.com wrote: Could you take a look at your eclipse .log file and see what errors are there? You can find it in your WORKSPACE_DIR/.metadata/.log. On Thu, Oct 15, 2009 at 11:51 AM, francescoNemesi nem...@yahoo.com wrote: Hello, I am using Eclipse 3.3.2, this morning I updated the Google eclipse plugin to 1.1.2.v200910130758 and I have a problem. Eclipse does not build my Google (I only GWT) projects anymore. It behaves as if it builds the project, does not give any error, but there no .class files in my classes output folder. I think the build does not even start because my problems view in Eclipse is not showing anything and I know I should
Re: Google Project Build fails silently after installing eclipse plugin 1.1.2.v200910130758
For Your Information, I reverted back to my previous Eclipse configuration with gwt plugin version 1.1.1v200909221731 and everything seems to work now. Apparently there is a problem with version 1.1.2.v200910130758? On Oct 15, 9:08 pm, francescoNemesi nem...@yahoo.com wrote: Hi Miguel, thanks for your reply, below you can find the log, written when I started Eclipse. I only have one project open in my workspace, the one mentioned in the second error. !SESSION 2009-10-15 21:01:15.965 --- eclipse.buildId=M20080221-1800 java.version=1.6.0_15 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Command-line arguments: -os win32 -ws win32 -arch x86 This is a continuation of log file D:\Dati\Eclipe 3.3.2 Europa Workspace\.metadata\.bak_0.log Created Time: 2009-10-15 21:01:51.118 !ENTRY org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE A conflict occurred for ALT+CTRL+A: Binding(ALT+CTRL+A, ParameterizedCommand(Command (sas.ads.sasJavaProject.SASAddAttachments,Add SAS Attachments..., , Category(sas.ads.sasJavaProject.editorActionsCategory,SAS Editor Actions,null,true), ActionDelegateHandlerProxy (null,com.sas.ads.sasQuickAssist.SASConnectionHelper), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) Binding(ALT+CTRL+A, ParameterizedCommand(Command(de.jayefem.log4e.ReplaceId,Substitute System.out's in this class, Substitute System.out's in this class, Category(org.eclipse.ui.category.edit,Edit,null,true), ActionDelegateHandlerProxy (null,de.jayefem.log4e.popup.actions.WorkbenchWindowAction), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) !SUBENTRY 1 org.eclipse.jface 2 0 2009-10-15 21:01:51.118 !MESSAGE A conflict occurred for ALT+CTRL+O: Binding(ALT+CTRL+O, ParameterizedCommand(Command (sas.ads.sasJavaProject.importOrganizer,Organize SAS Imports..., , Category(sas.ads.sasJavaProject.editorActionsCategory,SAS Editor Actions,null,true), ActionDelegateHandlerProxy (null,com.sas.ads.action.importAdder.ImportAdderAction), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) Binding(ALT+CTRL+O, ParameterizedCommand(Command(de.jayefem.log4e.AddPositionId,Log at this position..., Log at this position..., Category(org.eclipse.ui.category.edit,Edit,null,true), ActionDelegateHandlerProxy (null,de.jayefem.log4e.popup.actions.WorkbenchWindowAction), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.jdt.ui.javaEditorScope,,,system) !ENTRY org.eclipse.core.resources 4 2 2009-10-15 21:02:20.820 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.core.resources. !STACK 0 java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass (DefaultClassLoader.java:161) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass (ClasspathManager.java:501) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl (ClasspathManager.java:471) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl (ClasspathManager.java:430) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass (ClasspathManager.java:413) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass (DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass (BundleLoader.java:340) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal (BundleLoader.java:408) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method
Re: Listening for browser window close or unload events
Thanks your answers. I now have another question... The code below displays a confirmation to leave the page with button ok (the close action completes) and cancel (stop the close event). How do I know which button the user actually clicked on? Is there a way to assign a callback function to process user's selection? I would like to clean up the session if and only if the user actually exits the browser window... Thanks Window.addWindowClosingHandler(new ClosingHandler() { public void onWindowClosing(ClosingEvent event) { event.setMessage(Really want to leave?); } }); On Oct 9, 3:19 pm, Chris Ramsdale cramsd...@google.com wrote: Brian is correct, have your application implement Window.ClosingHandler and/or Window.CloseHandler in order to do any clean up work when the user navigates away from your site. Keep in mind that:1. These events are called when the user closes the browser or tab as well as when the user navigates away from your site.) 2. No user-interface components may be displayed during this event (see link below). Instead of displaying UI during close, you may want to consider cleaning up any session data and having the user re-authenticate when they return. ClosingHandler interface JavaDoc:http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... - Chris On Wed, Oct 7, 2009 at 3:17 PM, Brian Blain bbla...@gmail.com wrote: Maybe Window.addWindowClosingHandler or Window.addCloseHandler On Oct 7, 11:35 am, francescoNemesi nem...@yahoo.com wrote: Hi, is there a way to listen to a browser window or unload event? I want to force a logout (to clean up session memory on the server as well as much as I can on the client) if the user forgets to logout explicitly before closing the browser or navigating to another page. Thanks, F --~--~-~--~~~---~--~~ 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: ClosingHandler to prevent user from navigating away
Is there a way to post process user confirmation of the confirmation message box? Thanks On Oct 8, 8:49 pm, Marcelo Sena marceloslace...@gmail.com wrote: Thanks, that solves the problem. --~--~-~--~~~---~--~~ 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: Wiping application memory on the broser after user logout or window/tab close
Thanks, I knew that... I ìm looking for workarounds. Thanks again On Oct 7, 9:07 am, alex.d alex.dukhov...@googlemail.com wrote: You can't trigger browser's garbage collector. On Oct 7, 7:23 am, francescoNemesi nem...@yahoo.com wrote: Hi, my application has a logout button. When the user logs out the application invalidates and cleans up the HttpSession on the server side. I would like to do the same on the client, i.e. I would like to clean up all (or as much as possible) the memory used by the application on the client side. Is this possible? Any ideas or best practice on how to do this? Any help is greatly appreciated. Thanks Kind Regards, Francesco --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Wiping application memory on the broser after user logout or window/tab close
Hi, my application has a logout button. When the user logs out the application invalidates and cleans up the HttpSession on the server side. I would like to do the same on the client, i.e. I would like to clean up all (or as much as possible) the memory used by the application on the client side. Is this possible? Any ideas or best practice on how to do this? Any help is greatly appreciated. Thanks Kind Regards, Francesco --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Incubator: ScrollTable
Hello, I have been using the ScrollTable widget (com.google.gwt.gen2.table.client.ScrollTable) in the incubator and I find it very useful. I need to add a Row Header section which contains fixed columns that do not move when scrolling horizontally. I have studied the AbstractScrollTable (com.google.gwt.gen2.table.client.AbstractScrollTable) class code which implements most of the ScrollTable functionality and I think the cleanest and best way to add a Row Header would be to add a FixedWidthFlexTable that implements it, much in the same way the existing headerTable has been implemented. Has anyone done this before? Are there any best practices to change the current code in the incubator (AbstractScrollTable class code would need some substantial parts added to it)? An abovious solution would be create my own class that extends AbstractScrollTable, but this contains either private or protected instance variables (for example Element absoluteElement, the widget main DIV container), so I'd rather go for the cleanest approach possible... Any help and suggestions highly appreciated. Thanks, Francesco --~--~-~--~~~---~--~~ 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 1.0 Released
Hello, smartGwt looks very appealing and very rich in features, but it is very slow. This is due to the fact that it is a JSNI wrapper around the Smart Client framework. This means loosing all the benefits of having a pure GWT implementation (I will not go into details on this). I think a comparison with GXT (also known as GWT Ext, at this address http://extjs.com/products/gxt/) does not make any sense as GXT is a pure GWT feature implementation and it is lightining fast once compiled. The only appropriate comparison would be with gwt-ext (http:// code.google.com/p/gwt-ext/) which is JSNI wrapper around the ExtJS javascript framework (developed by the same company that developed GXT), much like smartGwt is a JSNI wrapper around the Smart Client framework. This forum is full of people complaining about how slow and cumbersome gwt-ext is, and I think exactly the same problems will be encountered with smartGwt.On the other hand GXT is not affected by any of these issues. True, GXT at the moment is not as rich in features at the moment, but they are getting there. I do not work for the ExtJS company, I only talk from experience. I used the JavaSciprt ExtJS framework for a big project for a full year and I understand exactly when people say the documentation is poor and performance slow. Having embranced GWT to progress and to make my life easier, I would never want to to have the same problems again with Js frameworks, even less with GWT frameworks with embed the same old Js issues, like gwt-ext or smartGWT. GXT is a completely different matter and I think it is a top framework. I have been using it for a few months now and never gave me any major issues. It is a pure GWT implementation, no javaScriptObject or JSNI. Period. Huge credit to Sanjiv for his work on smartGWT, but personally I think this is the wrong approach to any GWT framework. JSNI is very useful if used to integrate the odd js function here and there, not as a foundation to a framework itself. Regards, Francesco On Nov 23, 10:33 am, Juan Backson [EMAIL PROTECTED] wrote: Hi, I am wondering if the performance is due to too many items inside the demo or it is just slower than gwt-ext? In gwt-ext, the demo is much smaller. On Sun, Nov 23, 2008 at 10:27 AM, rakesh wagh [EMAIL PROTECTED] wrote: great job Sanjeev. Keep up the good work. Always love smart-client. Smart client is much better compared to ext-js as far as licensing is concerned. However the showcase looks little slow compared to the original js based smart-client as well as gwt-ext. Thanks! On Nov 22, 6:48 pm, Tim [EMAIL PROTECTED] wrote: Excellent Job! some things are rough around the edges but overall this release is impressive! Gotta fix those image downloads though. And adding a couple of the standard schemes wouldn't hurt. But you already mentioned these things in your release announcement post anyway. Can't wait. Cool stuff! On Nov 22, 8:32 am, ART [EMAIL PROTECTED] wrote: This looks cool. Ann. On Nov 18, 9:50 am, Sanjiv Jivan [EMAIL PROTECTED] wrote: Hi all,I have just released SmartGWT 1.0. Here is the release announcement : http://www.jroller.com/sjivan/entry/smartgwt_1_0_released Google Code Project Page :http://code.google.com/p/smartgwt/ Showcase Demo :http://www.smartclient.com/smartgwt/showcase/ Javadocs :http://www.smartclient.com/smartgwt/javadoc/ SmartGWT uses the new GWT 1.6 event API's which is really neat and works great. Seehttp:// code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEv... Thanks, Sanjiv --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Observer pattern on this design, yes or no/how and why?
You use GWTx http://code.google.com/p/gwtx to use PropertyChangeSupport events. If used cleverly this allows event handling among various modules, i.e. a module could send a PropertyChangeEvent of a given named property and another module could listen for it and execute accordingly. Just an idea... On Nov 18, 3:24 am, gregor [EMAIL PROTECTED] wrote: That's a Windows way of looking at things. Check the link I gave, and there are others both on this group and around the net, that explain better than I can why you should maybe reconsider that idea. On Nov 18, 1:51 am, mives29 [EMAIL PROTECTED] wrote: Well, the reason for the two entrypoints is that me and my colleagues are looking for a way to implement a sort of pop-up dialog box, but, something that resides on a separate window, so it wouldn't overlay with the main page. (so the user can alt+tab between the two windows). If there's another way to do this other than creating another entrypoint, please let me know. Thanks. On Nov 17, 7:54 pm, gregor [EMAIL PROTECTED] wrote: Clearly if a module is using a class declared in another module it must explicitly inherit the other module in it's module.get.xml file otherwise the GWT compiler won't have access to the class's source which it needs. Frankly I'm not sure how this would work in the situation as you describe since I have always followed the canonical GWT approach which is using a single HTML page and EntryPoint for each separate application. I'm not sure what your motivation is in having two EntryPoints. I think this results in two separate javascript .js files loaded into your HTML page, therefore there will be a wall between them that accounts for your difficulties. I think it is possible to communicate between separate javascript files using JSNI but that would make your life much more difficult. On the other hand there is no reason not to have your com.try.popup.client.PopUp.java in a separate module (i.e. having it's own module.gwt.xml file) and have this inherited by the com.try.client.Page1.java module. That way it would be compiled as part of your main application (making your problem go away) but still be usable in other applications as well. As I say, what is your motivation for having two EnrtyPoints? regards gregor On Nov 17, 9:42 am, mives29 [EMAIL PROTECTED] wrote: The problem is im using two entrypoints, running on two windows, where the 2nd composite is shown thru Window.open(). I need the first entrypoint's composite to listen to the second entrypoint's composite, but I cant do that since the second entrypoint's composite is instantiated on the second composite, not the first one, so I cant add the first entrypoint's composite as a listener of the second entrypoint's composite. Anyone knows a work around/alternative method of implementing observer pattern on my problem? On Nov 17, 4:00 pm, mives29 [EMAIL PROTECTED] wrote: I tested it on same module, this implementation of the observer pattern works. however, when using this on two modules it doesn't. Do I need to do deferred binding here? I hope not coz I dont know how to. =) On Nov 17, 1:29 pm, mives29 [EMAIL PROTECTED] wrote: oops CnP mistake. on this line: buttons.addChangeListener(this); //where this pertains to Page1Compo1 i meant xx.addChangeListener(this); //where this pertains to Page1Compo1 On Nov 17, 1:22 pm, mives29 [EMAIL PROTECTED] wrote: Hi. I tried your recommendations but there are some errors that I encounter that I think is related to my project's structure compatibility with your code. As I said above, my project has two entrypoints. First entrypoint(com.try.client.Page1.java) contains a vertical panel that contains three composites. Second entrypoint (com.try.popup.client.PopUp.java) contains a vertical panel than contains two composites. (Note: they(entrypoints) are from different modules, same app.) Now I need Page1.java's panel's contained composites to become listeners of PopUp.java's horizontal panel's contained composites. For example, I click something on PopUp.java, Page1.java would show a reaction thru its composites that are listeners of PopUp.java's composite # 2. However, as I followed your instruction, I got this errror: First, my CODE: //On Page1.java's first composite: Page1Compo1.java, I included the following //declaration of composite # 2 xx; //somewhere on the code buttons.addChangeListener(this); //where this pertains to Page1Compo1 THE ERROR: No source code is available for type com.xxxzzz.client..java; did you forget to inherit a required module?
Re: Event driven communication between independent GWT modules
Hello, I've been doing exactly what JEA asks using GWTx (http:// code.google.com/p/gwtx/)... it extends GWT to use java.beans.PropertyChange* which implement all that's needed for the Observer and clientside MVC patterns. As an example for JEA's request you could implement a user model that sends a userLogged PropertyChange event; all registered views (the apps, in his case) to this event would then update accordingly. To manage which apps can/can't be displayed an idea would be to use a static singleton registry-like class... A very good source of information for propertyChange support and best programming practices, and my bible for GWT, is the book GWT in practice by Cooper/Collins on Manning. Hope this helps, Francesco P.S. It woud be great if GWT implemented natively the java.beans package On Nov 5, 2:36 pm, walden [EMAIL PROTECTED] wrote: Joe, Aha! moment: GWT is not Java. Walden On Nov 5, 2:00 am, JEA [EMAIL PROTECTED] wrote: Thanks to everyone who contributed their comments on this problem. It has been tremendously educational for me. This is my first crack at using GWT. To clarify, I am trying to send event messages between separately compiled GWT mini-apps on one page, not just separate modules. As was suggested in this thread, I've found it an intractable problem without resorting to pure javascript plumbing and it sounds like I may not be doing myself any good anyway as far as speed and size are concerned, at least until I am talking about quite a few different mini-apps. Maybe be the time I reach that point, the runAsync feature will be available and solve that problem, too. As much as anything, it just felt *wrong* to be carrying around from page to page a bunch of app code that would be used on only one or two of the pages, but maybe I just need to get over that and get on with the project. Joe --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Conference?
Thanks for this link, very useful! On Nov 3, 5:36 pm, Isaac Truett [EMAIL PROTECTED] wrote: There were several excellent sessions on GWT at Google I/O back in May. Video and slides from sessions are available on the Google I/O web site below. http://sites.google.com/site/io/ On Mon, Nov 3, 2008 at 10:28 AM, gcivil [EMAIL PROTECTED] wrote: I am looking to attend GWT conference. Any suggestions? Thank You Gennadiy Civil http://www.clarity-design.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC error with MapString, String
I have been having the very same warning on my code since I installed GWT1.5.2. It never caused the application to fail, though On Oct 31, 7:17 pm, walden [EMAIL PROTECTED] wrote: Ian, Actually, that OrderedConstantSet is an extension of HashMapString,String, so changing to HashMap isn't going to help. I know because I tried it already, too. I could understand if the compiler traced a dependency to a class with a final field, but in this case, the relationship between my serializable Map and the one from i18n package seems associative through the type HashMapString,String, not actually a dependency. Wierd. I was going to post on this problem when I first noticed, but then it was working, so I didn't bother. But now I'd really like to know what's up. Walden On Oct 31, 11:52 am, Ian Petersen [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 10:46 AM, WebDude [EMAIL PROTECTED] wrote: Out of curiosity more than anything, I would like to understand why this error occurs. I've read issue 2862 (http://code.google.com/p/ google-web-toolkit/issues/detail?id=2862), but I don't quite follow. How come all of the other maps go through fine. String by themselves go through. Collections of Strings go through. Why doesn't a Map with Strings as the values go through? I don't even have to put anything into the map. This is a compiler warning we're talking about, right? If so, then the compiler is raising the warning not because of anything you're doing but because it has found a Map implementation with a final field (in this case it's the implementation with a field named keys of type com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSetjava.lang.String). This is probably a bug in GWT, not something wrong with your code. You could probably get rid of the warning if you changed your type definition to use HashMapString, String instead of MapString, String but that has the obvious downside of restricting you to HashMaps. Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.5.2 - gwt-user.jar errors
I did... thank you On Sep 12, 2:44 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On 12 sep, 12:08, francescoNemesi [EMAIL PROTECTED] wrote: Hi there, I have upgraded to GWT 1.5.2 and when running in hosted mode (only mode I tried), I get many gwt-user.jar errors, the first ones are shown below.. Any ideas as to hwy and how to fix these problems? You must have an older gwt-user.jar in your classpath. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---