Re: MVP docs/tutorials/examples
Hi, Just a little while back, I was discussing the lack of a step by step guide to GWT features similar to what Microsoft had in their MSDN for learning Visual Basic and Visual C++. Good that someone has stepped up in doing a step by step way to learn GWT features -- I will try it out and give feedback. BR, ~A On Tue, Dec 7, 2010 at 4:33 PM, Boris Lenzinger boris.lenzin...@gmail.comwrote: Hi, Did you check this ? http://code.google.com/p/gwt-gae-book . It was announced few days ago by its writer and it seems to be an excellent work on this topic... Boris 2010/12/7 Andrey mino...@gmail.com Hello, We are going to use GWT 2.1 MVP in our projects. The problem is that there seems to be too little information about this framework. This doc is very poor: http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html For example it tells nothing about how to use EventBus, where to place event handlers, how to register activities/controllers and so on. The HelloMVP example doesn't even contain any custom Event. Are there any additional docs/examples/tutorials concerning GWT 2.1 MVP with its Activities, Places, etc.? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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.
how to achieve pretty URLs in GWT 2.0 application
Hi All, We have an enterprise app done in GWT 2.0.3 and SmartGWT 2.2 which has a few screens, login and a few CRUD screens. We would like to have nice URLs for the same, one each for all the pages including login. Eg : 1) http://domain.com/appname/login for the login Page 2) http://domain.com/appname/familyManagement for the family Management Page 3) http://domain.com/appname/userManagement for the User Management Page You get the idea. What does it take to do that ? What have others done in a similar scenario ? Thank you, BR, ~A -- 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: All I Want for Christmas is a powerful Widget Library from Google !
+1. SmartGWT LGPL is the only option for those who don't have lot of time and/or money to use GWT and still be productive. If GWT has a decent Table/Grid, Tree, then a lot of users will be content in just using GWT. Now that Designer is also part of the Google, the next step would be for Google to add a few more controls that will make it easy for developers to build apps to really highlight GWT's productivity benefits. BR, ~A On Mon, Nov 15, 2010 at 4:53 PM, ingo ingo.jaec...@googlemail.com wrote: +1 I am currently doing the GWT project honeycrm http://code.google.com/p/honeycrm/. A more powerful set of widget is the very last thing that is missing in the GWT puzzle. On 15 Nov., 09:39, massimo malvestio massimo.malves...@gmail.com wrote: +1 I'm currently learning SmartGWT, LGPL version. I obviously can't take advantage of everything newly introduced and waited for a long time, like MPV, I had to wrote my own implementation 3 years ago to decouple code, and now I have to use their good implementation, but exiting from GWT standard, with a large amount of work, now to adapt my code to SmartGWT, and probably in the future, if there will be a chance, to adapt again my custom code to GWT standards. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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: MVP - Part II download
Hi Suresh, Can you share what errors occur at what step ? BR, ~A On Mon, Nov 15, 2010 at 3:46 PM, suresh babu sureshgbab...@gmail.comwrote: Hi, I have download the Tutorial-Contacts2.zip which is in the Large scale application development and MVP - Part II. When I try to compile it is fine but when I run it gives error in DevMode. I am use Gwt 2.1 with eclipse 3.6. Any suggestion Regard's Suresh Babu G -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to get regex(Pattern and Matcher) working in client side
Hi thomas, Thank you. Is there a way to backport this onto 2.0.3 ? We're gone Production using 2.0.3 and it would help to know what it takes to backport to 2.0.3. Thank you, BR, ~A On Fri, Nov 12, 2010 at 4:48 AM, Thomas Broyer t.bro...@gmail.com wrote: On 11 nov, 20:34, Jim Douglas jdou...@basis.com wrote: This can be used in GWT client code: http://download.oracle.com/javase/6/docs/api/java/lang/String.html#ma.. .) (Of course, you still need to be aware of the differences between Java and JavaScript regex implementations). To see if a given Java feature will work in GWT client code, see: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html See also http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/regexp/shared/RegExp.html which mimics the JS RegExp API and can also be used on the server-side (or unit tests without GWTTestCase). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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.
how to get regex(Pattern and Matcher) working in client side
We're using GWT 2.03 along with SmartGWT 2.2. I'm trying to use a regex like below in client side code. Pattern pattern = Pattern.compile(\\\(/\d+){4}\\\); String testString1 = [\/2/4/5/6/8\,\/2/4/5/6\]; String testString2 = [ ]; Matcher matcher = pattern.matcher(testString1); boolean result = false; while (matcher.find()) { System.out.println(matcher.group()); } It appears that Pattern and Matcher classes are NOT compiled to Javascript by the GWTC compiler and hence this application did NOT load. What is the equivalent GWT client code so that I can find regex matches within a String ? How have you been able to match regexes within a String in client-side GWT ? Thank you, -- 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: Google Web Toolkit Lagging
Hi There, Since the javascript code that is generated while working within eclipse is NOT optimized, it is expected that the application becomes slow. As long as the compiled application is NOT slow, you should be fine. BR, ~A On Mon, Jul 12, 2010 at 10:12 AM, AgitoM karel.m...@gmail.com wrote: Since somewhere last week, whenever I try and run a application I build in debug mode, the application is heavy lagging. This is the case in any browser that I use, and was not the case until a few days ago. Over the past few days there have been no major changes to the source code of the application. On top of that, if I compile the application and deploy on Apache Tomcat the speed of the application is back to normal. Has anyone else experienced this problem? Is it due to some GWT update? Anyone who has encountered it managed to fix 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.comgoogle-web-toolkit%2bunsubscr...@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-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 and Spring - More Generation Options
Hi There, Thank you. Does MyEclipse for Spring 8.6 have support for using Hibernate instead of JPA ? Thank you, BR, ~A On Sat, Jul 10, 2010 at 12:36 AM, Christiana Thompson christiana.thomp...@gmail.com wrote: This week Genuitec and Skyway Software released the second milestone (M2) of MyEclipse for Spring 8.6, which includes scaffolding for GWT applications. With this new release, our users can now generate full ready-to-run GWT applications from a domain model (i.e. DB tables, Java Beans, or JPA Entities). As excited as we are about this new feature, we are eager to get feedback from the GWT community. Some key aspects of our GWT scaffolding: - The functionality is based on GWT 2.0.4 (no dependency on early access or non-GA libraries) - The generated code is based on current best practices (from last year's Google I/O session with Ray Ryan and the MVP tutorials from Chris Ramsdale) and UI Binder - The GWT RPC services are based on Spring Services, and include conversion of JPA objects to/from data transfer objects (DTO) that are optimized for GWT - The generated applications support both Spring 2.5.x and Spring 3.0 Again, we'd appreciate input and feedback from the GWT community. Additional information and resources are as follows: - More Details: http://bit.ly/9ydV0X - Installer: http://bit.ly/asbbYo - Tutorial: http://bit.ly/945fK2 - Getting Started Video (5 min): http://bit.ly/cwSawM -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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.
SmartGWT RestDataSource sample code using Spring/CXF ?
Hi All, We've embarked on a GWT project and using SmartGWT(TreeGrid , DynamicForm, etc) -- we found out that the open source version of SmartGWT does NOT come with DataSources that connect to a RDBMS. In order to connect to a RDBMS, we need to extend RestDataSource and implement REST services that provides the CRUD in the format that the RestDataSource expects. Are there available Java sample source code that use, say, Spring/CXF to implement a REST service (which has CRUD operations in a RDBMS) and the corresponding Client side GWT/SmartGWT code that interacts with the REST Service using RestDataSource ? This will help us meet our impossible deadline! Thank you, BR, ~A -- 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 and Spring - More Generation Options
Hi There, That helps. Thank you, BR, ~A On Mon, Jul 12, 2010 at 7:09 PM, Niel niele...@gmail.com wrote: Yes, it does use Hibernate. The scaffolding functionality of MyEclipse for Spring generates the GWT front-end integrated with the Spring (Spring/JPA/Hibernate) back- end application. The back-end is a Spring application that uses Hibernate as the JPA provider, and the Spring Services (@Service) provide the RPC interface/services for the GWT front-end. The GWT front-end (MVP, UI Binder) is generated to call the Spring services. The GWT portion of the application has no notion of JPA (or even Spring for that matter). If you are interested in Hibernate without JPA, the back-end application can be refactored without impacting the GWT front-end. I hope that helps. uses Hibernate as the JPA provider. The gernareGWT application On Jul 12, 9:20 am, anjan bacchu.dev anjan.d...@gmail.com wrote: Hi There, Thank you. Does MyEclipse for Spring 8.6 have support for using Hibernate instead of JPA ? Thank you, BR, ~A On Sat, Jul 10, 2010 at 12:36 AM, Christiana Thompson christiana.thomp...@gmail.com wrote: This week Genuitec and Skyway Software released the second milestone (M2) of MyEclipse for Spring 8.6, which includes scaffolding for GWT applications. With this new release, our users can now generate full ready-to-run GWT applications from a domain model (i.e. DB tables, Java Beans, or JPA Entities). As excited as we are about this new feature, we are eager to get feedback from the GWT community. Some key aspects of our GWT scaffolding: - The functionality is based on GWT 2.0.4 (no dependency on early access or non-GA libraries) - The generated code is based on current best practices (from last year's Google I/O session with Ray Ryan and the MVP tutorials from Chris Ramsdale) and UI Binder - The GWT RPC services are based on Spring Services, and include conversion of JPA objects to/from data transfer objects (DTO) that are optimized for GWT - The generated applications support both Spring 2.5.x and Spring 3.0 Again, we'd appreciate input and feedback from the GWT community. Additional information and resources are as follows: - More Details:http://bit.ly/9ydV0X - Installer:http://bit.ly/asbbYo - Tutorial:http://bit.ly/945fK2 - Getting Started Video (5 min):http://bit.ly/cwSawM -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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.
UIBinder and SmartGWT 2.2 : how to get them working
hi there, does anyone have a comment on what it takes to get UiBinder and SmartGWT 2.2 up and running ? We are using SmartGWT v 2.2 Tree and Grid Controls on top of GWT 2.03. Can someone suggest what techniques can be employed for both to play together ? We saw http://code.google.com/p/uibinding-smartgwt/. Is that the recommended approach ? If someone already has UiBinder working fine with SmartGWT, that would be of great use to us. Any tips/pointers appreciated very much, BR, ~A -- 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: Web server magic?
Hi fmod, Thank you. If you open the Run Configurations dialog from eclipse it will uncover part of this magic. I was wondering how to change the port on which jetty listens and the above dialog did the trick. I run the Fiddler http proxy for intercepting the traffice between chrome browser and Jetty. Fiddler listens at port and since jetty also listens at port , this clashed and I could NOT get Fiddler to work. Now, I've moved Jetty to use 8889 (hope that does NOT clash with another program that is installed in my box :-) ) BR, ~A On Thu, Jun 17, 2010 at 11:28 PM, fmod francisco.mode...@gdsoft.eu wrote: Yes, GWT comes with an embedded server, for testing your apps. If you open the Run Configurations dialog from eclipse it will uncover part of this magic. About that error, what are you trying to do? Maybe reloading the web services (there is a refresh button in the dev mode view), or re-run the app can fix it. On Jun 15, 5:52 pm, Matt brownm...@gmail.com wrote: When I run a GWT application in eclipse, what is serving the web page? I haven't installed a web server, yet something is answering requests on port when I run the application through eclipse. Does the eclipse plugin include a web server? I'm having problems loading pages now... says: HTTP ERROR: 503 Problem accessing /. Reason: SERVICE_UNAVAILABLE Powered by Jetty:// So I guess Jetty is running somehow... but I don't know how to fix this problem since everything is magic and hidden from me. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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: Making the back button go even further back in history?
Hi There, Yes, I've seen this happen in several online applications. It would be nice to know how to prevent such torture of users :-) Anyone ? BR, ~A On Fri, Jun 18, 2010 at 6:39 PM, dduck anders.johansen.a...@gmail.comwrote: Hi, I have this unusual problem. I have a form page that redirects to a results page that auto- redirects to my GWT application page. Now, if the user presses the browser Back button, he goes back to the auto-redirect page, which is not what he would expect - he wants to get to the form page, so TWO steps backwards. Is there any way to make that happen? Regards, Anders -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1.0 M1 and Roo development lifecycle. What would you do?
Hi Marco, I'm inclined to go with approach #2 as well for the same reasons you've mentioned below. BR, ~A On Fri, Jun 18, 2010 at 4:20 PM, Marco De Angelis de.angelis.ma...@gmail.com wrote: I've been giving a closer look at GWT 2.1.0 M1 and Expense application lately, as the best way to be educated after Google I/O 2010 sessions. In your opinion, how long a real-world application shall be coupled with Spring Roo infrastructure/annotations? It's obvious that the default views generated by Spring Roo will be replaced by custom views developed with specific application logic. Even if you're a CSS wizard, at some point in time you would need a custom behaviour. I can see the following approaches: 1) Remove all references to Roo. The Expenses application has, in fact, removed the AspectJ extensions, all Roo annotations and just reused the skeleton of Entity+Record+Places+Activities as basis for custom views. If you have to add a new field or a new entity after abandoning roo, you're own your own. 2) Like 1), but keep the original Roo project somewhere in parallel. If you have to modify something, you can still use Roo to generate new classes and fields scaffolding, and then manually copy/paste/adjust in the real-world application. Not so integrated, but it may work if your views and logic change more often than the model does. 3) You keep roo as part of the development cycle. You place your custom views in separate package, and add your own modules that use your own widgets instead of the scaffolding ones. In this way, roo can always rebuild the entire scaffolding without interfering with your code. You still have to manually adjust your custom views to handle new/removed/modified fields and entities. Very nice integration, but you need to know exactly what Roo is going to ovewrite when things change. 4) I have a little knowledge of Roo, so there might be extension points that I'm not aware of. In that case there might be other ways to add your own views. I'm tempted to think approach 2) is the classical good-enough compromise, but I'm interested in other people's opinion. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-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.