title: GWT RootPanel get by ID
body: <p>I am new to GWT and I am probably overlooking something simple. So what I am trying to do is in my html page I have created a layout for my page in the body tags: </p>
  
  <pre><code>&lt;table id="wrapper" cellpadding="0" cellspacing="0" style="width: 100%;height: 100%;"&gt;
  
           &lt;!-- Header row --&gt;
           &lt;tr style="height: 25%;"&gt;
               &lt;td colspan="2" id="header"&gt;&lt;/td&gt;
           &lt;/tr&gt;
  
           &lt;!-- Body row and left nav row --&gt;
           &lt;tr style="height: 65%;"&gt;
               &lt;td id="leftnav"&gt;&lt;/td&gt;
               &lt;td id="content"&gt;&lt;/td&gt;
           &lt;/tr&gt;
  
           &lt;!-- Footer row --&gt;
           &lt;tr style="height: 10%;"&gt;
              &lt;td colspan="2" id="footer"&gt;&lt;/td&gt;
           &lt;/tr&gt;
  
  &lt;/table
  </code></pre>
  
  <p>I have set Ids to everything so that I can get these items in the Entry point. So in my Entry point I try to populate these fields like this:</p>
  
  <pre><code>RootPanel.get("header").add(new Header());
  RootPanel.get("leftnav").add(new NavigationMenu());
  RootPanel.get("footer").add(new Footer());
  </code></pre>
  
  <p>However I have learned through debugging that the RootPanel.get("header") is returning null. I am sure the rest are returning null as well, it is just crashing before it gets there. To my understanding this is the right way to do things, however I must have missed something. Please let me know what I am doing wrong or if you need more info. Thanks</p>