Re: developer plugin version 1.0.10862 for firefox won't install in firefox 3.6.20 on Ubuntu
I am out of office right now and can't do much at the moment. You can download an older build here: http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi?r=10837 -Alan On Thu, Feb 9, 2012 at 11:23 AM, Tim Zheng timzh...@gmail.com wrote: I was prompted to install the new version today. But it just won't install. It says it'll be installed after restart firefox. But after restarting, it still says it'll be installed after restarting. quite annoying. -- 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 not installing completely
I am out of office at the moment and can't do much until Monday. You can download an older build from SVN to get around the problem: http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi?r=10837 -Alan On Thu, Feb 9, 2012 at 11:22 AM, Allyn allyn.h...@gmail.com wrote: Up until yesterday I was using the GWT Developer Plugin for Firefox 3.6 without issue. Then, suddenly, when I started up Firefox yesterday it did not recognize the plugin as being installed. In the add-on list, the plugin stated that I had to restart Firefox to complete the installation. I tried this, many times, to no avail. I even reinstalled Firefox and downloaded the plugin again. Still didn't work. I have no idea what would cause it to not only stop working suddenly and also not to work when I reinstall everything from scratch. I selected the option to remove all profile and plugin data when I tried the re-install. I'm not really sure what additional information to provide, so if you're reading this thinking I can't help there's too little information then please let me know what else I can provide. -- 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.
how to configure apache log4j for gwt application
I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following class DBConnection{ private static Logger logger = Logger.getLogger(DBConnection.class); public static Connection getConnection(){ PropertyConfigurator.configure(server_resources/log4j.properties); then the console show error: java.io.FileNotFoundException: server_resources\log4j.properties (the system cannot find the path specified) how to make it found the log4j.properties? I try to copy the server_resources/log4j.properties under web-inf and placed inside war, it is ok and no error, but I want it placed under WEB-inf, no method if placed under web-inf? -- 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 configure apache log4j for gwt application
hi tong look at this may be it was useful for you http://whatwouldnickdo.com/wordpress/186/gwt-hosted-mode-and-log4j/ On Fri, Feb 10, 2012 at 2:51 PM, tong123123 tong123...@gmail.com wrote: I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following class DBConnection{ private static Logger logger = Logger.getLogger(DBConnection.class); public static Connection getConnection(){ PropertyConfigurator.configure(server_resources/log4j.properties); then the console show error: java.io.FileNotFoundException: server_resources\log4j.properties (the system cannot find the path specified) how to make it found the log4j.properties? I try to copy the server_resources/log4j.properties under web-inf and placed inside war, it is ok and no error, but I want it placed under WEB-inf, no method if placed under web-inf? -- 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. -- Regards, v.karthik, +919967930663. -- 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 css when deployed to app engine
I'm using the standard theme in GWT 2.4 and have an css-file placed under the war folder. Everything works fine in hosted mode in Chrome but once deployed to app engine Chrome ignores my own stylesheet? In Firefox there is no problem though.. It kind of bothers me that hosted mode and app engine reacts differently in the same browser, can anyone tell me why? I'm running osx 10.6.8, GWT 2.4 and Eclipse Indigo. -- 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: Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?
Thanks Kev, I think I'm getting the idea now, and should be at the point soon where I NEED to fire an event - like you say containing a proper object instead of just an id. I only found myself asking this question because I wanted to add the ID to the history token, so it seemed logical to do away with the event completely. One other thing to ask though. Is it possible to have more than one onValueChange() in your application? I tried adding one to one of my presenters, set the presenter to implement ValueChangeHandlerString but nothing. Is the whole point that you can only have one? Cheers, Drew -- 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/-/-jPh9pce42gJ. 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: Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?
I was adding a history token in a function being called by the event! So much boilerplate! Cheers -- 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/-/rCM4Ue18xKcJ. 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 Designer Issues
is there an actual workaround for this (as suggested in the issue?) Someway to force gwt designer to use the default binding if it can not call the property providers? -- 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/-/U-LypPW72ZEJ. 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: Am I able to write a panel that likes DockLayoutPanel with scroll bar
Do you want a master scroll bar for the complete DockLayout panel than the individual areas?? In that case add the DockLayoutPanel to the CustomScroll/ScrollPanel. On Feb 9, 2:32 am, linhua linhu...@citiz.net wrote: What I want to do is: Currently, I can only add scroll panel inside the center part of DockLayoutPanel. I want all the parts of DockLayoutPanel share a scroll bar. If can do, how to implement a such class? Which class should I extend and what interfaces should be implemented? -- 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.
XMLParser.parse crashes in IE9 (DevMode)
Hi, I'm trying to call XMLParser.parse on a valid XML string (I've tried several variations, including an empty string). It works nicely in Chrome and Firefox, but in IE9 it crashes the browser with the familiar Internet Explorer has stopped working What puzzles me is that by stepping through the code I can see it calls XMLParserImplSafari.parse(...) internally. In Firefox it calls XMLParserImplStandard.parse(...). The error happens only in Development mode. Could it have something to do with me running IE9 32-bit version on a 64-bit computer? I did so because I didn't have a 64-bit JRE installed. Øyvind. -- 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.
New to GWT, installation seems ok, but starter app fails
Hi I am new to GWT, and to this forum, and have installed Eclipese Helios on my win64 machine and installed GWT as described by Google. Then I created a new web app and ran it. (I have tried this on an other machine earlier and it worked fine). The server did not respond. It seems to be problems with the Jetty server, but I dont know how to solve it. See the log below. I would appreciate any help. Thanks. Jostein feb 10, 2012 11:34:36 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger feb 10, 2012 11:34:36 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\Users\Jostein\workspace\Test1\war\WEB- INF/appengine-web.xml feb 10, 2012 11:34:36 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\Users\Jostein\workspace\Test1\war\WEB- INF/web.xml feb 10, 2012 12:34:38 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ feb 10, 2012 12:34:38 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The admin console is running at http://localhost:/_ah/admin feb 10, 2012 11:35:29 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Error for /test1/greet java.lang.VerifyError: Expecting a stackmap frame at branch target 6 in method com.test.Test1.server.GreetingServiceImpl.escapeHtml(Ljava/ lang/String;)Ljava/lang/String; at offset 1 at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java: 428) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java: 339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java: 35) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 60) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java: 97) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 78) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:362) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to
GWT 2.4 ,how can we change display of SelectionCell at run time.
Hello All, here i m finding the column of datagrid ColumnRecord, String col = (ColumnRecord, String) dataGrid.getColumn(j); if (col.getCell().getClass().toString().equals(class com.google.gwt.cell.client.SelectionCell)) { Window.alert(SelectionCell); String value =Dummy; col.getCell().setValue(context, parent, value); } how can i put the Dummy in selection cell displayI dont know how to use setValue,or is there any other method?? Regards, vai. -- 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: raphael4gwt - a new porting to raphaeljs vector graphics library to GWT
On Tue, 7 Feb 2012 10:08:00 -0800 (PST) saurabh saurabh saurabh.bl...@gmail.com wrote: looks great!! Good work. :) I liked it because of 'no overhead'. If I am getting it right, we don't have to include 'raphael.js' file as we do in raphaelgwt. That's right, raphael.js (latest version - not modified) is automatically included by raphael4gwt. I think the API is finnished. Now I'm working on java helpers for path drawing, so we can use java objects for drawing complex path instead raphael strings. Also some 3rd party raphael high level utilities are being added, like the FreeTransform tool from http://elbertf.com/raphael/free_transform/ and others. I hope I could use it in project 'gwt-rcharts'. Interesting project. I hope raphael4gwt helps you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Sebastian Gurin sgu...@softpoint.org -- 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: Am I able to write a panel that likes DockLayoutPanel with scroll bar
I'm not sure it makes sense to make an entire DockLayoutPanel scroll, its a LayoutPanel... If you apply the appropriate overflow value (auto or scroll) to the container element that you would like to scroll, the container will scroll when the child is to big for its current size. Example: dockLayoutPanel.getWidgetContainerElement(flowPanel).getStyle().setOverflowY(Overflow.AUTO); Where dockLayoutPanel is the DockLayoutPanel that you intend to manipulate. On Feb 9, 2:32 am, linhua linhu...@citiz.net wrote: What I want to do is: Currently, I can only add scroll panel inside the center part of DockLayoutPanel. I want all the parts of DockLayoutPanel share a scroll bar. If can do, how to implement a such class? Which class should I extend and what interfaces should be implemented? -- 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: Questions about GWT Layout mechanism
The LayoutPanels will propogate the resize event by using the ProvidesResizehttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ProvidesResize.htmland RequiresResizehttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/RequiresResize.html interfaces. So as long as this chain is unbroken it should work without you having to do anything. So if you want to place your own widget between two LayoutPanels then you have to implement both interfaces. However your case seems to be a little bit different. I am not sure if just setting the first DockLayoutPanels width and height will cause the onResize function to be called (you can debug to check). You should call forceLayout() on your first DockLayoutPanel after you set its dimensions. This will layout its child (including the embedded DockLayoutPanel). You might also have to implement the ReqizesResize interface in your MyOwnScrollPanel and add it to RootLayoutPanel if you want the LayoutPanels to adjust when the browser window changes. -- 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/-/i2DQOdA0d2sJ. 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 Product Forums for GWT
Thanks, but I wasn't, like many I enter the group via http://code.google.com/intl/nl/webtoolkit/community.html Devs, please update the links. -- 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/-/lUwMmb0kCOAJ. 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 Product Forums for GWT
Hi ! but I wasn't, like many I enter the group via http://code.google.com/intl/nl/webtoolkit/community.html Devs, please update the links. What's wrong ? The following link seems quite fine : *Go to the group: google-web-toolkithttp://groups.google.com/group/google-web-toolkit * Best regards, Yannis -- 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: image can show in debug mode, but not when deloyed to weblogic
Remove the initial '/' i.e. Images/abc.png There is a difference in the way devmode treats context paths. -- 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/-/1cLNu_jN7PcJ. 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.
Unexpected internal compiler error
Hi, I'm using GWT SDK 2.4.0 and I'm getting the following error: [ERROR] Unexpected internal compiler error java.lang.NullPointerException at com.google.gwt.dev.javac.MethodVisitor.collectMethods(MethodVisitor.java:122) at com.google.gwt.dev.javac.MethodVisitor.access$000(MethodVisitor.java:33) at com.google.gwt.dev.javac.MethodVisitor$1.endVisit(MethodVisitor.java:66) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1242) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687) at com.google.gwt.dev.javac.MethodVisitor.collect(MethodVisitor.java:58) at com.google.gwt.dev.javac.JsniCollector$Visitor.collect(JsniCollector.java:158) at com.google.gwt.dev.javac.JsniCollector.collectJsniMethods(JsniCollector.java:187) at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:74) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:247) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:701) at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:235) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:447) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:370) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:360) at com.google.gwt.dev.Precompile.precompile(Precompile.java:252) at com.google.gwt.dev.Precompile.precompile(Precompile.java:233) at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) at com.google.gwt.dev.Compiler.run(Compiler.java:232) at com.google.gwt.dev.Compiler.run(Compiler.java:198) at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:177) Anybody saw this yet (and solved it)? Stephan -- 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/-/I3HdPEfyyhIJ. 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.
Async callbacks
Hello everyone, I have one (silly?) question regarding RPC callbacks. Is there any difference (memory usage, performance, ...) between creating callback in every server call: service.callServer(parameter, new AsyncCallbackVoid() {onSuccess() ... .. }); ...and using instance of my own callback class: service.callServer(parameter, myCallback); Thanks in advance Miro S. -- 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.
Questions about StackPanel and other containers from a Flex guy...
1) I'm trying to create a StackPanel with two child panels: a table with a scrollbar in one, and a read-only text box in the other. My code looks like this: // create the stack panel stackPanel = new StackPanel(); stackPanel.setWidth(100%); stackPanel.setHeight(100%); // create the transactions table for the first StackPanel's child CellTableTransaction tableTransactions = setupTransactionTable(); tableTransactions.setWidth(100%); // put it in a ScrollPanel ScrollPanel tableScrollPanel = new ScrollPanel(); tableScrollPanel.setWidth(100%); tableScrollPanel.setHeight(100%); tableScrollPanel.add(tableTransactions); // add the ScrollPanel to the stack stackPanel.add(tableScrollPanel, Transactions, false); When I create it this way, I never see scrollbars on the table. When the table gets too large to fit in the StackPanel, it actually pushes the next header off bounds! However, if I add the ScrollPanel to the main view, it works as expected. Is this a bug, or am I doing something wrong? If it is a bug, is there a workaround? 2) As a Flex guy, I first thought I knew exactly how to use GWT containers like HorizontalPanel and VerticalPanel. I was disappointed to discover that these panels force every child to be the same size. I switched to using FlowPanel, but this doesn't seem to work as I'd expect. For example, I just want to create a simple horizontal toolbar that looks like this: Month: [ComboBox] [spacer] Year: [ComboBox] If I try to add Label objects and ListObjects to a FlowPanel, they actually stack vertically! So how would I create a toolbar like the one above? 3) I read on the blog post http://www.zackgrossbart.com/hackito/antiptrn-gwt/ that I should be using CSS positioning instead of FlexTable. Should I be using it instead of all these layout classes? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory complexity (Frozen Beans et. all)
dparish, I feel your pain. I have tried to get an answer for this for a long time. Thomas has been very helpful, but I still don't have an answer, and am a little baffled that there does not appear to be a straight-forward solution for what looks to be a pretty common use case. Your post (and the referenced blog post) inspired me to write a little about our experience with request factory here: http://www.joshisonit.com/2012/02/our-experience-with-gwts-requestfactory/. For such a mature and well used library, GWT really does have a dearth of strong documentation/tutorials, especially when it comes to some of the newer functionality like RequestFactory. -- 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/-/STZl2pLcLv4J. 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 Designer Not Visiible in IDE
I installed GWT for Eclipse including the Designer, however I have yet to figure out how to open a View in Design mode. There is no Design tab, button or show view link in the Window menu ...where is it?? - thx Mike -- 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 Designer Not Visiible in IDE
Have you tried opening a UI file (UiBinder XML file or GWT Java file) using the GWT Designer editor? If you are having problems using GWT Designer, I would highly recommend taking a look at the docshttp://code.google.com/webtoolkit/tools/gwtdesigner/index.html . -- 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/-/NYbcjpszTk4J. 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.
Weird Error caused by GWT.getModuleName and gwt-platform
Hey All, The subject may be misleading considering I'm working to integrate gwt-platform into our projects and something broke. I have no idea what caused it but I'm hoping someone on here may know. Below is the stack trace I'm getting basically saying that GWT.getModuleName failed...but I have no idea why. Any ideas? [INFO] java.lang.reflect.InvocationTargetException [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [INFO] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [INFO] at com.google.gwt.inject.rebind.BindingsProcessor.instantiateGModuleClass(BindingsProcessor.java:471) [INFO] at com.google.gwt.inject.rebind.BindingsProcessor.populateModulesFromInjectorInterface(BindingsProcessor.java:453) [INFO] at com.google.gwt.inject.rebind.BindingsProcessor.createModules(BindingsProcessor.java:426) [INFO] at com.google.gwt.inject.rebind.BindingsProcessor.process(BindingsProcessor.java:236) [INFO] at com.google.gwt.inject.rebind.GinjectorGeneratorImpl.generate(GinjectorGeneratorImpl.java:76) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:47) [INFO] at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48) [INFO] at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60) [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:681) [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:285) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:274) [INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91) [INFO] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:251) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:170) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:285) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:587) [INFO] at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124) [INFO] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:525) [INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:538) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:492) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:405) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:215) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:187) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:166) [INFO] Caused by: java.lang.UnsatisfiedLinkError: com.google.gwt.core.client.impl.Impl.getModuleName()Ljava/lang/String; [INFO] at com.google.gwt.core.client.impl.Impl.getModuleName(Native Method) [INFO] at com.google.gwt.core.client.GWT.getModuleName(GWT.java:129) -- 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/-/wQxwESsZw7IJ. 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 Designer Not Visiible in IDE
I downloaded the google sample MVP code (Contacts) and am trying to look at one one of the View Java files ContactsView.java in Design mode. Is that not possible? On Feb 10, 1:47 pm, Eric Clayberg (Google) clayb...@google.com wrote: Have you tried opening a UI file (UiBinder XML file or GWT Java file) using the GWT Designer editor? If you are having problems using GWT Designer, I would highly recommend taking a look at the docshttp://code.google.com/webtoolkit/tools/gwtdesigner/index.html . -- 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 Designer + MGWT library = Runtime exception
http://code.google.com/p/google-web-toolkit/issues/detail?id=6693 -- 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/-/HYbnsi3E9_cJ. 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 Designer + MGWT library = Runtime exception
GWT Designer not supporting custom binding properties leads to problems with mgwt. The issue is open since Aug 11. Is this issue scheduled in any way? Maybe one could propose a patch that would fix this? Otherwise we would have to eliminate all deferred binding in gwt,xml files and move it into generators (which is not very nice) and remove all custom variables from css (and maybe a lot more..) 2012/2/10 Konstantin Scheglov scheg...@google.com http://code.google.com/p/google-web-toolkit/issues/detail?id=6693 -- 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/-/HYbnsi3E9_cJ. 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: FF10, here we go again
Plugin is 99% working on Mac OS X Lion - the 'Copy to Clipboard' function does not appear to be working anymore (it was before Lion update, and update to FF10 + the plugin). Could this be a Lion issue, or plugin issue? I'd be happy to open a new issue if there isn't anyone else seeing this - I've searched issues and not found anything directly related Trent -- 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/-/Uf0gF05R00QJ. 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: Capturing “Cancel” selection from GWT Activity.mayStop() response
As Jens suggested overriding AbstractCell#handlesSelection to handle revoking a selection works. I used this to revoke a selection in a CellTree. Thanks Jens. -- 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/-/gdIJ-iJHOewJ. 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 transfer Java Object between different windows with JSNI
I believe someone already reported it in the issue tracker a while ago. It's not going to work though, the issue is that the same Java Class is being compiled into completely different things when used in 2 distinct modules (it's not even stable for a single module depending on changes you'll make in it), because of compiler optimizations. The JS object's properties and methods will be named differently, and will probably have different code or even different arguments (AFAIK, the GWT compiler sometime removes method arguments when it can determine the argument's value is always the same constant value, and then inlines the constant). If you need two windows to talk to each other, use some kind of serialization mechanism (AutoBean for instance), or code directly against JSOs. -- 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/-/CiGgPF4ge2cJ. 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: Google Map in firefox only randomly working
Have you tried using the Maps V3 API for GWT? It is not into Beta yet, but is pretty much complete with 900 unit tests and the widgets you speak to as well. http://code.google.com/p/gwt-maps-api/ See examples here: http://gonevertical-apis.appspot.com/ To use it, just check it out and build it with Maven (instructions http://www.lustforge.com/2012/01/29/gwt-maps-api-v3-and-maven/ ), then drop that jar into your project. It works well for my project. Sincerely, Joe On Feb 9, 6:46 am, Steve Moyer smoye...@gmail.com wrote: A 304 HTTP status code is supposed to tell the browser that it can reuse its cached versions of those resources. I think shift-reload still forces the new ones to be obtained but you have to ask why the browser is sending ETag information for resources it apparently doesn't have. -- 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: Hibernate prematurely flushing within RequestFactoryServlet while building object
I believe it's really supposed to happen the way it's documented in the wiki. Looking at it very closely, your request seems strange though: the PrimaryObject (S : IjEi, T : AK9V76Rtc6gMKi9lbRBXpR_Vfsc=; note: T=proxy type, S=server ID) references a subobjectc S : IjEi, T : VJdvF9mvxcVn$KJmLjACkBkrjhw= which we don't find in the top-level O (operations) list. The instance of SubObjectC we find here has a different ID: S : IjIi. In processOperationMessages, the flow is to load all the objects referenced in the top-level O list (if you look into com.google.web.bindery.requestfactory.shared.messages, this is the ListOperationMessage property of the RequestMessage) and then process their P (property map, or using the same terms as in the wiki all accumulated operations). When traversing the subobjectc property of the loaded PrimaryObject, an EntityCodex.decode() is made that's supposed to simply get the proxy out of the list of proxies previous decoded. In your case though, it's referencing an object that's not yet been seen, so it triggers the loadDomainObject code-path. This is not supposed to happen as, on the client-side, as soon as you edit() an object, you automatically edit() all referenced objects recursively, and then when building the request, one OperationMessage is made for each edited object (this is done in AbstractRequestContext). So your S=IjEi SubObjectC should have been in the 'editedProxies' list and should have resulted in an OperationMessage. On the server-side, it would then have been loaded at the same time as other domain objects, and then simply reused from the MySimpleRequestProcessor$1.visitReferenceProperty(String, AutoBean?, PropertyContext) line: 547 instead of triggering a loadDomainObject. Are you doing anything tricky on the client-side? If so, blame yourself, but if you're only doing standard things, then please try to make a reduced test case and file an issue. -- 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/-/C0LigUJeLM4J. 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.
formpanel retry when fail
how to make formpanel submit() auto retry when fail /aborted, connection got 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.
[gwt-contrib] Re: Fix ListBox UiBinder parsing. (issue1629803)
LGTM, with a couple of nits. http://gwt-code-reviews.appspot.com/1629803/diff/1/user/src/com/google/gwt/uibinder/rebind/GetEscapedInnerTextVisitor.java File user/src/com/google/gwt/uibinder/rebind/GetEscapedInnerTextVisitor.java (right): http://gwt-code-reviews.appspot.com/1629803/diff/1/user/src/com/google/gwt/uibinder/rebind/GetEscapedInnerTextVisitor.java#newcode90 user/src/com/google/gwt/uibinder/rebind/GetEscapedInnerTextVisitor.java:90: escaped = escaped.replaceAll(\\s+, ); could escaped be null? http://gwt-code-reviews.appspot.com/1629803/diff/1/user/src/com/google/gwt/uibinder/rebind/XMLElement.java File user/src/com/google/gwt/uibinder/rebind/XMLElement.java (right): http://gwt-code-reviews.appspot.com/1629803/diff/1/user/src/com/google/gwt/uibinder/rebind/XMLElement.java#newcode446 user/src/com/google/gwt/uibinder/rebind/XMLElement.java:446: public String consumeInnerTextEscapedAsHtmlStringLiteral(InterpreterString interpreter, This method name is somewhat confusing now - consumeInnerTextEscapedAsHtmlStringLiteral - does that name still apply even if html entities are not escaped? http://gwt-code-reviews.appspot.com/1629803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors