Re: GWT doesn't work in eclipse
What is GAE and how do I add it? On Apr 28, 6:53 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: 'com.google.appengine.tools.development.gwt.AppEngineLauncher' java.lang.ClassNotFoundException: Add GAE to your classpath 2011/4/28 Uri Even-Chen urievenc...@gmail.com I upgraded GWT to the latest version (2.2.0), but I can't run my project (created with GWT 2.1.0). I receive this error: --- -- Unable to load server class 'com.google.appengine.tools.development.gwt.AppEngineLauncher' java.lang.ClassNotFoundException: com.google.appengine.tools.development.gwt.AppEngineLauncher at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java: 111) at com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java: 26) at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:238) at com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java: 29) at com.google.gwt.dev.DevMode.main(DevMode.java:303) Google Web Toolkit 2.2.0 --- -- I don't know which SDK to install, I have a few files calles gwt- user.jar . I tried all of them but it doesn't work. Thanks, Uri Even-Chen. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT doesn't work in eclipse
http://code.google.com/appengine/docs/whatisgoogleappengine.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using request factory to keep the object graph up to date
We are using RequestFactory to create the object based on the user action. For example, Person has many Contact . We are using a contacts view to create the Contacts for the Person. When the user clicks on Create we are using ContactProxy and ContactRequest to create the object. When the user clicks on Create again, we already have the contact, but we want to create the Contact only if it does not exist for the Person. What is the best place to verify the contact is already existing. ContactRequest cr = rf.contactRequest(); cr.create(contact).fire(new Receiver() { public void onSuccess(Contact contact) { log.info(Contact created); } } How do we update the person's contact list just after a new contact is created. is onSuccess the right place to do that. Basically i am not clear on how to keep the object graph in sync with the server. The RF documentation says it always keeps the objects in sync. But it is not happening in our case though. -- 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.
With GWT, when exactly do you need DTOs for your entities ?
Hi, I need some clarification regarding the use of JPA entities within a GWT application. I have always read that you need to create a DTO for each entity that you develop in a GWT application because of some serialization problem. But if you look at this skeleton for a GWT-JPA application, you will notice that there are no DTOs ! http://code.google.com/p/gwt-hardwarestore/ So i am not sure what's really needed. Are DTOs really needed ? My GWT application uses the MVP Places and Activities pattern. Thanks for helping. -- 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.
Probleme when compiling gwt project
Hello people, i m getting this error when compiling my GWT Project : [ERROR] Unexpected java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:105) at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:7386) at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1613) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:244) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:564) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.generateCode(QualifiedAllocationExpression.java:169) at org.eclipse.jdt.internal.compiler.ast.Statement.generateArguments(Statement.java:102) at org.eclipse.jdt.internal.compiler.ast.MessageSend.generateCode(MessageSend.java:153) at org.eclipse.jdt.internal.compiler.ast.Expression.generateCode(Expression.java:601) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:232) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:564) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.generateCode(QualifiedAllocationExpression.java:169) at org.eclipse.jdt.internal.compiler.ast.Statement.generateArguments(Statement.java:102) at org.eclipse.jdt.internal.compiler.ast.MessageSend.generateCode(MessageSend.java:153) at org.eclipse.jdt.internal.compiler.ast.Expression.generateCode(Expression.java:601) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:232) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:581) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:356) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:755) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:182) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:617) at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:193) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:390) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:275) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325) at com.google.gwt.dev.Precompile.precompile(Precompile.java:512) at com.google.gwt.dev.Precompile.precompile(Precompile.java:495) at com.google.gwt.dev.Precompile.precompile(Precompile.java:407) at com.google.gwt.dev.Compiler.run(Compiler.java:215) at com.google.gwt.dev.Compiler.run(Compiler.java:187) at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81) at com.google.gwt.dev.Compiler.main(Compiler.java:166) Can somebody help me with this please ? cheers, Alain -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to 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 doesn't work in eclipse
Thank you. It works. On May 1, 10:01 am, Peter Ondruška peter.ondru...@gmail.com wrote: http://code.google.com/appengine/docs/whatisgoogleappengine.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: With GWT, when exactly do you need DTOs for your entities ?
You will be needing DTOs if in entities there are any one to many relationships.Or if you have any lazy load defined for any fields.Since GWT can't serialize those objects, it will throw unable serialize exception when you try to pass the entities from server to client. -Ahmed On May 1, 3:34 am, Celinio cel...@gmail.com wrote: Hi, I need some clarification regarding the use of JPA entities within a GWT application. I have always read that you need to create a DTO for each entity that you develop in a GWT application because of some serialization problem. But if you look at this skeleton for a GWT-JPA application, you will notice that there are no DTOs !http://code.google.com/p/gwt-hardwarestore/ So i am not sure what's really needed. Are DTOs really needed ? My GWT application uses the MVP Places and Activities pattern. Thanks for helping. -- 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 Creating Session ID using java.uti.UUID and ignoring Cookie header
In order to prevent XSRF, I implement session handling in GWT this way: 1. If a sessionID is stored in the cookie, send it to the server in the RPC payload and check if it's still valid. 2. If not, show login window. User enters username/password, both are sent to the server. 3. The server checks if the user exists. If so, I generate a SessionID using UUID.randomUUID.toString and pass it back to the client. 4. The client stores it in a cookie, sending it to the server with each request (in the payload). Is is okay to completely ignore the sessionID within the cookie header? I've also seen an alternative solution where the cookie's sessionID is also aditionally sent within each request and then both are tested for equality. Which of the two solutions is better? -- 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 Creating Session ID using java.uti.UUID and ignoring Cookie header
GWT 2.3 comes with XSRF RPC builtin protection. See http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf.html that's an implementation of what already discussed in an old (but still interesting) document: http://code.google.com/intl/it-IT/webtoolkit/articles/security_for_gwt_applications.html#xsrf -- 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: DialogBox.center does not center correctly
Delete the css style relationate to the size. Check if you have a file too with this style 2011/4/29 Magnus alpineblas...@googlemail.com Hi, I have a problem with centering a DialogBox. I create it, add some widgets (the size of which I set at the same time!), and call center: (Pseudecode) DialogBox d = new DialogBox (); AbsolutePanel t = new AbsolutePanel(); t.setSize(1000px,700px); d.add(t); d.center(); However, the DialogBox is not centered correctly. It's placed too much to the right. (If its size is smaller, it's placed too much to the left. #-)) I wondered if i should call forceLayout, but there is no such method in DialogBox. What can I do? Thanks 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: With GWT, when exactly do you need DTOs for your entities ?
OK. But if you look at this entity, it has a onetomany relationship (manytoone more exactly) and there is no DTO mapped to it : http://code.google.com/p/gwt-hardwarestore/source/browse/trunk/%20gwt-hardwarestore/HardwareStore_2/src/com/hardwarestore/vo/Purchase.java What do you think ? On Sun, May 1, 2011 at 4:49 PM, Ahmed Mohammed ahmedmohiud...@gmail.comwrote: You will be needing DTOs if in entities there are any one to many relationships.Or if you have any lazy load defined for any fields.Since GWT can't serialize those objects, it will throw unable serialize exception when you try to pass the entities from server to client. -Ahmed On May 1, 3:34 am, Celinio cel...@gmail.com wrote: Hi, I need some clarification regarding the use of JPA entities within a GWT application. I have always read that you need to create a DTO for each entity that you develop in a GWT application because of some serialization problem. But if you look at this skeleton for a GWT-JPA application, you will notice that there are no DTOs !http://code.google.com/p/gwt-hardwarestore/ So i am not sure what's really needed. Are DTOs really needed ? My GWT application uses the MVP Places and Activities pattern. Thanks for helping. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: With GWT, when exactly do you need DTOs for your entities ?
In the book Pro Web 2.0 Application Development with GWT http://www.amazon.com/Pro-Application-Development-Experts-Voice/dp/1590599853 the author don't use DTO. He *hack *some GWT classes to put null this relations during serialization . This is a good solutions because you don't duplicate your entities and don't need frameworks (dozzer or gilead). The bad is obscure code, but whn you do it is transparent for developers 2011/5/1 Celinio cel...@gmail.com OK. But if you look at this entity, it has a onetomany relationship (manytoone more exactly) and there is no DTO mapped to it : http://code.google.com/p/gwt-hardwarestore/source/browse/trunk/%20gwt-hardwarestore/HardwareStore_2/src/com/hardwarestore/vo/Purchase.java What do you think ? On Sun, May 1, 2011 at 4:49 PM, Ahmed Mohammed ahmedmohiud...@gmail.comwrote: You will be needing DTOs if in entities there are any one to many relationships.Or if you have any lazy load defined for any fields.Since GWT can't serialize those objects, it will throw unable serialize exception when you try to pass the entities from server to client. -Ahmed On May 1, 3:34 am, Celinio cel...@gmail.com wrote: Hi, I need some clarification regarding the use of JPA entities within a GWT application. I have always read that you need to create a DTO for each entity that you develop in a GWT application because of some serialization problem. But if you look at this skeleton for a GWT-JPA application, you will notice that there are no DTOs !http://code.google.com/p/gwt-hardwarestore/ So i am not sure what's really needed. Are DTOs really needed ? My GWT application uses the MVP Places and Activities pattern. Thanks for helping. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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: With GWT, when exactly do you need DTOs for your entities ?
Thanks for pointing it out. Well, apparently the author created a class, HibernateFilter.java, that acts as a filter during the GWT serialization of objects. http://tocollege-net.googlecode.com/svn/ProGWT/trunk/src/main/java/com/apress/progwt/server/gwt/HibernateFilter.java It converts Date objects, PersistentSet collections etc. Not sure what it's worth actually. Has anyone used such approach ? On Sun, May 1, 2011 at 8:52 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: In the book Pro Web 2.0 Application Development with GWT http://www.amazon.com/Pro-Application-Development-Experts-Voice/dp/1590599853 the author don't use DTO. He *hack *some GWT classes to put null this relations during serialization . This is a good solutions because you don't duplicate your entities and don't need frameworks (dozzer or gilead). The bad is obscure code, but whn you do it is transparent for developers 2011/5/1 Celinio cel...@gmail.com OK. But if you look at this entity, it has a onetomany relationship (manytoone more exactly) and there is no DTO mapped to it : http://code.google.com/p/gwt-hardwarestore/source/browse/trunk/%20gwt-hardwarestore/HardwareStore_2/src/com/hardwarestore/vo/Purchase.java What do you think ? On Sun, May 1, 2011 at 4:49 PM, Ahmed Mohammed ahmedmohiud...@gmail.comwrote: You will be needing DTOs if in entities there are any one to many relationships.Or if you have any lazy load defined for any fields.Since GWT can't serialize those objects, it will throw unable serialize exception when you try to pass the entities from server to client. -Ahmed On May 1, 3:34 am, Celinio cel...@gmail.com wrote: Hi, I need some clarification regarding the use of JPA entities within a GWT application. I have always read that you need to create a DTO for each entity that you develop in a GWT application because of some serialization problem. But if you look at this skeleton for a GWT-JPA application, you will notice that there are no DTOs !http://code.google.com/p/gwt-hardwarestore/ So i am not sure what's really needed. Are DTOs really needed ? My GWT application uses the MVP Places and Activities pattern. Thanks for helping. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Beginner: Ext GWT - NoClassDefFoundError: com/google/gwt/core/ext/Generator
Hi, I have set up the basic GWT HelloWorld equivalent and all works fine.. RPC call etc.. I have followed the most basic Ext GWT (Sencha) tutorial to convert this to ExtGWT project ref: http://www.sencha.com/learn/Ext_GWT_Getting_Started_Tutorials Its a really simple tutorial...copy in resources, a few minor edits It takes a few mins. It worked first time but refuses to work now!!! Once I insert the line inheriting Ext stuff in my xxx.gwt.xml file I get a runtime error where it cant finid the GWT Generator class. I can see from eclipse debug mode that the GWT jars, gwt-dev.jar and gwt-user.jar: (from Eclipse plugin) are on classpath.. xxx.gwt.xml file: !-- Other module inherits -- inherits name=com.extjs.gxt.ui.GXT / At run time an exception is thrown as it fails to find com/google/gwt/ core/ext/Generator. If i remove this 'inherit' the error disappears! Loading modules com.hello.gwt.HelloGWT Loading inherited module 'com.extjs.gxt.ui.GXT' [ERROR] Unexpected error while processing XML java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator at java.lang.ClassLoader.findBootstrapClass(Native Method) Any tips greatly appreciated... Best regards, W -- 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.
Does gin support @UiHandler?
In my testing,after using GIN,all events registered by @UiBinder don't work. -- 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: Using request factory to keep the object graph up to date
To create a new contact: ContactRequest cr = rf.contactRequest(); // create contact here ContactProxy contact = cr.create(ContactProxy.class); // populate the proxy here, you need not verify, it is created here, just that it is not sent to the server contact.setAddress(xyz); // now send this to server cr.persist(contact).fire(new Receiver() { public void onSuccess(Void response) { log.info(Contact saved); // here it is not contact created, but saved } } -- 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: EXTGWT vs JQUERY
For a gwt jquery implentation check out gwtQueryhttp://code.google.com/p/gwtquery/ -- 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: Using Google Closure Library within GWT JSNI .....
I just went down this road (with success). I've been using GWT, but I really wanted to use a Closure menu button widget. So I figured out how to mix closure widgets into my GWT app, gluing them together with JSNI as you expected. I've made a blog posting sharing my experience mixing Closure with GWT http://blog.broc.seib.net/2011/05/mixing-google-closure-with-gwt.html. There is some minor impedance mismatch between Closure and GWT. First, closure has its own home-brew event system, so you gotta setup/catch your events on the closure side before you send things back via JSNI to GWT world. Second, the big deal with Closure is that once you identify the closure widgets you need on a page, you can run it through the closure compiler and eliminate all unnecessary javascript code, and compile it all into a single, compact js file. Because of this it would make no sense for someone to create a GWT wrapper library containing all the individual closure widgets. Instead, you gotta look at each GWT page load and design for the closure widgets you'll need. I also see no reason why there would be any performance issues. -broc -- 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.
After using GIN,all events registered by @UiHandler don't work.
Seems like DI worked,but all events registered by @UiHandler don't work. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Promoting LazyDomElement to be used externally. LazyDomElement can be (issue1427809)
Reviewers: rjrjr, rdcastro, Description: Promoting LazyDomElement to be used externally. LazyDomElement can be used to boost rendering time. Today, html elements marked with ui:field need to call getElementById() by the time the template is created even if is not used. LazyDomElement delays this. Please review this at http://gwt-code-reviews.appspot.com/1427809/ Affected files: A user/src/com/google/gwt/uibinder/client/LazyDomElement.java M user/src/com/google/gwt/uibinder/client/UiBinderUtil.java M user/src/com/google/gwt/uibinder/elementparsers/WidgetInterpreter.java M user/src/com/google/gwt/uibinder/elementparsers/WidgetPlaceholderInterpreter.java M user/src/com/google/gwt/uibinder/rebind/FieldManager.java A user/src/com/google/gwt/uibinder/rebind/FieldWriterOfLazyDomElement.java M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adding drag and drop support to the mobile web app. The desktop TaskEditView now has a list of t... (issue1420811)
@rice - Will you have time to review this on Monday? I'd like to get it submitted this week. On 2011/04/27 18:14:47, Jeff Larsen wrote: On 2011/04/26 21:10:21, jlabanca wrote: On Tue, Apr 26, 2011 at 4:57 PM, Jeff Larsen mailto:larse...@gmail.com wrote: Drag n Drop doesn't work in ie8 (expected). Perhaps use deferred binding to get rid of the templates portion for all versions of ie9. Otherwise those templates are pretty useless. DragEvent can implement PartialSupport and provide a static isSupported() method so we can check if drag and drop is supported. Awesome. I learn something new every day in this forum. On http://gwt-cloudtasks.appspot.com/ Templates don't show up for Chrome/Firefox 3.5.x. I wish I had time to do a more formal review, but I've got a huge deadline on Tuesday. http://gwt-code-reviews.appspot.com/1420811/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Comment on ScottSoulBinderDesignDoc in google-web-toolkit
Comment by branflak...@gmail.com: Funny :) Brandon Donnelson http://gwt-examples.googlecode.com For more information: http://code.google.com/p/google-web-toolkit/wiki/ScottSoulBinderDesignDoc -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adding drag and drop support to the mobile web app. The desktop TaskEditView now has a list of t... (issue1420811)
Yep. Dan On Sun, May 1, 2011 at 8:00 PM, jlaba...@google.com wrote: @rice - Will you have time to review this on Monday? I'd like to get it submitted this week. On 2011/04/27 18:14:47, Jeff Larsen wrote: On 2011/04/26 21:10:21, jlabanca wrote: On Tue, Apr 26, 2011 at 4:57 PM, Jeff Larsen mailto:larse...@gmail.com wrote: Drag n Drop doesn't work in ie8 (expected). Perhaps use deferred binding to get rid of the templates portion for all versions of ie9. Otherwise those templates are pretty useless. DragEvent can implement PartialSupport and provide a static isSupported() method so we can check if drag and drop is supported. Awesome. I learn something new every day in this forum. On http://gwt-cloudtasks.appspot.com/ Templates don't show up for Chrome/Firefox 3.5.x. I wish I had time to do a more formal review, but I've got a huge deadline on Tuesday. http://gwt-code-reviews.appspot.com/1420811/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Allows enum ordinalization to proceed for enums with static methods/fields (issue1428808)
Reviewers: cromwellian, scottb, Description: Allows enum ordinalization to proceed for enums with static methods/fields -- This offers modest code-size gains, and will open way for further optimizations -- Also, fixes a bug in checking for instanceof arguments for EnumOrdinalizer -- Fixed some formatting in EnumOrdinalizer -- Added new tests to EnumOrdinalizerTest Please review this at http://gwt-code-reviews.appspot.com/1428808/ Affected files: M dev/core/src/com/google/gwt/dev/jjs/ast/JEnumType.java M dev/core/src/com/google/gwt/dev/jjs/impl/EnumOrdinalizer.java M dev/core/test/com/google/gwt/dev/jjs/JavaAstConstructor.java M dev/core/test/com/google/gwt/dev/jjs/impl/EnumOrdinalizerTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors