title: Zero clipboard is not working in gwt
body: <p>I have been trying to integrate zero clipboard library with gwt code as follows.</p>
  
  <p><strong>test.html</strong></p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script type="text/javascript" language="javascript" src="test/test.nocache.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="ZeroClipboard.js"&gt;&lt;/script&gt;
  &lt;script language="text/javascript"&gt;
  
       function initZeroClipboard() {
                     ZeroClipboard.setMoviePath('ZeroClipboard.swf');
         }
  
  &lt;/script&gt;
  
   .....................................
    //Intial body load instantiating 'Moviepath'
  
    &lt;body onload="initZeroClipboard();"&gt;  
  </code></pre>
  
  <p><strong>TestWidget.java</strong></p>
  
  <pre class="lang-java prettyprint-override"><code>Anchor copy = new Anchor("Copy");
  ......................
   //setting id to refer the movie
  copy.getElement().setId("copyId");
  glueCopy("Hello World");
   ...........
   //Native method
  public static native void glueCopy(String text) /*-{
   var clip = new $wnd.ZeroClipboard.Client();
   clip.setText(text);
   clip.glue('copyId');
  }-*/;
  </code></pre>
  
  <p><strong>But on intial load itself i am getting the following error in IE and FF.</strong></p>
  
  <p><strong>Jetty Server IE error</strong> 
  <img src="https://i.stack.imgur.com/PGScp.png" alt="enter image description here"></p>
  
  <p><strong>Jetty server FF error</strong>
  <img src="https://i.stack.imgur.com/KA32l.png" alt="enter image description here"></p>
  
  <p>I have donloaded 'ZeroClipboard.swf' and 'ZeroClipboard.js' files from the following
  <strong><a href="https://github.com/jonrohan/ZeroClipboard" rel="nofollow noreferrer">https://github.com/jonrohan/ZeroClipboard</a></strong></p>
  
  <p>Can anyone come across this issue, if so suggest me how to get rid of this.</p>