Re: displaying static content in gwt

2009-10-27 Thread usmanf
Sorry, I am not getting you.. Do You mean including it into the html file directly by editing the .html file? We are using GWT (with ext) only to design the pages. If I include it using GWT, I'll be using setHtml(String) method to add the html. I dont want to hard code the chunks of html code in

Re: Displaying static content on gwt client

2009-10-27 Thread usmanf
Do I need to svn checkout to from the gwt to get files for the UiBinder stuff? We are using gwt 1.7.1 with ext 2.0.1. unable to find any support inside gwt 1.7.1 On Oct 26, 5:05 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: There a couple of approaches you can use, each with its

Re: Displaying static content on gwt client

2009-10-27 Thread Sripathi Krishnan
You can use GWT 2.0 Milestone 2 from this link - http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=2.0+Milestone+2 Alternatively, you can also build GWT from source. --Sri 2009/10/27 usmanf linkusma...@yahoo.com Do I need to svn checkout to from the gwt to get files for the

displaying static content in gwt

2009-10-26 Thread usmanf
I am thinking to place most of the design code [html] in the static files with .html and place their contents into the panel's setHtml() instead of writing GWT code for every thing. like for example I have a panel in the top that contains anchors like Home, Support, News etc. Instead of creating

Re: displaying static content in gwt

2009-10-26 Thread Thomas Broyer
On 26 oct, 10:50, usmanf linkusma...@yahoo.com wrote: I am thinking to place most of the design code [html] in the static files with .html and place their contents into the panel's setHtml() instead of writing GWT code for every thing. like for example I have a panel in the top that contains

Re: Displaying static content on gwt client

2009-10-26 Thread jhulford
I would suggest using something like jsp / php / asp to generate your GWT host page and have all the static content loaded directly into the page during the initial user request along w/ the code to load up your GWT module. Or if you don't mind using bleeding edge code, you may want to take a

Re: Displaying static content on gwt client

2009-10-26 Thread Sripathi Krishnan
There a couple of approaches you can use, each with its pros and cons. 1. You can put it in the initial user request with code using jsp/php/asp - but that would mean your initial page load size is going to increase. If the content is really important - you can use this approach; but

Re: Displaying static content on gwt client

2009-10-25 Thread usmanf
Thanks for the reply. So it means that it is going to be a GET request from the client to the server for the resource once the client will load on the browser. I am thinking to place most of the design code [html] in the static files with .html and place their contents into the panel's setHtml()

Displaying static content on gwt client

2009-10-24 Thread usmanf
I am designing a home page for my website using GWT ext (GXT). It contains a lot of static contents like news, advert text etc that usually goes on the home page. Firstly I tried separating the static content into html files and reading them using java.io.FileReader to set them on the Panel's