I just do something like this...in HTML, have div sections for header/
footer.
public class Header extends Composite {
// etc.
}
Whatever code bootstraps your app, just do: RootPanel.get("header").add
(new Header());
I do something a bit more involved using MVP pattern, and events to
manage the dynamic view, but this is the general idea.
Regards,
Davis
On Aug 25, 5:40 pm, Kevin Stembridge <[email protected]>
wrote:
> Hi all,
> Just wondering if there is a recommended way to provide header and
> footer templates with GWT. Its been a while since I did any web
> development but back in the day I'd be using something like Tiles with
> Struts or Sitemesh for JSP applications.
>
> It looks as though I could still use Sitemesh with a GWT app but I
> would like to know if there is a standard practice.
>
> Many thanks,
> Kevin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---