Doesn't this work?
http://opencomponentry.com:8080/tacos/bugs/Bug58.html

It has 2 autocompleters in a loop (of 2 iterations)

Here's the source:
https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/demo/docroot/WEB-INF/bugs/Bug58.html
https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/demo/docroot/WEB-INF/bugs/Bug58.page


Ben Dotte wrote:
> I just tried upgrading our app to Tacos 4.0 final. I'm glad to see the
> new 'parameters' parameter for the Autocompleter, this makes it much
> easier to use in a loop. The problem I'm running across now though is
> that I have two Autocompleters being rendered in a loop and drop-down
> values only appear for the first one rendered when the user enters a
> search. I've tried switching which one gets rendered first but either
> way only the first one works. I have verified that the search listener
> gets called by both of them and that the search list page property is
> being populated in both cases.
>
>  
>
> The only thing I can think of is that I have both Autocompleters pointed
> to the same search list page property since the user can only search one
> at a time anyway. But I can't have separate page properties for each
> once since it is in a loop and I don't know how many I would need. I
> even tried using a Map whose values were the search lists for each
> autocompleter but again only the first one rendered the dropdown.
>
>  
>
> Any ideas?
>
>  
>
> Thanks,
>
> Ben
>
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to