Re: GWT Designer Libraries
SmartGWT because of license. I have stopped trusting the Ext team (ExtJS, GWT-Ext, GXT) for the way they changed the license a couple of years ago. -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 13, 6:25 am, jaybose onyeje.b...@gmail.com wrote: I see in the Designer docs (and in the actual tool itself) that there are 3 promoted libraries: - GWT-Ext (http://gwt-ext.com/) - Ext GWT (http://www.extjs.com/products/gxt/) - SmartGWT (http://code.google.com/p/smartgwt/) Their respective showcases look great. Some are better documented than the others. I was just wondering, if anyone is using any of these, what are your personal experiences so far? -- 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: java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
It seems gwt-dev.jar is missing in your project classpath. -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.com On Nov 2, 2:03 pm, ヒトリ koujun1...@gmail.com wrote: Hi all, When i upgrated my eclipse's google plug-in,when i click the compile button,it says java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler Exception in thread main but i can run this project in eclipse, anybody knows the reason? My eclipse version :3.5(Java) not J2EE , GWT-SDK:2.0.3 GAE:1.3.8 Jun Kou 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: Create Re-Usable GWT Composites/Projects
Hi Stefan, Great going! Definitely a good pointer for the starters! -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.com On Nov 2, 6:41 pm, StrongSteve swe.sta...@gmail.com wrote: Hello, I just created a quick blog entry explaining how to create re-usable GWT composites/projects. This tutorial covers the creating of a base GWT project including a selfmade composite (I18N and CSS included), export to a JAR-file and using this packaged project within the scope of a secondary GWT project. The sample project is available as a download as well. http://swe-strongsteve.blogspot.com/2010/11/creating-re-usable-compos... Hope it helps someone! Greetings Stefan -- 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: Problems with JDO
Hi Caio, Ensure that you do not instantiate factory more than once. Look at http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html [snip] public final class PMF { private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory(transactions- optional); private PMF() {} public static PersistenceManagerFactory get() { return pmfInstance; } } [/snip] And in case you've just started your application, do review objectify at http://code.google.com/p/objectify-appengine. It's fantastic and will ensure that you never come across issues that you've posted :) Hope that helps! -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.com On Nov 3, 12:16 am, Caio caio.nery1...@yahoo.com.br wrote: Hello, I'm having some troubles with JDO. I have declared two independent entity classes (with no relationship), and this way, I've used them in two different java classes contexts. Then, the program execution generated an exception about the duplicated name of PersistenceManagerFactory. I have corrected the name of this object at jdoconfig.xml but a new exception ocurred: javax.jdo.JDOFatalUserException. In addition, if you want to see the complete error list, read below: Caused by: javax.jdo.JDOFatalUserException: Application code attempted to create a PersistenceManagerFactory named transactions, but one with this name already exists! Instances of PersistenceManagerFactory are extremely slow to create and it is usually not necessary to create one with a given name more than once. Instead, create a singleton and share it throughout your code. If you really do need to create a duplicate PersistenceManagerFactory (such as for a unittest suite), set the appengine.orm.disable.duplicate.pmf.exception system property to avoid this error. THANK U 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-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.
Multi-Project GWT Application and NoClassDefFoundError
Hi Guys, I have a GWT+GAE application split under multiple Eclipse projects, all GWT projects. I have the structure similar to the following: - MainApp: With module entry point and server side code for GAE. - AppServices: All GWT-RPC service definitions with Async interfaces. For example, LoginService and LoginServiceAsync etc. - AppCore: Core interfaces and classes MainApp contains the implementations for the RPC interfaces (e.g.: LoginServiceImpl etc) The problem is that when I build the project, the LoginService class file is never copied to the war/WEB-INF/classes folder. So, during the build time, it's all find but during runtime it gives an error - NoClassDefFoundError. I failed to locate any solution for the same on the web. So, finally, I customized the build.xml file and have put up a small DIY documentation at http://blogs.mastergaurav.com/2010/10/28/google-app-engine-and-gwt-multi-project-application Hope you find it useful. -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.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-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: Event Handling - ondragstart and onselectstart
Hi Thomas, Great inputs. Couple of things: 1. Let me know if I can be of any help to your new-event-system- implementation. Would love to do that. 2. Regarding the specific events, I think they're available across browsers and OS. I am porting Dojo for GWT and found http://bugs.dojotoolkit.org/browser/dojo/trunk/dnd/Moveable.js#L49 So I assume, adding the events should be pretty strightforward. The only reason that I see these (and may be some more) events have been left off is probably because the current events take up the bits from 0x01 to 0x80. And in JavaScript, numbers are 64-bit floating points. Well, technically, if I look at -- the above should not be a constraint because looking at the specification IEEE 754-2008 (http:// en.wikipedia.org/wiki/IEEE_754-2008), it should be possible to use upto 52 digits before decimal (see also http://en.wikipedia.org/wiki/Double_precision_floating-point_format). May be, it's just a matter of time or realizing that these events also exist ;) -Gaurav www.mastergaurav.com On Oct 14, 3:02 am, Thomas Broyer t.bro...@gmail.com wrote: On 13 oct, 19:36, masterGaurav gaurav.va...@gmail.com wrote: Hi, I am implementing Drag-n-Drop functionality in GWT, for which I need to handle ondragstart and onselectstart events. However, I could not find these two events in the com.google.gwt.user.client.Event class. There are three parts to my posting: - How can I handle these events without touching the existing code? Events need some refactoring to be extensible (no longer depend on the Event constants and sinkEvents/unsinkEvents bitfield). It is possible to handle new events - Is there any specific reason for not having these events? Time probably (to add them, with tests, etc.) and the fact that they're not supported by all browsers. - How can I submit a patch to GWT, if applicable. It would be a fairly simple and straight-forward code to implement. I did look athttp://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches but failed to understand point #6. How can I svn add without appropriate permissions. svn add works on your working copy; you only need permissions for the svn commit (which you'll replace by a svn diff and uploading the patch to gwt-code-reviews.appspot.com, or Rietveld's upload.py) Any and advice is solicited :) I've written before (including in a Wave, with much details) about how events could be refactored. I started working on a patch earlier this summer but never finished it. If you want to contribute to such an effort rather than add new Event constants et al. I think Joel Webber (the G-man who'd commit the thing eventually) would be pleased to review it ;-) -- 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: Handling session timeout
Let your server return some error code - say, 401. The moment your application (I assume you are using Ajax calls... using either RequestBuilder or GWT-RPC) receives a 401 response, redirect him to the login page. -Gaurav www.mastergaurav.com On Oct 15, 2:09 am, andres.arellano andres.arell...@gmail.com wrote: Hi there, how can I handle a session expiration? What I want to do is to auto sign out users when their sessions have expired. Thanks in advance, Andres -- 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 new App Development
Hi Mittal, Great question! For my applications, I have pure-GWT as well as pure-SmartGWT approaches. I have particularly not used the MVP pattern as is available on the website... but definitely, something like that. It is an implementation of MVP pattern. I have created a slightly different event-bus... more of a global- event publish-subcribe mechanism combined with command pattern. What goes without saying is if you want to develop a larger application, MVP pattern is there to stay. Stick to it... exact implementation of the pattern can be application based. -Gaurav www.mastergaurav.com On Oct 15, 4:15 am, Mittal mitt...@gmail.com wrote: What is the most common approach followed for new App development using GWT 1) Only GWT widgets/api 2) GWT widgets/api and MVP Pattern 3) GWT widgets/api and guit 4) Smart GWT widgets/api and (MVP or guit) I have done few sample/demo applications using GWT widgets/api and MVP pattern. Just wanted to get feel what approaches others are using ? - Mittal -- 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.
Event Handling - ondragstart and onselectstart
Hi, I am implementing Drag-n-Drop functionality in GWT, for which I need to handle ondragstart and onselectstart events. However, I could not find these two events in the com.google.gwt.user.client.Event class. There are three parts to my posting: - How can I handle these events without touching the existing code? - Is there any specific reason for not having these events? - How can I submit a patch to GWT, if applicable. It would be a fairly simple and straight-forward code to implement. I did look at http://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches but failed to understand point #6. How can I svn add without appropriate permissions. Any and advice is solicited :) Thanks in advance. -Gaurav www.mastergaurav.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-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 Firefox on Windows in Hosted Mode
1. I get a lot of build errors. It's missing a task-definition file Build log is: http://docs.google.com/Doc?docid=0AR2DjRwZsRm7ZGM0aHM3dDJfNjBkdDNxNG5kdwhl=en 2. I'm completely new to OOPHM. Is there any document enlisting dependencies, build steps (if more than just ant) and build options (os, browser, versions etc) -Gaurav On Jan 15, 5:22 pm, Siegfried Bolz siegfried.b...@googlemail.com wrote: With GWT 2.0 Firefox is working fine in Hosted Mode. Don't know whats your problem is? On 15 Jan., 12:06, masterGaurav gaurav.va...@gmail.com wrote: Hi, I was just going through the thread:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... and figured out theOOPHMbranch. Wondering if somebody has already got Fx working on Windows in hosted mode. If not, any direct pointers to the starting point would be great! -Gaurav -- 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.
Using Firefox on Windows in Hosted Mode
Hi, I was just going through the thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/45373089230f2bea and figured out the OOPHM branch. Wondering if somebody has already got Fx working on Windows in hosted mode. If not, any direct pointers to the starting point would be great! -Gaurav -- 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.
Extending GWT - Eclipse Plugin
Hi, Firstly, kudoos to the GWT team for the great effort! Secondly, I am currently working on extending GWT to create a custom library that's reusable. To be specific, I'm looking at porting Dojo on GWT (http://sf.net/ projects/dwt). The project was off-the-track for quite a long time and with breaking changes in GWT 1.6+ and more fun with 2.0, I'm more happy than sad for not working on it for such a long time :) Anyway, coming to my point - how do I compile the extended GWT library without any entry-point. The GWT Compile Project compiles only the modules with entry point : ( -Gaurav --~--~-~--~~~---~--~~ 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: Dynamic Evaluation
Hi Walden, Sorry to disappoint. I'm not sure how or why you would port that to GWT. Maybe someone else on the list can be of more help to you. If your query is as to why I would like to port Dojo for GWT, then there's a valid case for it. 1- I'm try to combine the power of GWT and Dojo. 2- I saw an initial interest in the community for this project. For instance, have a look at http://turtle.dojotoolkit.org/pipermail/dojo-interest/2008-July/032549.html 3- It opens up another option for Dojo users. Why not use Eclipse or Netbeans or any other Java IDE to develop Dojo based applications. Regarding the how of dojoAttachPoint, I think I've got a solution. Today should freeze on the same! -- Happy Hacking, Gaurav http://sf.net/projects/dwt http://eduzine.edujini-labs.com http://blogs.mastergaurav.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Dynamic Evaluation
Hi Paul, If you need dynamic properties, you might like to look at the Martin Fowler description of the patterns involved in the various ways to do that:http://martinfowler.com/apsupp/properties.pdf Thanks for sharing the document. Any and all good technical literature helps! Will find time to go through it sometime soon. It's almost shutdown time for me today! :) -- Happy Hacking, Gaurav http://sf.net/projects/dwt http://eduzine.edujini-labs.com http://blogs.mastergaurav.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT vs GWT-Ext
Hi Davsket, That would be nice, I have seen Dojo Toolkit and they have amazing efects and widgets, but they are still only JS... That encourages me! I'll keep your post for future reference... :-) I'll keep posted the GWT gang out here about the latest updates on DWT. I mentioned in one of the threads earlier about a head-start / demo application to be ready sometime around 15th of September. I also need to pen down the architecture document officially on the website for reviews and critics :) Thanks once again for your interest! -- Happy Hacking, Gaurav http://sf.net/projects/dwt http://eduzine.edujini-labs.com http://blogs.mastergaurav.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT vs GWT-Ext
You might also take a look at the gwt incubator site. There are a few more or less your milage may vary type of widgets and panels there. Looks good! I found one interesting issue with http://google-web-toolkit-incubator.googlecode.com/svn/trunk/demo/SpinnerDemo/SpinnerDemo.html While working with DateTimePicker, if I switch across the months, the width of the calendar increases. :) May be a tiny bug! -- Happy Hacking, Gaurav http://sf.net/projects/dwt http://eduzine.edujini-labs.com http://blogs.mastergaurav.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---