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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]