title: How can I set id for GWT widgets in UiBinder?
body: <p>In java  code we can set id. Is it possible to set 'id' for GWT widgets in UiBinder itself? </p>
  
  <p>If it is possilbe please give me a sample.</p>
  
  <p>Actually I tried the following code, </p>
  
  <pre><code>&lt;g:Button ui:field="login" debugId="loginButton"&gt;
  </code></pre>
  
  <p>Then I checked it in alert. <code>Window.alert("Id: " + login.getElement().getId());</code>
  But the output is <code>Id:</code>.</p>
  
  <p>Id is not set for the login button</p>
  
  <p>Is there any better way to do this?</p>
  
  <p>Can anyone help me?</p>
  
  <p>Thanks in advance,
  Gnik</p>