[Windmill-dev] Testing an autocomplete widget

Robert Leftwich windmill at rtl.fmailbox.com
Tue Dec 11 11:47:37 PST 2007


On Tue, 11 Dec 2007 11:34:30 -0800, "Adam Christian"
<adam at osafoundation.org> said:
> Greetings,

Hi!

> 
> So at a first glance it looks like your JavaScript is being triggered  
> by onkeypress, 

I believe that's the case.

> 
> I am going to attempt writing an addition to our controller api that  
> you can use instead of type, that will take a string and simulate  
> pressing those keys with 1/3 second delays between to see if I can  
> trigger your auto complete functionality.

Sounds great!

> After that, selecting your target entry from the list should work out  
> of the box as long as it is a standard HTML drop down, if not we can  
> deal with that accordingly.

If I manually type some text, wait for a response so that the dropdown
list (which iirc is a <ul> list, at least in the earlier version of YUI
I'm using) is pre-populated, then the standard Windmill click works as
expected.

> 
> I will send out another response once I get a chance to work on this  
> hopefully this afternoon/evening.

Thanks a lot - I look forward to it!

> Thanks for checking out the project, and your patience.

It's great that the project is available to all - kudos to OSAF and the
team!

Robert


More information about the Windmill-dev mailing list