What I do is create a complete html file for each page. This allows my site
to get spidered, allows updates without recompiles, easier to write than
Java strings, etc. In the GWT app, I just use requestbuilder to get the page
directly, strip out the content, and put it in an HTMLPanel (so I can get at
the elements by id)

There's no need for any server-side code to get and return the html.

Ian

http://examples.roughian.com


2009/11/3 compuroad <[email protected]>

>
> I would like to know if there is a built in way in GWT to read and
> inject HTML content. At least 50% of the site I am planning has static
> HTML content that would not benefit from GWT one page model. I am
> thinking in building a application that reads the static content using
> java.io.File and injects into GWT using the HTML widget.
>
> I would like to know if there are any alternatives.
>
> Thanks,
>
> Wilson
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to