yui_autocomplete question

A place for users and developers of the Xataface to discuss and receive support.

yui_autocomplete question

Postby david1212 » Sun Jun 24, 2012 7:30 pm

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.
Attachments
yui example 2012-06-24_222031.jpg
yahoo example
yui example 2012-06-24_222031.jpg (8.21 KiB) Viewed 3713 times
yui problem 2012-06-24_221341.jpg
missing autocomplete in my app.
yui problem 2012-06-24_221341.jpg (4.86 KiB) Viewed 3713 times
Last edited by david1212 on Tue Jul 17, 2012 4:47 pm, edited 1 time in total.
david1212
 
Posts: 5
Joined: Fri Jun 15, 2012 4:43 pm

Re: yui_autocomplete question

Postby david1212 » Mon Jul 16, 2012 5:17 am

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?
Attachments
dgnote111u.zip
full source to an app to test this issue.
(14.22 KiB) Downloaded 378 times
david1212
 
Posts: 5
Joined: Fri Jun 15, 2012 4:43 pm

Re: yui_autocomplete question

Postby shannah » Tue Jul 17, 2012 2:44 pm

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: yui_autocomplete question

Postby david1212 » Tue Jul 17, 2012 4:44 pm

Ok.

Thanks for the reply.
david1212
 
Posts: 5
Joined: Fri Jun 15, 2012 4:43 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 12 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved