Actually, that's described in the 'Beggining pojos" book :)
http://tacos.sourceforge.net/articles.html

But if you take another look at
http://tacos.sourceforge.net/components/Autocompleter.html
you'll find the afterUpdateElement parameter... It can call a js function
of yours when user selects a value.

Then check out the js docs from
http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter

BTW, our afterUpdateElement parameter is deprecated...
The way to go is
options="{afterUpdateElement:document.myFunction}"

Warner Onstine wrote:
> Now that I have my autocompleter working properly here's what I would
> like to do with it (hoping that someone has done something similar).
>
> Once a user has selected a value from the drop-down:
> 1) I would like to detect this and check to see if it's a value that's
> already in the db
> 2) If it is then I want to disable the rest of the venue fields and
> populate them with values that are already in the db (well maybe
> reverse those).
>
> Suggestions?
>
> -warner
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Tacos-devel mailing list
> Tacos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to