title: Window Location getParameter is always null in GWT/GXT Project?
body: <p>I am working GWT/GXT
  I am trying to practise some sample Examples.</p>
  
  <p>This is url of the project</p>
  
  <pre><code>http://127.0.0.1:8888/Opera_Star.html?gwt.codesvr=127.0.0.1:9997
  
  public void onModuleLoad() {
          Map&lt;String, Entry&gt; project = new FastMap&lt;Entry&gt;();
          ProjectModel projectModel = new ProjectModel();
          for (int i = 0; i &lt; projectModel.getChildren().size(); i++) {// 1 children
              LoginCategory loginCategory = (LoginCategory) projectModel
                      .getChildren().get(i);
              for (int j = 0; j &lt; loginCategory.getChildren().size(); j++) {// 2 children
                  Entry entry = (Entry) loginCategory.getChildren().get(j);
                  project.put(entry.getId(), entry);
              }
          }   
          Registry.register(MODEL, projectModel);
          String id = Window.Location.getParameter("id");
          if (id == null) {
              id = XDOM.getBody().getId();
          }    
          Entry entry = project.get(id);    
          if (entry == null) {
              return;
          }
  </code></pre>
  
  <p>Can Anybody tell me What is <code>String id = Window.Location.getParameter("id");</code>, How to <code>setParameter</code> for <code>Windows.Location</code></p>
  
  <p>What is <code>id = XDOM.getBody().getId();</code></p>
  
  <p>I am getting Id null.</p>
  
  <p><img src="https://i.stack.imgur.com/l2WMc.png" alt="enter image description here"></p>