Passing a argument to GWT application
I want to pass my GWT application a recordID at the time I call the URL. The application would then retrieve the record from the server and display the record on the screen. What is the best way to do this and is it possible to pass command line arguments to a GWT application? --~--~-~--~~~---~--~~ 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: IE6 PNG transparency fixes for CSS images
I believe at IE6 does not support PNG transparencies. When we converted the PNG to GIF format, it worked. On May 21, 9:19 pm, mrpantsuit kevin.peter.w...@gmail.com wrote: I can't seem to get any of the IE6 PNG transparency fixes (SuperSleight, unitpngfix,http://www.komodomedia.com/blog/2007/11/css-png-image-fix-for-ie/) working in my GWT app. (Note that my PNGs are specified in my CSS, so solutions like PNGImage won't help.) Has anyone gotten any of these working? --~--~-~--~~~---~--~~ 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: Parsing http GWT command line
Here are two classes that can be used to get at the values in the command line: import com.google.gwt.core.client.JavaScriptObject; /** * Thanks to Robert Hanson and Adam Tacy for GWT in Action. */ public class CommandLine extends JavaScriptObject { private static CommandLineImpl impl = new CommandLineImpl(); protected CommandLine() { } public static final String getArg(String key) { return impl.getArg(key); } } //+ public class CommandLineImpl { /** * Javascriptcode thanks to Scott Burton and lobo235 */ public native String getArg(String name) /*-{ name = name.replace(/[\[]/,\\\[).replace(/[\]]/,\\\]); var regexS = [\\?]+name+=([^#]*); var regex = new RegExp( regexS ); var results = regex.exec( $wnd.location.href ); if(results == null) { return ; } else { return results[1]; } }-*/; } Then in your entry point you have a call like this: String value1 = CommandLine.getArg(key1); On Feb 6, 12:02 pm, OffTheWall move-o...@comcast.net wrote: I would like my GWT application to parse the url that it was called with. Something like this: http://mymachine.com/myapp?key1=value1 And be able to grab the key values pairs from within my application. The key may be a fixed value, and the value of course will change with invocation of my application. Can anybody help me with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Parsing http GWT command line
I would like my GWT application to parse the url that it was called with. Something like this: http://mymachine.com/myapp?key1=value1 And be able to grab the key values pairs from within my application. The key may be a fixed value, and the value of course will change with invocation of my application. Can anybody help me with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---