|
Martin Aspeli-2 |
|
|
Hi,
I need a "live search" widget for Archetypes that can fill a LinesField with keys from a very large vocaulary, based on a search (for users, in my case; possibly content later). I know a few of these were kicking about, but I'm not sure what's most up to date. Anyone have good experiences? Cheers, Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book _______________________________________________ Product-Developers mailing list [hidden email] http://lists.plone.org/mailman/listinfo/product-developers |
|
Wichert Akkerman |
|
|
Previously Martin Aspeli wrote:
> Hi, > > I need a "live search" widget for Archetypes that can fill a LinesField > with keys from a very large vocaulary, based on a search (for users, in > my case; possibly content later). > > I know a few of these were kicking about, but I'm not sure what's most > up to date. Anyone have good experiences? http://dev.plone.org/archetypes/browser/MoreFieldsAndWidgets/AutocompleteWidget has been around for a few years and works fine. Wichert. -- Wichert Akkerman <[hidden email]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [hidden email] http://lists.plone.org/mailman/listinfo/product-developers |
|
Hedley Roos |
|
|
> > http://dev.plone.org/archetypes/browser/MoreFieldsAndWidgets/AutocompleteWidget > has been around for a few years and works fine. > > Wichert. > It does not seem to use ajax? I've been wanting to make my own selection widget for a while, but I should probably help out with UberSelectionWidget or something similar. I want to implement a "cache" in some hidden DOM element (probably an ordered list since the browser will sort alphabetically). Then your <select> queries the cache with normal javascript. If the cache misses then the auto-complete returns false, but the cache goes off and makes an ajax call to the server and retrieves a few more auto-complete candidates. The next time the cache might hit, else the process continues. Hedley _______________________________________________ Product-Developers mailing list [hidden email] http://lists.plone.org/mailman/listinfo/product-developers |
|
Wichert Akkerman |
|
|
Previously Hedley Roos wrote:
> > > > >http://dev.plone.org/archetypes/browser/MoreFieldsAndWidgets/AutocompleteWidget > >has been around for a few years and works fine. > > > >Wichert. > > > > It does not seem to use ajax? No, but in a lot of situations ajax is not needed. Unless you have a very large vocabulary this widget should work just fine. If you need an ajax version it should be quite trivial to build one using the jquery autocomplete plugin. Wichert. -- Wichert Akkerman <[hidden email]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [hidden email] http://lists.plone.org/mailman/listinfo/product-developers |
|
Hedley Roos |
|
|
Wichert Akkerman wrote:
> Previously Hedley Roos wrote: >>> http://dev.plone.org/archetypes/browser/MoreFieldsAndWidgets/AutocompleteWidget >>> has been around for a few years and works fine. >>> >>> Wichert. >>> >> It does not seem to use ajax? > > No, but in a lot of situations ajax is not needed. Unless you have a > very large vocabulary this widget should work just fine. > > If you need an ajax version it should be quite trivial to build one > using the jquery autocomplete plugin. > > Wichert. > Cool. It seems to do exactly what I want. When I encounter the need to use this type of widget again I'll try your suggestion. _______________________________________________ Product-Developers mailing list [hidden email] http://lists.plone.org/mailman/listinfo/product-developers |
|
Martin Aspeli-2 |
|
|
In reply to this post by Wichert Akkerman
I need to select multiple users from a potentially large/slow LDAP repository. If the widget loads the vocabulary on access, then that doesn't work. In fact, the vocabulary won't be enumerated. Basically I want the formlib UberSelectionWidget, but for AT ;-) Martin |
| Powered by Nabble | See how NAML generates this page |