struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: Autocompleter onchange attribute
Date Tue, 10 Jun 2008 14:47:23 GMT
What do you mean by 'No ajax use'? s:autocomplete is an Ajax tag... Do 
you have <s:head theme="ajax"/> in the head section of your page? Do you 
get any Javascript errors when you load the page, or when you interact 
with the autocompleter control?

L.

Craftyman wrote:
> Hi,
> 
> I'm using a s:autocompleter with a local list (No ajax use - Struts 2.0.9).
> The auto seach work fine but the onChange event doesn't run.
> Indeed, I want to submit myForm when the user select a right value (Ie a
> value present in my select).
> 
> Here my configuration :
> 
> <s:form name="myForm"  theme="simple">
> 
> <s:autocompleter autoComplete="true" resultsLimit="false"
>  dropdownHeight="200" cssStyle="width: 60px;"
>  list="allItem" listKey="id" listValue="desc"
>  name="selectedItem" />
> 
> </s:form>
> 
> I'm try the notifyTopic attribut without succes (
> http://struts.apache.org/2.0.11.1/docs/autocompleter.html)
> I'm also read this thread but it is not resolv my problem (
> http://www.mail-archive.com/user@struts.apache.org/msg63586.html)
> 
> Sincerely
> C├ędric



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message