Re: Nobody is using Struts1 with GWT successfully?
@adligo I agree with you too! On 27 abr, 22:22, Adligo wrote: > I would recommend not using Struts with GWT, Struts (and Spring MVC) > are web 1.0 technologies. I would recommend using RPC for actions > that need to talk to the server using googles nice RPC framework. > If you have a mashup (old Struts app that you want to add GWT to) > I would suggest taking a large scale refactoring approach and write > new functionality in GWT (with RPC) and keep the old Struts jsp > code. Then when you have done a fair amount of GWT start refactoring > the old Struts jsp code to GWT as you are asked to maintain (change) > parts of it. > > Cheers, > Scott -- 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: Nobody is using Struts1 with GWT successfully?
I believe that: If you is using struts1 and would like use GWT integrated with Struts1... STOP NOW! You should to create a RequestBuilder for each Action on Struts... And create a form that represent your "struts form" Is a big job do this... If you would like use GWT, consider first to use RequestFactory, and adapt your application for this.. I believe that doing this you will be on right track... To do this: You will remove your dependence of struts1 (that in my opinion is very very very very old). -- 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: Nobody is using Struts1 with GWT successfully?
agreed On Wed, Apr 27, 2011 at 9:22 PM, Adligo wrote: > I would recommend not using Struts with GWT, Struts (and Spring MVC) > are web 1.0 technologies. I would recommend using RPC for actions > that need to talk to the server using googles nice RPC framework. >If you have a mashup (old Struts app that you want to add GWT to) > I would suggest taking a large scale refactoring approach and write > new functionality in GWT (with RPC) and keep the old Struts jsp > code. Then when you have done a fair amount of GWT start refactoring > the old Struts jsp code to GWT as you are asked to maintain (change) > parts of it. > > Cheers, > Scott > > -- > 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: Nobody is using Struts1 with GWT successfully?
I would recommend not using Struts with GWT, Struts (and Spring MVC) are web 1.0 technologies. I would recommend using RPC for actions that need to talk to the server using googles nice RPC framework. If you have a mashup (old Struts app that you want to add GWT to) I would suggest taking a large scale refactoring approach and write new functionality in GWT (with RPC) and keep the old Struts jsp code. Then when you have done a fair amount of GWT start refactoring the old Struts jsp code to GWT as you are asked to maintain (change) parts of it. Cheers, Scott -- 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: Nobody is using Struts1 with GWT successfully?
Thanks for the code, but not sure what is your point here. This topic is about how to integrate Struts1 with GWT. On Apr 22, 4:23 pm, Jeff Larsen wrote: > give an element an id > > > > public class MyModule implements EntryPoint{ > > public void onModuleLoad(){ > > Label someLabel = new Label("test"); > > RootPanel.get("someid").add(someLabel); > } > > } > > you should see test in your page. I've never used struts, but I'd imagine > you're able to set IDs on elements. -- 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: Nobody is using Struts1 with GWT successfully?
give an element an id public class MyModule implements EntryPoint{ public void onModuleLoad(){ Label someLabel = new Label("test"); RootPanel.get("someid").add(someLabel); } } you should see test in your page. I've never used struts, but I'd imagine you're able to set IDs on elements. -- 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: Nobody is using Struts1 with GWT successfully?
We have an existing Struts1.3 application with forms. I want to be able to add some of the GWT component or gwt-ext on the existing forms. Is there any example or link online I can download? I'm still new to GWT framework, but I like it better than YUI. Any help or guide would be so much appreciated. Thanks! On Apr 21, 10:34 am, SVR wrote: > It depends on what you want to do. We are using GWT with Struts2. Your GWT > UI can be part/whole of a page (this could become the host page of your GWT > app) generated by a Struts action and so on. > > On Thu, Apr 21, 2011 at 9:23 AM, Jak wrote: > > I've been search the entire internet about samples or tutorial on how > > to build GWT with Struts. It seems nobody has done it successfully. So > > the two frameworks combined is not a common practice. Can somebody > > help enlighten this topic? The only thing I've found is this plugin: > >http://code.google.com/p/struts2gwtplugin/ > > The example/demo is a bit outdated. > > > -- > > 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: Nobody is using Struts1 with GWT successfully?
It depends on what you want to do. We are using GWT with Struts2. Your GWT UI can be part/whole of a page (this could become the host page of your GWT app) generated by a Struts action and so on. On Thu, Apr 21, 2011 at 9:23 AM, Jak wrote: > I've been search the entire internet about samples or tutorial on how > to build GWT with Struts. It seems nobody has done it successfully. So > the two frameworks combined is not a common practice. Can somebody > help enlighten this topic? The only thing I've found is this plugin: > http://code.google.com/p/struts2gwtplugin/ > The example/demo is a bit outdated. > > -- > 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.
Nobody is using Struts1 with GWT successfully?
I've been search the entire internet about samples or tutorial on how to build GWT with Struts. It seems nobody has done it successfully. So the two frameworks combined is not a common practice. Can somebody help enlighten this topic? The only thing I've found is this plugin: http://code.google.com/p/struts2gwtplugin/ The example/demo is a bit outdated. -- 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.