title: How to add Captcha on GWT project?
body: <p>I want to add captcha inside dialogue box.
  This is first time I am using captcha in my poroject</p>
  
  <p>Captcha Widget is not loading.</p>
  
  <p>I used <strong><code>gwt-recaptcha-1.0.0.Beta2.jar</code></strong> this plugin to show it in client side.
  And public key is generated by givinmg URL example.com,</p>
  
  <p>also i included the scripts and its files as follows:</p>
  
  <pre><code>&lt;script language="JavaScript" type="text/javascript"
      src="/js/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
  &lt;script language="JavaScript" type="text/javascript"
      src="/js/jquery-ui-personalized-1.5.2.packed.js"&gt;&lt;/script&gt;
  &lt;script language="JavaScript" type="text/javascript"
      src="/js/sprinkle.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>following is the error come </p>
  
  <pre><code>com.google.gwt.event.shared.UmbrellaException: Exception caught: Exception caught: Exception caught: (TypeError) @com.claudiushauptmann.gwt.recaptcha.client.Recaptcha::create(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)([string: '6LcTueYSAAAAAHPQtHZgAULhzRiawknYecvkKokU', string: 'recaptcha_div', string: 'red', string: 'en', int: 0]): $wnd.Recaptcha is undefined
  </code></pre>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>In browser, when I inspect it with firbug, the console shows an error in retrieving content. Error message shown in firebug console is:</p>
  
  <pre><code>Blocked loading mixed active content "http://api.recaptcha.net/js/recaptcha_ajax.js"
  </code></pre>
  
  <p>And I am expecting a code like the following in my html page after running the project, but was missing.</p>
  
  <pre><code> &lt;script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LdeueYSAAAAAKhH5DTUxAv5415DZBgp5cuf0Rmd&amp;ajax=1&amp;cachestop=0.992938555511717&amp;lang=en"&gt;
  </code></pre>
  
  <p>When I created a sample project it was there.</p>
  
  <p><strong>UPDATE 2</strong>
  response is:</p>
  
  <pre><code>var RecaptchaState = {'programming_error' : 'Input error: Invalid referer'};
  </code></pre>