title: Plugin missing while using ajax prototype in Grails 2?
body: <p>Hello..I'm using Grails 2 and tried to implement the ajax call from gsp page to my controller..At first library prototype was missing in grails 2 i solve this using command grails install-plugin prototype..Now that error is not coming but not working and different error is coming..</p>
  
  <p>Here by i attached the code..I'm trying simple update second select box if i change the first</p>
  
  <p>As well i added grails.views.javascript.library = "prototype" this line in Config.groovy</p>
  
  <pre><code>&lt;code&gt;
       //Controller&lt;br&gt;
          def ajaxgetStrudents() {
  
              def college=College.get(params.id)
              render college?.students as JSON
  
          }
          //GSP&lt;br&gt;
          javascript library="prototype" plugin="prototype"&lt;br&gt;
          &lt;g:select id="name" name="name" from="${collegeNames.name }"  
          onChange="${ remoteFunction(controller:'College', action:'ajaxgetStrudents', 
  
          , onComplete: 'updateStudent(e)',params   :'\'id=\'+this.value '        
  
              )}
  `&lt;/code&gt;
  </code></pre>
  
  <p>And i wrote javascript code to fill student select box..This code is not working..In console error coming like this</p>
  
  <p><code>
  ` Error 2012-10-08 01:16:57,933 [http-bio-8083-exec-6] ERROR [/SampleGrails].[default]  - Servlet.service() for servlet [default] in context with path [/SampleGrails] threw exception
  Message: It looks like you are missing some calls to the r:layoutResources tag. After rendering your page the following have not been rendered: [defer]
      Line | Method
  ->> 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor</p>
  
  <hr>
  
  <p>|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
  ^    722 | run . . . in java.lang.Thread
  `</code></p>
  
  <p>First i want to make run of this code..??</p>
  
  <p>Next even though i installed the prototype plugin that was not added in my project plugin folder..but it was showing in grails list-plugin -installed command..why it is..??</p>
  
  <p>Thanks..,</p>