Re: Newbie Question - Integrate GWT on Existing page
In the default application that is created using the webAppCreator.cmd or the Eclipse plugin you will see they add specific elements to specefic parts of the page. In the HTML under the body you will see: table align=center tr td colspan=2 style=font-weight:bold;Please enter your name:/td /tr tr td id=nameFieldContainer/td td id=sendButtonContainer/td /tr /table Then in the corresponding GWT code you will see: RootPanel.get(nameFieldContainer).add(nameField); RootPanel.get(sendButtonContainer).add(sendButton); So it's going to put those widgets in the .add() exactly where the id is. So you could use the same idea to place your ticker exactly where you want it. Hope this helps. On Jun 24, 12:12 am, Andrew Myers am2...@gmail.com wrote: Thanks Pavel I will give it a try. I am going nuts with some Javascript libraries at the moment, and hopefully this will be much easier for me as a Java programmer :-)_ 2009/6/24 Pavel Byles pavelby...@gmail.com Sure it's feasible. Just create ur GWT widget and include the *.nocache.js file in your html. You can use GWT to place the widget anywhere on your page. On Tue, Jun 23, 2009 at 10:32 PM, Andrew am2...@gmail.com wrote: Hi All, Is it possible to integrate GWT onto an existing page? For example, if I wanted to write a GWT news ticker or something similar and put it into a block on the homepage of an existing site, is this feasible? And if so, are there any examples avialable? Most of the examples I have found seem to pertain to when you are writing the whole app in GWT. Thanks! Andrew. -- -Pav --~--~-~--~~~---~--~~ 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: Newbie Question - Integrate GWT on Existing page
Sure it's feasible. Just create ur GWT widget and include the *.nocache.js file in your html. You can use GWT to place the widget anywhere on your page. On Tue, Jun 23, 2009 at 10:32 PM, Andrew am2...@gmail.com wrote: Hi All, Is it possible to integrate GWT onto an existing page? For example, if I wanted to write a GWT news ticker or something similar and put it into a block on the homepage of an existing site, is this feasible? And if so, are there any examples avialable? Most of the examples I have found seem to pertain to when you are writing the whole app in GWT. Thanks! Andrew. -- -Pav --~--~-~--~~~---~--~~ 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: Newbie Question - Integrate GWT on Existing page
Thanks Pavel I will give it a try. I am going nuts with some Javascript libraries at the moment, and hopefully this will be much easier for me as a Java programmer :-)_ 2009/6/24 Pavel Byles pavelby...@gmail.com Sure it's feasible. Just create ur GWT widget and include the *.nocache.js file in your html. You can use GWT to place the widget anywhere on your page. On Tue, Jun 23, 2009 at 10:32 PM, Andrew am2...@gmail.com wrote: Hi All, Is it possible to integrate GWT onto an existing page? For example, if I wanted to write a GWT news ticker or something similar and put it into a block on the homepage of an existing site, is this feasible? And if so, are there any examples avialable? Most of the examples I have found seem to pertain to when you are writing the whole app in GWT. Thanks! Andrew. -- -Pav --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---