Page 1 of 1

yui_autocomplete question

PostPosted: Sun Jun 24, 2012 7:30 pm
by david1212
I want the yui_autocomplete to work like the yahoo example. Can I do that?

My xataface app:
Autocomplete suggestion list pops up for the first entry. Then, I type a comma and a letter or two and no suggestion list comes up. This is not desirable behavior. Consider the Yahoo example below...

Yahoo example:

located at...
(this board would not let me post the url below, so I had to modify it. I took out some slashes.)
http: developer.yahoo.com yui examples/autocomplete/ac_tags_alwaysshow.html

Autocomplete suggestion list pops up for the first entry. Pick an entry and it pops in a comma, Then, type a letter and the suggestion list DOES comes up for the second entry.

I have attached some screen shots.
Note that the Yahoo one has the suggestion box always showing, but that is not relevant to this case. I am wanting the suggestion list coming up and be filtered by the letters typed in for multiple entries.


My xataface files:

fields.ini

[tags_fld]
widget:type=yui_autocomplete
vocabulary=tags_vcab

valuelists.ini

[tags_vcab]
__sql__ = "SELECT tags_list FROM nte_tags order by tags_list"


I am using the trunk from the svn. I am using the classic look not the 2.0 look and feel.

Can someone help? Any pointers are welcome.

thanks.

Re: yui_autocomplete question

PostPosted: Mon Jul 16, 2012 5:17 am
by david1212
There hasn't been a response to this.

I have added a zip file containing the source files to test this issue as I have presented it above. There is a "howto use this.txt" file inside with instructions to install and test the above behavior.

Can anyone else reproduce this issue?

Is there something I can do differently in asking this question?

Re: yui_autocomplete question

PostPosted: Tue Jul 17, 2012 2:44 pm
by shannah
I don't think the yui_autocomplete widget is currently set up to work with multiple entries. The tagger module has been developed to do something similar.
http://xataface.com/dox/modules/tagger/latest/

Unfortunately this module is built for, and requires, Xataface 2.0 which isn't released yet.

Re: yui_autocomplete question

PostPosted: Tue Jul 17, 2012 4:44 pm
by david1212
Ok.

Thanks for the reply.