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: Linker and Generator documentation
The problem with that is that the GWT EventBus would be compiled separate for each module and I need them to understand each other when compiled independently. I'll continue to work on it and hopefully find something. -- 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/-/eEpNfG7mpbQJ. 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: Linker and Generator documentation
Well, that is kinda the plan, I was going to use a standard JS eventBus to facilitate the communication but I need to ensure that the event makes sense to both modules. If the compiled event is different for each then they won't understand what the event is. -- 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/-/9p2t6scgGK0J. 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.
Linker and Generator documentation
Hey All, I have a use case where I need two different GWT modules (compiled separately) to communicate with each other and I'd prefer to do this seamlessly for the developer. My idea is to create an extension of the GWTEvent and extend it to create a GlobalEvent that when seen by either a generator or a linker (not sure which yet) will allow that event to be serialized and deserialized by the EventBus objects in each module so that they can communicate through their typical mechanisms. I've researched Generators and Linkers before but felt like there used to be a lot more (and better) documentation. Can anyone point me to some good documentation on the two? On a side note I'd love to get suggestions on how to accomplish the above use case :) Thanks in advance -- 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/-/MnHlvASl5BkJ. 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: Dev Mode gwt.rpc file
Anyone? On Jun 17, 1:54 pm, bconoly bcon...@gmail.com wrote: Hey All, I'm trying to write code to retrieve the serialization policy manually and ran into an issue. My compiled GWT code outputs a gwt.rpc file indicating what can and cannot be serialized for my app but when I deploy dev mode that file is no where on my file system. Is this in some hidden location? Is there a way for me to tell dev mode to generate this file if it's done in memory or something? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Module Strong Name
Yeah, didn't think it would be easy, I've resorted to getting the context and looking for the gwt.rpc file. So far I've only seen one per GWT compilation, would that change? Or is it always 1 gwt.rpc file? On Jun 16, 4:15 pm, Thomas Broyer t.bro...@gmail.com wrote: There's no easy way, because the strong name (basically, the name of the *.cache.html file initially loaded) depends on rebind properties. While it's possible (in GWT 2.3, maybe 2.2) to use the user.agent selection code on the server-side, it might not be enough (e.g. when you also have per-locale permutations). So, it's technically feasible, but I wouldn't call it easy by any mean (note however that I didn't try doing it either). -- 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.
Dev Mode gwt.rpc file
Hey All, I'm trying to write code to retrieve the serialization policy manually and ran into an issue. My compiled GWT code outputs a gwt.rpc file indicating what can and cannot be serialized for my app but when I deploy dev mode that file is no where on my file system. Is this in some hidden location? Is there a way for me to tell dev mode to generate this file if it's done in memory or something? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Module Strong Name
I'm trying to do manual serialization of an object on page load and I have all my code to do it but I need to find the module's Stong Name. Does anyone know of an easy way to get this on the server without sending a request from the client? Thanks in advance, Brett -- 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 2.2 and FocusWidget
Hey All, We recently upgraded to gwt 2.2 and one of our widgets that extends FocusWidget is no longer firing the onfocus and onblur events. Does anyone know why or how that could happen? If so, do you know a fix for it? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.2 and FocusWidget
Hey All, I have a custom widget that extends the GWT FocusWidget. It is highly dependent on getting onFocus and onBlur events but unfortunately when I recently upgraded to GWT 2.2 it no longer fires these events. Does anyone have any idea what I can do to fix this or why this is happening? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: @AlternateMessage and null values
Anyone? On Mar 24, 11:11 am, bconoly bcon...@gmail.com wrote: Hey All, I'm trying to use the new @AlternateMessage annotation in my message interface to control messages when some values are null and some are not. The javadoc for the AlternateMessage says it accepts Strings but it doesn't seem to handle a null value whether I try to mark it with none or null. Any suggestions on how I can get this to work? @DefaultMessage(span class=''label''User ID:/span {0}, span class=''label''Alt ID:/span {1}, span class=''label''CIS #:/ span {2}, span class=''label''Name:/span {3}) @AlternateMessage({ other|none|none, span class=''label''User ID:/span {0}, span class=''label''Name:/span {3}, other|other|none, span class=''label''User ID:/span {0}, span class=''label''Alt ID:/span {1}, span class=''label''Name:/span {3}, other|none|other, span class=''label''User ID:/span {0}, span class=''label''CIS #:/span {2}, span class=''label''Name:/span {3}, none|other|other, span class=''label''Alt ID:/span {1}, span class=''label''CIS #:/span {2}, span class=''label''Name:/ span {3} }) public String userSelection(@Select String memberNumber, @Select String altMemberNumber, @Select String cisNumber, String memberName); Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: @AlternateMessage and null values
Hmmm, nope didn't work, does the @AlternateMessage support handling null values? On Mar 25, 11:49 am, Jeff Larsen larse...@gmail.com wrote: Try @Optional in front of the strings that can be null. -- 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.
@AlternateMessage and null values
Hey All, I'm trying to use the new @AlternateMessage annotation in my message interface to control messages when some values are null and some are not. The javadoc for the AlternateMessage says it accepts Strings but it doesn't seem to handle a null value whether I try to mark it with none or null. Any suggestions on how I can get this to work? @DefaultMessage(span class=''label''User ID:/span {0}, span class=''label''Alt ID:/span {1}, span class=''label''CIS #:/ span {2}, span class=''label''Name:/span {3}) @AlternateMessage({ other|none|none, span class=''label''User ID:/span {0}, span class=''label''Name:/span {3}, other|other|none, span class=''label''User ID:/span {0}, span class=''label''Alt ID:/span {1}, span class=''label''Name:/span {3}, other|none|other, span class=''label''User ID:/span {0}, span class=''label''CIS #:/span {2}, span class=''label''Name:/span {3}, none|other|other, span class=''label''Alt ID:/span {1}, span class=''label''CIS #:/span {2}, span class=''label''Name:/ span {3} }) public String userSelection(@Select String memberNumber, @Select String altMemberNumber, @Select String cisNumber, String memberName); Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT eclipse plugin doesn't recognize bundle resources on classpath
Hey All, I just reinstalled the gwt eclipse plugin so I could start experimenting with the uibinder and what we like to do is separate out our static resources from our java files. In the standard maven way we put these resources in our src/main/resource folder which works great, is on our classpath, and has no problems during the compile. When I install the gwt eclipse plugin I always have issues with it giving me error messages because it can't find the static resources. Is there any way that the plugin can be enhanced to support the project's classpath, not just the current package? EX: This gives me the error message Resource file tabbed-neutral.css is missing (expected at com/intuit/uilibrary/public/css/disclosure) in eclipse but works fine every where else. @NotStrict @Source(com/intuit/uilibrary/public/css/disclosure/tabbed- neutral.css) public TabbedDisclosureCss css(); Thanks, Brett -- 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 Incubator with GWT 2.2
Hey All, Trying to upgrade to 2.2 and I'm getting a build error with an incubator dependency, does anyone know when a new build will be available? Thanks, Brett -- 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.
Adding DOM event handlers to elements
Hey All, I need to add DOM event handlers (mouse over, mouse out, etc) to an Element object. I currently am adding them to a widget but unfortunately I need to add them to the element object and so far I can't do it. Does anyone know how I can accomplish this? Thanks, Brett -- 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.
Using a Generator to write to nocache.js
Hey All, I am extremely unfamiliar with using generators but I'm going to start experimenting. My biggest question though is that I want my generator to write JS code directly to nocache.js rather than individual permutations. Does anyone know how I can go about doing that? Thanks, Brett -- 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: local script variables in nocache.js
If it helps any I need the following: nocache.js: this.resourceUrl = $resourceUrl; GWT jsni: /** * Returns the resource url set in nocache.js after it has been replaced by the template. */ private native String getResourceUrl /*-{ return resourceUrl; }-*/ Thanks On Feb 2, 8:16 am, bconoly bcon...@gmail.com wrote: Hey All, I'm using GWT in portlets and I've run into a unique circumstance where I have an instanceable porltet being placed multiple times on the same page. Currently the url that I use to make my RPC calls is set as a global variable in the page and with 2 or more instances on the same page they overwrite each other allowing only one to work. I had an idea of pulling the nocache.js file into my velocity template so I could place the url variable in it so it is scoped locally but I need it as part of the compile. Is there any way I can place a variable into the nocache.js that will be local to each instance of the script running? And if so, how do I get access it inside the GWT execution context? Thanks in advance, Brett -- 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.
local script variables in nocache.js
Hey All, I'm using GWT in portlets and I've run into a unique circumstance where I have an instanceable porltet being placed multiple times on the same page. Currently the url that I use to make my RPC calls is set as a global variable in the page and with 2 or more instances on the same page they overwrite each other allowing only one to work. I had an idea of pulling the nocache.js file into my velocity template so I could place the url variable in it so it is scoped locally but I need it as part of the compile. Is there any way I can place a variable into the nocache.js that will be local to each instance of the script running? And if so, how do I get access it inside the GWT execution context? Thanks in advance, Brett -- 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.
wildcard in define-property
Hey All, I have a property that can be just about anything and isn't preset to any 1, 2, etc values. I there a wildcard that I can use as values for the define-property element in the gwt xml? define-property name=prop values=*/ Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Escaping { and } in GWT Messages
Thanks, that was it. On Jan 19, 5:31 am, Thomas Broyer t.bro...@gmail.com wrote: As you would do with MessageFormat in non-GWT Java, as the JavaDoc for Messages and Messages.DefaultMessage points out:http://download.oracle.com/javase/1.5.0/docs/api/java/text/MessageFor... I.e. use '{' to *escape* your left curly brace: @DefaultMessage(Message containing a '{' left curly brace and a } right curly brace. Oh, and an '' apostrophe, just in case you wondered) -- 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.
Escaping { and } in GWT Messages
Hey All, I need to add a left { and right } to some of my messages and GWT keeps trying to replace them with a non-existent parameter. Does anyone know how I can escape these characters in the @DefaultMessage annotation? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Get Requests
Ha, you caught me, but thanks that looks like it may be exactly what we need. On Dec 20, 5:02 pm, George Georgovassilis g.georgovassi...@gmail.com wrote: To be precise, you haven't done _any_ research ;-) Try searching this group with RPC get [1] [1]https://groups.google.com/group/google-web-toolkit/search?group=googl... On Dec 20, 10:12 pm, bconoly bcon...@gmail.com wrote: Hey All, We're having issues with our apache servers, IE, and post requests currently and a solution that someone came up with was to change all GWT RPC requests in our apps to GET rather than POST requests. To be honest I haven't done a lot of research into this but I was wondering if anyone knew off the top of their heads an easy way to do this? 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-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.
Class.getName();
Hey All, I'm having an issue trying to use Class.getName in my client side code. When I'm in dev mode it returns exactly what I want and everything works great. But after a compile Class.getName() ends up with something like Class$kSb or Class$aRb and I have no idea why. Does anyone happen to have an idea why this is happening? Thanks, Brett -- 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: Class.getName();
Thanks, that was it On Dec 20, 10:09 am, Thomas Broyer t.bro...@gmail.com wrote: Seehttp://code.google.com/p/google-web-toolkit/wiki/NoClassMetadataOptim... -- 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.
RPC Get Requests
Hey All, We're having issues with our apache servers, IE, and post requests currently and a solution that someone came up with was to change all GWT RPC requests in our apps to GET rather than POST requests. To be honest I haven't done a lot of research into this but I was wondering if anyone knew off the top of their heads an easy way to do this? 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-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: Using REST with GWT
We actually use a JAXB marshaller on our server to unmarshall responses from our rest services and then send those objects directly down to the client via GWT RPC. The way to accomplish this is to create a simple GWT project and copy and paste the jaxb source into it. Once done create your gwt.xml with the source path pointing to your jaxb packages and then inherit that in your GWT module. This will allow you to unmarshall your responses and send them directly down to the client for caching. On Nov 5, 6:29 am, Andreas koebe...@gmail.com wrote: We're start a project using gwt 2.1. What is the best way to communicate with a rest interface. Especially how to batch multiple requests and how to cache response on the client using webstorage or other client side technics. -- 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: Invoking of clicking on html link (Thickbox integration)
First off I'd recommend not using a 3rd party js library as it bypasses the benefits of the gwt compiler. GWT does have a DecoratedPopupPanel in its main library. If you need to call an external anchor from your app you can use a native JS call to do it. public static native void clickThickBoxLink(String id) /*-{ $(id).click(); }-*/ Hope this helps On Oct 18, 1:41 pm, Jirka Kr. jiri.krem...@gmail.com wrote: How can I invoke a click or simulate clicking on plain old a href=path to image class=thickbox /a. In my application I want to use jquery library ThickBox (http://jquery.com/demo/thickbox/). But all my html content is dynamic. With Hyperlink class I can change only text after anchor. I want to show preview of image, when user double cliks on its thumbnail and I don't know how to invoke it from a listener. Or is there any alternative solution? I saw glass panel from gwt- incubator, but I think it is rather difficult, I want simple functionality like thick box. Thanks in advance, JK -- 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: 2 Questions: getOffsetHeight ignores margin C ssResource doesn´t include css property
I thought that getClientHeight took margin, padding and border into account while offset didn't. You may want to try that. I'm unfortunately not sure of the second question. On Oct 6, 12:17 am, Sandler smike...@gmail.com wrote: Hi guys, i´ve got 2 questions. I´m using getOffsetHeight to get the height of an Widget. This works fine, but when i adding a css margin to the widget, the css-property seems to be ignored. The doc says: This is the total width of the object, including decorations such as border, margin, and padding. Is this an bug? The next thing i would like to know is, if its possible to use none WC3 valid css-properties like: background: -moz-linear-gradient(top, white 0%, skyblue 75%); inside a ClientBundle, CssResource CssFile. Is there an config property to allow such css? Im using this for an private Project and it would be annoying if this was not possible. Greets from Austria, Six Michael -- 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: How to merge 2 projects into 1?
In order to get it to work you need to build the source jars of both client side apps and add them as a dependency to your gwt build. I use maven so this is pretty easy but I'm unsure how to do it with ant. Once you have this included you need to make sure that your gwt.xml files have the code you needed listed in the source path either via inherit or by a source path declaration. For maven we use the following to build the source jars: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId executions execution idattach-sources/id phaseverify/phase goals goaljar/goal /goals /execution /executions /plugin /plugins /build and then list it as a dependency using: dependency groupIdcom.mycomp/groupId artifactIdmyartifact/artifactId /dependency dependency groupIdcom.mycomp/groupId artifactIdmyartifact/artifactId classifiersources/classifier /dependency Hope this helps On Oct 6, 6:19 am, newnoise tommmuel...@googlemail.com wrote: Hi all, I created two projects with GWT and Eclipse-Plugin. Because both projects have a completly different client-side code, but also completly the same server-side code, I want to combine them to avoid having the same code twice. What I did was to link the project without the server-side code to the one with the server side code. Eclipse isnt showing any error. But when I compile the project now, GWT says: No source-code available for both the XXXService.java und XXXServiceAsync.java. Adding com.XXX.client to the projects XXX.gwt.xml doenst help ... Can anyone tell me how to solve this issue? Thanks a lot! Tom -- 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: How to use GWT RPC with Portlets?
Unfortunately there's nothing supported through the main GWT library. We're doing the same but we had to implement our own JSR-286 portlet to support the rpc mechanism. Basically you can do a copy and paste of the gwt servlet and RPCServletUtils into a GWT Portlet and RPCPortletUtils respectively using a ClientDataRequest any time you see HttpServletRequest. Once this is done you have a big difference between Servlet requests and Portlet requests. There can only be one url for portlet resource requests rather than multiple for multiple rpc requests. The solution to this was to use GWT-dispatch to allow all of our rpc requests going to the same url. I would love to contribute what I have but unfortunately it's very proprietary and heavily dependent on spring. If you have any questions on your implementation please feel free to elaborate.. Thanks On Oct 1, 8:48 am, anthony.more...@stambia.com anthony.more...@stambia.com wrote: Hello, I managed to incorporate a simple GWT application with RPC into a portlet. However, I would like to pass data between the GWT application and the portlet. How does it work? Can the RPC send data to the portlet via the ActionRequest or RenderRequest object? The interaction between GWT and Portlets looks pretty obscure to me. Best Regards -- 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: FlowPanel - Children are added from right to left #-)
Unfortunately this doesn't have anything to do with GWT. Floating elements to the right always place the first element to the far right and the next to the left of it. One thing you could try is putting this elements in a span with display=inline-block and then floating that span to the right. This would put the buttons in the order you want and still have them aligned to the right. style: button-float: { display: inline-block; float:right; } div class=button-container span class=button-float button value=button1/ button value=button2/ button value=button3/ /span /div Hope this helps On Sep 29, 12:37 pm, Magnus alpineblas...@googlemail.com wrote: No ideas? Magnus -- 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: How to import Expenses project into Eclipse?
I haven't built it myself but you may want to 1) Make sure the M2_HOME is set in your eclipse variables (may have to search for it) 2) Run mvn eclipse:eclipse in your project directory 3) import an existing project into your eclipse ide. On Sep 28, 8:32 pm, Bayard Randel k...@bestpractice.net.nz wrote: I'm not familiar with Maven and struggling to build this as well. Is a simple Ant build for an eclipse project likely to be included at some point? On Sep 28, 9:39 pm, hezjing hezj...@gmail.com wrote: I got a little bit further with the following steps: 1. Build the GWT source code: cd C:\gwt\trunk ant 2. Install the latest GWT JARs into local Maven repository:mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-servlet ^ -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-servlet.jarmvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user ^ -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-user.jar 3. Import C:\gwt\trunk\samples\expenses to Eclipse as an existing Maven project. Now I'm able to browse the project without any error. How should I run the application from Eclipse? I tried: 1. Project - Properties - Google - App Engine Settings ... Check 'Use Google App Engine' Use specific SDK: 'C:\Documents and Settings\hezjing\.m2\repository\com\google\appengine - unknown version' 2. Project - Properties - Google - Web Toolkit Check 'Use Google Web Toolkit' Configure and use the SDK at C:\gwt\trunk\build\staging\gwt-0.0.0 3. Project - Properties - Google - Web Application Check 'The project has a WAR directory' WAR directory: src/main/webapp Uncheck 'Launch and deploy from this directory' With the above steps, I got an error that says: The App Engine SDK 'C:\Documents and Settings\cpt2t2o\.m2\repository\com\google\appengine' on the project's build path is not valid I also failed to run the application from command line using gae:run: C:\gwt\trunk\samples\expensesmvn gae:run [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'gae'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.codehaus.mojo:google-app-engine-maven-plugin' does not exist or no valid version could be found I definitely need more help from you :-) On Tue, Sep 28, 2010 at 3:16 AM, Ed M mwamuf...@gmail.com wrote: where are you supposed to run the 'mvn package' command from? If the answer is the command prompt. I'm assuming that this means one has to actually download maven, not just the eclipse plugin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Hez -- 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: CSS Opacity on IE8
I believe there is a problem with GWT's dom implementation for IE 8. I found a workaround here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/bfeb810a63066989/6e70f7d7868c4440?lnk=gstq=bconoly#6e70f7d7868c4440 On Sep 27, 7:28 am, Nicolas ANTONIAZZI nicolas.antonia...@gmail.com wrote: Hello, I think that there is a problem with the Dom Implementation of opacity in IE8. getElement().getStyle.setOpacity(value); The standard way of setting a css opacity is opacity : value with IE6 or 7, it is : filter : alpha(opacity=value); with IE8, it is the same. but there is only a specific implementation for IE6/IE7 browser in gwt gwt source code : in file : DomImplIE6.java : �...@override public native void cssSetOpacity(Style style, double value) /*-{ style.filter = 'alpha(opacity=' + (value * 100) + ')'; }-*/; in file : DomImplIE8.java : nothing, and DomImplIE8 do not inherit from DomImplIE6 Am I missing something or is it a bug / oversight ? Thanks, Nicolas. -- 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 2.0 + maven
This article may help: http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html On Sep 27, 5:12 am, aces2805 ace...@gmail.com wrote: Hi Guys, Need help on configuring maven and GWT 2.0 no idea on how to handle Invalid GWT home, just a newbie in it. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Client side serialization and deserialization of GWT objects
Hey All, I need to create an EventBus implementation that will serialize and deserialize event data objects solely on the client side to allow for event sharing between mulitple GWT modules on a single page. Does anyone know of an easy way for me to do that or possibly an example or implementation that has already been done? 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-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.
IE8 Style.setOpacity
Hey All, It seems that IE8 uses -ms-filter to work opacity propertly and the Style function for setting opacity works great in all browsers but IE8. Does anyone know a workaround for setting the -ms-filter property via javascript? I've tried several: style.setProperty(MsFilter, progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )); style.setProperty(MsFilter, \progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )\); style.setProperty(msFilter, \progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )\); Any suggestions would be greatly appreciated, Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: IE8 Style.setOpacity
Nevermind, I asked too soon, I ended up using: style.setProperty(filter, alpha(opacity \\= + (int)(opacity*100) + )); and it worked fine. On Aug 30, 3:55 pm, bconoly bcon...@gmail.com wrote: Hey All, It seems that IE8 uses -ms-filter to work opacity propertly and the Style function for setting opacity works great in all browsers but IE8. Does anyone know a workaround for setting the -ms-filter property via javascript? I've tried several: style.setProperty(MsFilter, progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )); style.setProperty(MsFilter, \progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )\); style.setProperty(msFilter, \progid:DXImageTransform.Microsoft.Alpha(Opacity= + (int) (opacity*100) + )\); Any suggestions would be greatly appreciated, Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Is GWT's rpc eval() call safe?
Hey All, I've been looking through the gwt code in an attempt to figure out if its call to the javascript eval() function is safe on rpc responses. So far I've seen that it natively calls the eval function in the ClientSerializationStreamReader class with an encoded response. Unfortunately I haven't been able to find how this response is encoded. I've also noticed that while the rpc response is json, it also begins with a //OK string. Does this protect rpc calls from executing malicious javascript, if not, what does? 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-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 enum comparison
Thanks On Feb 10, 7:48 pm, Thomas Broyer t.bro...@gmail.com wrote: On 10 fév, 18:05, bconoly bcon...@gmail.com wrote: Hello All, I have an enum in which I'm trying to use it's natural ordering. In the javadocs for the java enum I get that it's based on the order the enum constants are declared so if I declare an animal enum as: DOG, CAT; then using DOG.compareTo(CAT) will tell me that dog comes before cat. Where if i declare them as: CAT, DOG; then using DOG.compareTo(CAT) will tell me that cat comes before dog. My question is, Does the GWT compiled version of Java's Enum support this same feature? Yeshttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... -- 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 enum comparison
Hello All, I have an enum in which I'm trying to use it's natural ordering. In the javadocs for the java enum I get that it's based on the order the enum constants are declared so if I declare an animal enum as: DOG, CAT; then using DOG.compareTo(CAT) will tell me that dog comes before cat. Where if i declare them as: CAT, DOG; then using DOG.compareTo(CAT) will tell me that cat comes before dog. My question is, Does the GWT compiled version of Java's Enum support this same feature? Thanks in advance JAVADOC FOR REFERENCE: public final int compareTo(E o) Compares this enum with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. Enum constants are only comparable to other enum constants of the same enum type. The natural order implemented by this method is the order in which the constants are declared. Specified by: compareTo in interface ComparableE extends EnumE Parameters: o - the object to be compared. Returns: a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. -- 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 maven and jetty caching
Hey All, I'm using the gwt maven plugin to control my builds and the apache war plugin is built into it. Most of our visuals are controlled strictly by css and since our upgrade to gwt 2.0 we're having a horrible caching problem. In the docs for the war plugin it has a variable called useCache that controls caching. Does anyone know if I can pass this in as a system property to the jetty plugin and if so how to do so? 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-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 rpc gzip response failing in FF
Hey All, I've been using gwt and it's rpc requests for a while. All of a sudden some of my request started failing when everything on the server completed perfectly. After a while I checked firebug and the responses I'm getting back are sometimes gzipped and sometimes not. The problem is that any time the response is gzipped my widget doing the request doesn't load. I can only recreate this in FF, and can't seem to do so in IE. Does anyone know why this would be? 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-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 2.0 CSS dependency optimizer
Hey all, I was watching a video from a google conference the other day and one of the presenters mentioned a CSS compiler that will be added to GWT 2.0. While this is compiling and optimizing the css will this also be creating a single sprite based off of the CSS background images and modifying the css code to work accordingly? 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 -~--~~~~--~~--~--~---
Why doesn't igoogle use gwt?
Hey anyone that can answer, An opponent of gwt in our office just asked me why igoogle doesn't use GWT and instead uses YUI. Does anyone know the correct answer to this? I just told them that it was probably created before GWT and hasn't converted or just doesn't have plans to convert to GWT. Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Serializing interfaces in GWT Rpc
Hey All, Just to set the background I'm currently using JAXB to parse xml when it's returned from the server and when I need to serialize the objects it obviously doesn't work because GWT doesn't have access to the jaxb source. In order to get the RPC objects serializing correctly I had to create a mirror of the object without any jaxb annotations or marshaling included. Now, when I receive the response objects I have to manually loop through all of them and create mirrors of each object. This is definitely not preferred. As an attempted solution I was trying to trick the GWT compiler by creating an interface (without the jaxb dependencies) for the RPC object to inherit. Once completed I declared all my references as this interface rather than the actual jaxb object. My hope through all of this was that when GWT went to compile these objects the compiler would grab the values off of the implementation and pass them over to the client where the client would not know of the implementation but would still be able to interact with the interface methods. My first question is, can the compiler compile the interface without the source of the implementation? Secondly, if I can, I'm currently getting a No source code is available message for my interface even though the source is included in the dependency jar along with the gwt.xml that's needed. Does anyone know why this is? 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: Mouse Event Handlers on table rows
I still haven't heard anything about this, I've tried everything from creating my own JavascriptObject to represent a TR to adding mouseover and mouseout attributes to the tr's themselves. Does anyone happen to know a way that I can accomplish this? Thanks, Brett On Jul 17, 11:24 am, bconoly bcon...@gmail.com wrote: Does anyone know of a way I can add Handlers to a TableRowElement? I've tried all that I can think of right now and I'm kinda stuck... --~--~-~--~~~---~--~~ 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 events, image overlays, and GChart
I actually tried that and then called GChart's onBrowserEvent(event) function. That unfortunately didn't work because something deep with the code needed the event. I eventually found a solution using GChart's built in curves by requesting help on their message board here: http://code.google.com/p/gchart/issues/detail?id=39. Thanks On Jul 30, 12:57 am, spike2...@googlemail.com spike2...@googlemail.com wrote: The Image Object has a MouseMoveEvent-Listener, why not capture events on the Image on the foreground and the call a function on your Image in the background, giving the information you need? On 28 Jul., 21:52, bconoly bcon...@gmail.com wrote: Ok, this question may be confusing but I'll be as clear as possible. - Currently I have a Pie Chart rendered using GChart. - I would like to overlay a transparent image over the pie chart for a 3d effect. - I need that overlay image to pass along hover events and click events to the pie chart it's overlaying. My questions are: 1) Does anyone know of a way to make an image or a div with a background image ignore mouse events and let them propogate to the next layer? 2) If not, does anyone know how I could capture these events through the image and fire them off in the correct location of GChart? Thanks tremendously in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT events, image overlays, and GChart
Ok, this question may be confusing but I'll be as clear as possible. - Currently I have a Pie Chart rendered using GChart. - I would like to overlay a transparent image over the pie chart for a 3d effect. - I need that overlay image to pass along hover events and click events to the pie chart it's overlaying. My questions are: 1) Does anyone know of a way to make an image or a div with a background image ignore mouse events and let them propogate to the next layer? 2) If not, does anyone know how I could capture these events through the image and fire them off in the correct location of GChart? Thanks tremendously 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: HTML.getElement.setAttribute(style, background-color:...) not working in IE
Awesome, thanks for the help, that should be exactly what I need. Another issue i was having was dealing with adding EventHandlers to certain elements such as the TableRowElement. Do you happen to know of a utility or something that I just can't find that I can use? I have a post at http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/030e95ad088d159d?hl=en if you'd like to take a look. Thanks again On Jul 17, 1:30 pm, Paul Robinson ukcue...@gmail.com wrote: When setting css attributes from javascript (and hence also GWT), you must use camel case. That means backgroundColor instead of background-color. You might also like to use the Style object, so you can write (IIRC): getElement().getStyle().setProperty(backgroundColor, color); better still (although I suspect only with trunk): getElement().getStyle().setBackgroundColor(color); Paul bconoly wrote: I'm trying to dynamically set the background-color of a div with a set width and height using the HTML.getElement.setAttribute(style, background-color: + color) method and it works fine in firefox but IE for some reason isn't getting the style attribute added to the div element. Does anyone have any idea why that is and how I may be able to fix it? 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 -~--~~~~--~~--~--~---
Mouse Event Handlers on table rows
Does anyone know of a way I can add Handlers to a TableRowElement? I've tried all that I can think of right now and I'm kinda stuck... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
HTML.getElement.setAttribute(style, background-color:...) not working in IE
I'm trying to dynamically set the background-color of a div with a set width and height using the HTML.getElement.setAttribute(style, background-color: + color) method and it works fine in firefox but IE for some reason isn't getting the style attribute added to the div element. Does anyone have any idea why that is and how I may be able to fix it? 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 -~--~~~~--~~--~--~---
overlay for dialog box
Are there any plans to put an overlay behind dialog boxes when they are listed as modal? ...or is there already a way? Also, is there a fix for ie6's png transparency issue built into GWT? If you can't tell, I'm new to gwt, just some basic questions. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---