gwt-google-api support
As GWT is now gaining force again, will we have support to gwt-google-api libraries again? Particulary, I'm very interested in the gwt-gadgets project, but I'm seeing that the last commit was in november/2011. And the OpenSocial API is at 2.0.x version but gwt-gadgets only covers the 1.0.x version. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: I need java.util.Collections synchronized classes.
probably something like inherits name='java.util' / and having src/java/util/Collections.java The com.google.gwt.user.User was an example for my case - not yours. You have to adapt it accordingly. Vassilis On Tue, Feb 10, 2015 at 5:40 PM, ehod...@usdataworks.com wrote: I have a couple of GWT module files. One of them inherits com.google.gwt.user.User. In that one I've tried to override Google's implementation of java.util.Collections. I've placed their Collections.java file under the paths src/emul/java/util and src/java/util, but when I compile my GWT code my version of Collections.java isn't being used. Is there something I need to do in my gwt.xml file to include the source path containing my version of Collections.java? My gwt.xml is located at src/com/mycompany. It includes a lot of source tags to pick and choose which of our Java files are compiled for GWT. Is my use of source tags excluding my version of Collections.java? If so, how do I include it, since it isn't under the src/com/mycompany path? On Tuesday, February 10, 2015 at 2:55:22 AM UTC-6, Vassilis Virvilis wrote: You need to create a a GWT module file gwt.xml file. Please see http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html Basically from your master .gwt.xml you inherit the module with the files to super source. In my case I wanted to override google's PopupPanel so in my master.gwt.xml I have ... inherits name='com.google.gwt.user.User' / ... and in my src/ src/ com.mycompany.xxx Xxx.java com.google.gwt.user.User PopupPanel.java Hope that helps Vassilis On Mon, Feb 9, 2015 at 5:36 PM, eho...@usdataworks.com wrote: I'm able to exclude these classes from my IDE and build scripts, but I can't get the GWT compiler to see them. I put them at what I think is the same location they had in the gwt-user module, but they aren't included when I compile my module. I don't understand the syntax of the super-source tag enough to make it include them based on my gwt.xml file. On Saturday, February 7, 2015 at 1:57:08 AM UTC-6, Vassilis Virvilis wrote: No it won't collide during GWT compilation. It will super source and override the original. However it will collide during normal java compilation. To that end in your IDE / build environment you need to make sure that the specific package (java.util) is excluded from compilation by the java compiler but it is included for the GWT compiler. Hope that helps. Vassilis On Sat, Feb 7, 2015 at 12:20 AM, eho...@usdataworks.com wrote: I found an emu directory with a Collections implementation. Problem is that Collections.java file has a java.util package. I can't put that in my source tree. It will collide with the real implementation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Library Sources are not available in SuperDevMode
I created a demo project here: https://github.com/confile/Realtime-JSON-Test It compile with GWT compile without any problems from Eclipse. When I run the app in SuperDevMode the first compile failed with the following errors: Compiling 1 permutation Compiling permutation 0... [ERROR] An internal compiler exception occurred com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:121) at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:140) at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132) at com.google.gwt.dev.jjs.impl.Devirtualizer.getStaticImpl(Devirtualizer.java:562) at com.google.gwt.dev.jjs.impl.Devirtualizer.access$400(Devirtualizer.java:75) at com.google.gwt.dev.jjs.impl.Devirtualizer$RewriteVirtualDispatches.ensureDevirtualVersionExists(Devirtualizer.java:184) at com.google.gwt.dev.jjs.impl.Devirtualizer$RewriteVirtualDispatches.endVisit(Devirtualizer.java:101) at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:580) at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:183) at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:355) at com.google.gwt.dev.jjs.ast.JInterfaceType.traverse(JInterfaceType.java:75) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:380) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:292) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:284) at com.google.gwt.dev.jjs.ast.JProgram.visitModuleTypes(JProgram.java:1192) at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1156) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:380) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:292) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:284) at com.google.gwt.dev.jjs.impl.Devirtualizer.execImpl(Devirtualizer.java:320) at com.google.gwt.dev.jjs.impl.Devirtualizer.exec(Devirtualizer.java:218) at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler$MonolithicPermutationCompiler.normalizeSemantics(MonolithicJavaToJavaScriptCompiler.java:95) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:290) at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296) at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143) at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197) at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50) at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137) ... 27 more [ERROR] no source info: source info not available [ERROR] at JsonElement.java(19): public abstract JsonElement clear(); com.google.gwt.dev.jjs.ast.JMethod [ERROR] at JsonElement.java(18): interface JsonElement extends Serializable com.google.gwt.dev.jjs.ast.JInterfaceType [ERROR] at Unknown(0): JProgram com.google.gwt.dev.jjs.ast.JProgram [ERROR] Unrecoverable exception, shutting down com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.javac.CompilationProblemReporter.logAndTranslateException(CompilationProblemReporter.java:106) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:367) at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296) at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143) at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197) at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50) at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74) at java.lang.Thread.run(Thread.java:745) [ERROR] Not all permutation were compiled , completed (0/1) [WARN] recompile failed [WARN] continuing to serve previous version The library uses the *super-source path=super /* tag. From the GWT documentation I found ( http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html) In development mode, the native JRE classes always supercede classes
JSInterop and terse JSNI syntax
Hi. Ray's talk, Deep Dive in JsInterop https://drive.google.com/file/d/0B3ktS-w9vr8IN3d6UUNyWTJIOTQ/view, shows an example to write terse JSNI syntax without the need to write native methods. Is this already available on 2.7.0? String helloWorld = js(“$0 + $1”, “Hello”, “World”); I found the JsInterop annotations but not the *js()* method. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Is there any way I can make a macro in Eclipse called New Custom Widget that automatically generates the two custom classes that need to be created, given a user specified name?
I'm working with some custom GWT code that creates a new widget for a library of tools by creating two new custom classes and adding some custom code to an array in an existing class. I can't be too descriptive due to a NDA I signed to work here. Is there any way I can make a macro in Eclipse called New Custom Widget that automatically generates the two custom classes that need to be created, given a user specified name, and adds the needed reference to the array in the existing class? Then the user can fill in the macro-generated methods in the (macro-generated) classes as needed? I have not been able to find any answers to my question looking at existing questions. Thank you, Grace -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT and Material Design
Nice! Do you have the current code / a starting project available as open source? I would love to use this. On Saturday, February 7, 2015 at 12:59:07 AM UTC-5, mark kevin ringor wrote: Checkout our under development project on http://gwt-material.appspot.com/ we are integrating the MaterializeCSS(http://materializecss.com/) to GWT. Hope you like it :) On Tuesday, January 6, 2015 at 10:30:37 AM UTC+8, philip andrew wrote: Hi there, Has anyone tried to make a Material Design for GWT? http://www.google.com/design/spec/material-design/introduction.html Philip -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: JSInterop and terse JSNI syntax
The js() method does not exist yet (not even in GWT trunk). -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: JSInterop and terse JSNI syntax
You need to enable the flag -XjsInteropMode to use JSInterop. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: [gwt-contrib] Javascript Exceptions in SDM about classes not being defined
Thanks a lot for the work around, Daniel. My sanity is saved. On Tue, Feb 10, 2015 at 12:58 PM, 'Daniel Kurka' via GWT Contributors google-web-toolkit-contributors@googlegroups.com wrote: This looks like the same compiler bug we are currently investigating, for now you can clear your SDM cache (button on its page) and you should be able to continue. On Tue, Feb 10, 2015 at 7:16 AM, Ali Akhtar ali.rac...@gmail.com wrote: I'm using 2.8.0-SNAPSHOT, from https://github.com/manolo/gwt-snapshot/raw/master/ When I try to invoke the following method: public ClerkD setEvents(HasValue?... fields) { for (HasValue? f : fields) { f.addValueChangeHandler( e - validate() ); } return this; } I get the following exception: com.google.gwt.core.client.JavaScriptException: (ReferenceError) : Lcom_google_gwt_user_client_ui_HasValue_2_classLit_0_g$ is not defined Any ideas what's going on here? The code compiles, I have the classes on classpath, but I still see that exception. In fact, lately I've been getting a lot of these 'xxx_classLit_0_g$ not defined' exceptions in SDM. E.g: https://groups.google.com/forum/#!topic/google-web-toolkit/RzsjqX2gGd4 https://groups.google.com/forum/#!topic/google-web-toolkit/Uf3IUgeUdP8 It seems that using any random class in GWT can cause that exception to come up. Which doesn't make sense as I'm writing valid code that compiles. Am I doing something wrong, or is this a bug in the compiler? Would greatly appreciate if any light can be shed on this. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/83b0b1f8-f8a7-4997-8426-62804e286adf%40googlegroups.com https://groups.google.com/d/msgid/google-web-toolkit-contributors/83b0b1f8-f8a7-4997-8426-62804e286adf%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Google Germany GmbH *Dienerstr. 12* *80331 München* Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Katherine Stephens -- You received this message because you are subscribed to a topic in the Google Groups GWT Contributors group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit-contributors/RWSov9AilF4/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujirarjkVZiL-KXu735kWtSuiRQdMiQFVaWVwXgq75_AB5w%40mail.gmail.com https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujirarjkVZiL-KXu735kWtSuiRQdMiQFVaWVwXgq75_AB5w%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAKiMtbc2oiVBPnRnKwKrL_Ra0MPX3wWrCMP1Z87rmsdjtLUCdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Widget Updating Content Of Another Panel
Furthermore I would suggest the HeaderPanel (terrible name - but very cool widget) instead of the DockLayoutPanel so your header and footer can be __naturally__ sized without having to specify exact size. Vassilis On Tue, Feb 10, 2015 at 12:55 AM, Jens jens.nehlme...@gmail.com wrote: Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into that SimplePanel using SimplePanel.setWidget(). In your setActionBar() method call SimplePanel.setWidget(newBar) to replace the old ActionBar with the new one. So you basically put a container widget into your DockLayoutPanel and then update the contents of the container widget through your setter method. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: [gwt-contrib] GWT 2.8.0-SNAPSHOT
Thanks Manuel, works great after refreshing cache. Thanks a bunch for providing this repo. On Tue, Feb 10, 2015 at 12:31 PM, Manuel Carrasco Moñino man...@apache.org wrote: It was updated yesterday with all the stuff in master, so those changes should be there. Today is going to be run in a couple of hours, although there are no changes in the repo. Try to force your maven cache to be updated: mvn -U On Tue, Feb 10, 2015 at 7:39 AM, Ali Akhtar ali.rac...@gmail.com wrote: Hey Manuel, I'm using your linked repo, but I'm not sure if its updating. Defender methods were added a few days ago, however when I try to use them within client code, I get an 'undefined' javascript error. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/e542c9ca-00ec-4466-826b-8f7ac5ef38af%40googlegroups.com https://groups.google.com/d/msgid/google-web-toolkit-contributors/e542c9ca-00ec-4466-826b-8f7ac5ef38af%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups GWT Contributors group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit-contributors/yttru2sA4vA/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAuECu0rMy7dZOsZVa83mtyfYYwk9wSttLsM9XHytc%3DGYw%40mail.gmail.com https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAuECu0rMy7dZOsZVa83mtyfYYwk9wSttLsM9XHytc%3DGYw%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAKiMtbfq9VW8WwABT%3DBkV1dAv3wPRdCcf1CaeEm1Bo%2BA%3DvuCng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: I need java.util.Collections synchronized classes.
You need to create a a GWT module file gwt.xml file. Please see http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html Basically from your master .gwt.xml you inherit the module with the files to super source. In my case I wanted to override google's PopupPanel so in my master.gwt.xml I have ... inherits name='com.google.gwt.user.User' / ... and in my src/ src/ com.mycompany.xxx Xxx.java com.google.gwt.user.User PopupPanel.java Hope that helps Vassilis On Mon, Feb 9, 2015 at 5:36 PM, ehod...@usdataworks.com wrote: I'm able to exclude these classes from my IDE and build scripts, but I can't get the GWT compiler to see them. I put them at what I think is the same location they had in the gwt-user module, but they aren't included when I compile my module. I don't understand the syntax of the super-source tag enough to make it include them based on my gwt.xml file. On Saturday, February 7, 2015 at 1:57:08 AM UTC-6, Vassilis Virvilis wrote: No it won't collide during GWT compilation. It will super source and override the original. However it will collide during normal java compilation. To that end in your IDE / build environment you need to make sure that the specific package (java.util) is excluded from compilation by the java compiler but it is included for the GWT compiler. Hope that helps. Vassilis On Sat, Feb 7, 2015 at 12:20 AM, eho...@usdataworks.com wrote: I found an emu directory with a Collections implementation. Problem is that Collections.java file has a java.util package. I can't put that in my source tree. It will collide with the real implementation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: [gwt-contrib] Re: What constitutes an acceptable emulated String.format implementation?
I'd be strongly in favor of a StringFormat class - this could be library-ized easily, letting someone opt in to even having it in their project, or call it. Since we're changing the API (though I assume keeping the 'format string' language), you could take other steps to ensure small complied size and best runtime performance. Consider SafeHtmlTemplates or Messages, with their abilities to interpolate strings, but knowing the format string to use at compile-time, not runtime. This probably won't work in all cases (or be especially nice to use in the other cases), but will be faster and smaller when compiled to JS. On Tue Feb 10 2015 at 8:07:22 AM Benjamin DeLillo bpd9...@gmail.com wrote: If trying to provide a fairly complete duplicate of the JRE functionality is too much of a point of contention, would it be more acceptable to provide a simpler/lighter-weight string interpolation implementation behind e.g. GWT.format() or to follow the NumberFormat convention a StringFormat class? On Friday, February 6, 2015 at 11:31:32 PM UTC-5, Benjamin DeLillo wrote: For an implementation to be accepted would it have to conform to the entire Java Formater spec? http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html Would an implementation lacking the Date/Time conversions be acceptable? Would an implementation that wraps sprintf.js be acceptable (if the licensing is compatible)? https://github.com/alexei/sprintf.js What about a minimal positional substitution implementation and nothing more? -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/9d1583ef-ae7b-41e2-9eca-207e8ef33062%40googlegroups.com https://groups.google.com/d/msgid/google-web-toolkit-contributors/9d1583ef-ae7b-41e2-9eca-207e8ef33062%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CADcXZMw1W_q866X0R2h8eJGWzU2Wx%2B_u62i_MAVuthEGEbnWNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Widget Updating Content Of Another Panel
Do you use 'appPanel' in different places? an element can have only one parent, adding an element to a different parent automatically removes it from its previous parent. On 10 February 2015 at 17:44, Nicholas Smith nick.sm...@gmail.com wrote: My bug was due to having introduced a second instance of my template, so when calling to update content it as on the second instance, not the one actually being displayed. I tried switching from DockLayoutPanel to HeaderPanel as suggested by Vassilis, but I can't get the content area to be scrollable. Here's the two versions of code, and screenshots that show the issue. Does anyone know what the problem is? Here's the two versions of my code. First up, this uses DockLayoutPanel, and renders correctly. http://pastebin.com/DHqXmBp7 See screenshot: http://snag.gy/v9pgY.jpg And here's the version with HeaderPanel, the center content is not scrollable. http://pastebin.com/4yEhKC4A And the screenshot: http://snag.gy/jFB3P.jpg On Tuesday, February 10, 2015 at 2:36:53 AM UTC-6, Vassilis Virvilis wrote: Furthermore I would suggest the HeaderPanel (terrible name - but very cool widget) instead of the DockLayoutPanel so your header and footer can be __naturally__ sized without having to specify exact size. Vassilis On Tue, Feb 10, 2015 at 12:55 AM, Jens jens.ne...@gmail.com wrote: Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into that SimplePanel using SimplePanel.setWidget(). In your setActionBar() method call SimplePanel.setWidget(newBar) to replace the old ActionBar with the new one. So you basically put a container widget into your DockLayoutPanel and then update the contents of the container widget through your setter method. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Widget Updating Content Of Another Panel
Hmm I have seen this before but I can't remember how I solved it. My gut reaction hints are: 1) Try to make scrollPanel 100% height (and width) and see what happens. You can try that directly in browser inspection tools - it will give you a good grasp on how gwt widgets map to html elements 2) Try to make the central Widget a resizeLayoutPanel - shouldn't needed but who knows. Generally using the inspector tools and trying to debug the ProvidesResize, RequiresResize chain will give you the solution. Vassilis On Tue, Feb 10, 2015 at 10:44 PM, Nicholas Smith nick.sm...@gmail.com wrote: My bug was due to having introduced a second instance of my template, so when calling to update content it as on the second instance, not the one actually being displayed. I tried switching from DockLayoutPanel to HeaderPanel as suggested by Vassilis, but I can't get the content area to be scrollable. Here's the two versions of code, and screenshots that show the issue. Does anyone know what the problem is? Here's the two versions of my code. First up, this uses DockLayoutPanel, and renders correctly. http://pastebin.com/DHqXmBp7 See screenshot: http://snag.gy/v9pgY.jpg And here's the version with HeaderPanel, the center content is not scrollable. http://pastebin.com/4yEhKC4A And the screenshot: http://snag.gy/jFB3P.jpg On Tuesday, February 10, 2015 at 2:36:53 AM UTC-6, Vassilis Virvilis wrote: Furthermore I would suggest the HeaderPanel (terrible name - but very cool widget) instead of the DockLayoutPanel so your header and footer can be __naturally__ sized without having to specify exact size. Vassilis On Tue, Feb 10, 2015 at 12:55 AM, Jens jens.ne...@gmail.com wrote: Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into that SimplePanel using SimplePanel.setWidget(). In your setActionBar() method call SimplePanel.setWidget(newBar) to replace the old ActionBar with the new one. So you basically put a container widget into your DockLayoutPanel and then update the contents of the container widget through your setter method. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Widget Updating Content Of Another Panel
My bug was due to having introduced a second instance of my template, so when calling to update content it as on the second instance, not the one actually being displayed. I tried switching from DockLayoutPanel to HeaderPanel as suggested by Vassilis, but I can't get the content area to be scrollable. Here's the two versions of code, and screenshots that show the issue. Does anyone know what the problem is? Here's the two versions of my code. First up, this uses DockLayoutPanel, and renders correctly. http://pastebin.com/DHqXmBp7 See screenshot: http://snag.gy/v9pgY.jpg And here's the version with HeaderPanel, the center content is not scrollable. http://pastebin.com/4yEhKC4A And the screenshot: http://snag.gy/jFB3P.jpg On Tuesday, February 10, 2015 at 2:36:53 AM UTC-6, Vassilis Virvilis wrote: Furthermore I would suggest the HeaderPanel (terrible name - but very cool widget) instead of the DockLayoutPanel so your header and footer can be __naturally__ sized without having to specify exact size. Vassilis On Tue, Feb 10, 2015 at 12:55 AM, Jens jens.ne...@gmail.com javascript: wrote: Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into that SimplePanel using SimplePanel.setWidget(). In your setActionBar() method call SimplePanel.setWidget(newBar) to replace the old ActionBar with the new one. So you basically put a container widget into your DockLayoutPanel and then update the contents of the container widget through your setter method. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT and Material Design
Hi, I forgot to give you the Repository :) The source code is available here you can check it out: https://code.google.com/p/gwt-material/source/checkout Best Regards: Kevin On Wed, Feb 11, 2015 at 1:19 PM, mark kevin ringor kevzlou7...@gmail.com wrote: Hi Grace, I have updated the Getting Started Documentation on how to implement material design in GWT (http://www.gwt-material.appspot.com). I need more help on how to make it more easy (like using gQuery). Best Regards, Kevin On Wed, Feb 11, 2015 at 4:33 AM, Grace C glchri...@gmail.com wrote: Nice! Do you have the current code / a starting project available as open source? I would love to use this. On Saturday, February 7, 2015 at 12:59:07 AM UTC-5, mark kevin ringor wrote: Checkout our under development project on http://gwt-material. appspot.com/ we are integrating the MaterializeCSS(http:// materializecss.com/) to GWT. Hope you like it :) On Tuesday, January 6, 2015 at 10:30:37 AM UTC+8, philip andrew wrote: Hi there, Has anyone tried to make a Material Design for GWT? http://www.google.com/design/spec/material-design/introduction.html Philip -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/bn57tSMkH7E/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT Material Design
Hi to all, We updated the Documentation Website hosted @ http://www.gwt-material.appspot.com with steps on how to implement Material Design GWT. The source code is available here you can check it out: https://code.google.com/p/gwt-material/source/checkout Waiting for your responses guys on how we can leverage and make this project more easy to embed. Best Regards, Kevin On Friday, February 6, 2015 at 1:51:20 PM UTC+8, mark kevin ringor wrote: Hi to all, We are a team of GWT Developers to implement the GWT Material Design with the help MaterializeCSS (http://materializecss.com/). We are doing our best to integrate the Features to be able to integrate inside GWT Applications. Anyone interested are well appreciated to join us. We have deployed a demo material here: http://gwt-material.appspot.com/. Hope you like it. Regards, Kevin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: AdWords Conversion Tracking
Looks like it would be possible using this StackOverflow answer: http://stackoverflow.com/a/22063668 On Wednesday, 11 February 2015 16:35:14 UTC+10, Bryan Buchanan wrote: I never figured out how to do this - has anyone who ever used GWT implemented AdWords Conversion tracking ? On Friday, 7 May 2010 16:26:41 UTC+10, bryanb wrote: Hi, Can anyone tell me if it's possible to add the AdWords Conversion tracking script (http://adwords.google.com/support/aw/bin/answer.py? hl=enanswer=115794# http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=115794#) to a GWT generated page. I've got Google Analytics working by having the analytics script in my GWT launch html file, and when history changes I call this function: // tickle the GoogleAnalytics urchin to record a page hit public static native void tickleUrchin(String pageName) /*-{ var pageTracker = $wnd._gat._getTracker(UA-X); pageTracker._trackPageview(pageName); }-*/; I'm not sure how I should do a similar thing with the AdWords script. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT and Material Design
Hi Grace, I have updated the Getting Started Documentation on how to implement material design in GWT (http://www.gwt-material.appspot.com). I need more help on how to make it more easy (like using gQuery). Best Regards, Kevin On Wed, Feb 11, 2015 at 4:33 AM, Grace C glchri...@gmail.com wrote: Nice! Do you have the current code / a starting project available as open source? I would love to use this. On Saturday, February 7, 2015 at 12:59:07 AM UTC-5, mark kevin ringor wrote: Checkout our under development project on http://gwt-material. appspot.com/ we are integrating the MaterializeCSS(http:// materializecss.com/) to GWT. Hope you like it :) On Tuesday, January 6, 2015 at 10:30:37 AM UTC+8, philip andrew wrote: Hi there, Has anyone tried to make a Material Design for GWT? http://www.google.com/design/spec/material-design/introduction.html Philip -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/bn57tSMkH7E/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: AdWords Conversion Tracking
I never figured out how to do this - has anyone who ever used GWT implemented AdWords Conversion tracking ? On Friday, 7 May 2010 16:26:41 UTC+10, bryanb wrote: Hi, Can anyone tell me if it's possible to add the AdWords Conversion tracking script (http://adwords.google.com/support/aw/bin/answer.py? hl=enanswer=115794# http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=115794#) to a GWT generated page. I've got Google Analytics working by having the analytics script in my GWT launch html file, and when history changes I call this function: // tickle the GoogleAnalytics urchin to record a page hit public static native void tickleUrchin(String pageName) /*-{ var pageTracker = $wnd._gat._getTracker(UA-X); pageTracker._trackPageview(pageName); }-*/; I'm not sure how I should do a similar thing with the AdWords script. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: I need java.util.Collections synchronized classes.
I have a couple of GWT module files. One of them inherits com.google.gwt.user.User. In that one I've tried to override Google's implementation of java.util.Collections. I've placed their Collections.java file under the paths src/emul/java/util and src/java/util, but when I compile my GWT code my version of Collections.java isn't being used. Is there something I need to do in my gwt.xml file to include the source path containing my version of Collections.java? My gwt.xml is located at src/com/mycompany. It includes a lot of source tags to pick and choose which of our Java files are compiled for GWT. Is my use of source tags excluding my version of Collections.java? If so, how do I include it, since it isn't under the src/com/mycompany path? On Tuesday, February 10, 2015 at 2:55:22 AM UTC-6, Vassilis Virvilis wrote: You need to create a a GWT module file gwt.xml file. Please see http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html Basically from your master .gwt.xml you inherit the module with the files to super source. In my case I wanted to override google's PopupPanel so in my master.gwt.xml I have ... inherits name='com.google.gwt.user.User' / ... and in my src/ src/ com.mycompany.xxx Xxx.java com.google.gwt.user.User PopupPanel.java Hope that helps Vassilis On Mon, Feb 9, 2015 at 5:36 PM, eho...@usdataworks.com javascript: wrote: I'm able to exclude these classes from my IDE and build scripts, but I can't get the GWT compiler to see them. I put them at what I think is the same location they had in the gwt-user module, but they aren't included when I compile my module. I don't understand the syntax of the super-source tag enough to make it include them based on my gwt.xml file. On Saturday, February 7, 2015 at 1:57:08 AM UTC-6, Vassilis Virvilis wrote: No it won't collide during GWT compilation. It will super source and override the original. However it will collide during normal java compilation. To that end in your IDE / build environment you need to make sure that the specific package (java.util) is excluded from compilation by the java compiler but it is included for the GWT compiler. Hope that helps. Vassilis On Sat, Feb 7, 2015 at 12:20 AM, eho...@usdataworks.com wrote: I found an emu directory with a Collections implementation. Problem is that Collections.java file has a java.util package. I can't put that in my source tree. It will collide with the real implementation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: I need java.util.Collections synchronized classes.
Thanks! I got it working. I had to place my version of Collections.java under the directory src/com/mycompany/emul/java/util. In my gwt.xml module definition file, I added the tag 'super-source path=emul/'. I modified my build scripts to ignore everything under com/mycompany/emul and it seems to be working now. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] UiBinder changes don't get picked up in SDM (trunk)
I'm using 2.8.0-SNAPSHOT. If I add any new ui-field=.. to a ui.xml file, they aren't picked up either on refresh, or on clearing the SDM cache . Instead, I have to restart SDM in order for these changes to be picked up. Otherwise, I keep getting the error that there's no @UiField for the corresponding field in the ui.xml file. (To be clear, adding new fields to the Java file works, but when I assign those fields in the ui.xml template, that isn't picked up. So e.g if I add a @UiField Label foo to MyView.java, and assign that via g:Label ui-field=foo / in the ui.xml file, I still get the error that MyView#foo isn't assigned to a ui-field. Other ui.xml changes do get picked up, but not new ui-fields) On a related note,it seems that CellTable is using CssResource. The compiler fails to run if you use CellTable unless you set the css mode to lenient. (Also the error message asks to set it to strict in order to temporarily avoid the issue, which is confusing as it needs to be set to lenient) -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/02ce9814-7640-4bf6-8772-0f300eab00f8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: What constitutes an acceptable emulated String.format implementation?
If trying to provide a fairly complete duplicate of the JRE functionality is too much of a point of contention, would it be more acceptable to provide a simpler/lighter-weight string interpolation implementation behind e.g. GWT.format() or to follow the NumberFormat convention a StringFormat class? On Friday, February 6, 2015 at 11:31:32 PM UTC-5, Benjamin DeLillo wrote: For an implementation to be accepted would it have to conform to the entire Java Formater spec? http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html Would an implementation lacking the Date/Time conversions be acceptable? Would an implementation that wraps sprintf.js be acceptable (if the licensing is compatible)? https://github.com/alexei/sprintf.js What about a minimal positional substitution implementation and nothing more? -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/9d1583ef-ae7b-41e2-9eca-207e8ef33062%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.