Grails Autocomplete With DependsOn doesn't work
I have this code in my .gsp:

    <input id="selection1" type="hidden" name="selection1" value="test"/>
     <gui:autoComplete
      minQueryLength='2'
      queryDelay="0.2"
      id="corso"
      controller="utente"
      action="corsoAutoComplete"
      resultName="corsi"
      dependsOn="selection1"
     />

I use Grails-ui 1.2

My controller is that:

    def corsoAutoComplete={
    	println params;
    	def corso = Corso.findAllByNomeIlike("%${params.query}%",[max:15,cache:true])
    	corso = corso.collect{
    		[id:it.id, name:it.nome]
    		}
    	def jsonCorso = [corsi:corso]
    	render jsonCorso as JSON		
    	}

println params doesn't return the value of input with id="selecion1"

why???
Grails Autocomplete With DependsOn doesn't work
===

I have this code in my .gsp:

    <input id="selection1" type="hidden" name="selection1" value="test"/>
     <gui:autoComplete
      minQueryLength='2'
      queryDelay="0.2"
      id="corso"
      controller="utente"
      action="corsoAutoComplete"
      resultName="corsi"
      dependsOn="selection1"
     />

I use Grails-ui 1.2

My controller is that:

    def corsoAutoComplete={
    	println params;
    	def corso = Corso.findAllByNomeIlike("%${params.query}%",[max:15,cache:true])
    	corso = corso.collect{
    		[id:it.id, name:it.nome]
    		}
    	def jsonCorso = [corsi:corso]
    	render jsonCorso as JSON		
    	}

println params doesn't return the value of input with id="selecion1"

why???