Hi Dalahoo, Good, that's the problem. ok, it works now in Firefox and Safari, but i notice one problem in Safari:
you can not navigate in the drop down list with arrow keys like we can do with Firefox, any ideal? thanks A.C. dalahoo wrote: > > Hi Joshua, > > i think that your method names is wrong, your textfield on template has no > t:id, > try it with t:id="clientName" > > onProvideCompletionsFromClientName > > > > > On Dec 28, 2007 2:25 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote: > >> I know. Perhaps this is due to the incompatibility of scriptaculous >> library. >> >> :( >> :sigh: >> >> On 12/28/07, Angelo Chen <[EMAIL PROTECTED]> wrote: >> > >> > Hi Joshua, >> > >> > I tried your sample, it does not work in IE/Firefox/Safari, maybe I >> miss >> > something, I can see calls to the server : >> > http://localhost:8080/myapp/testajax.textfield:autocomplete? here is >> what I >> > did: >> > >> > public List<String> onProvideCompletionsFromClientName(String input) >> > { >> > List<String> result = new ArrayList<String>(); >> > result.add("test1"); >> > result.add("test2"); >> > System.out.println("Inside Autocompletion Event Handler"); >> > return result; >> > } >> > >> > <t:form> >> > <input t:type="TextField" t:value="prop:clientName" >> > t:mixins="autocomplete" /> >> > </t:form> >> >> -- >> I'm a coder not a drag-n-dropper >> >> Blog: http://joshuajava.wordpress.com/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > sincerely yours > M. H. Shamsi > > -- View this message in context: http://www.nabble.com/T5%3A-How-to-use-the-Autocomplete-component--tp14522247p14533231.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]