Hi Matthew, The easiest way is to put header and footer divs in your HTML host page. If you need to update the content dynamically, you can call Document.get().getElementById(div_id).setInnerHTML() to change the contents in the div.
Or you can use DockLayoutPanel and attach sub-panels for the north (header) and south (footer) regions. /dmc On Fri, Dec 17, 2010 at 5:19 PM, Matthew Hill <[email protected]> wrote: > Hi. > How would I make a root widget (or presenter?), which contains anything > which should be on every page, e.g. a header and footer. I'm using the MVP > features of GWT 2.1. > > -- > 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. > -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.com/ -- 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.
