Subscriber in glue.js is not getting invoked for yahoo autocomplete widget

You are here:

Subscriber in glue.js is not getting invoked for yahoo autocomplete widget

August 26, 2008 - 21:15

vinayajax

Offline

Joined: 2008-07-21

Hi All,

I am facing a problem, subscriber in glue.js for yahoo autocomplete widget is not getting invoked when i use service attribute to provide data to autocomplete widget whereas it is getting invoked when i use value attribute to provide data to widget.

What i found is that in init method of component.js file for yahoo autocomplete widget, value of variable i is coming undefined in case of service attribute and it's value is object in case of value attribute.

I am looking into adding the ability to add custom filters to the autocomplete widgets. This would allow you to call a custom filter (function) that filters the incoming data and you could add the action at that time.

I just an FYI ... I tried a few other widgets and they all seem to have an issue! For eg. ... I tried the inline edit widget, in this case I have the value hardcoded and I tried to publish to a topic ...

This is due to the fact that the processActions is expecting a payload with an action. Using the service does not pass this back to the widget which causes the processActions not to run. I'll see what it would take to get this implemented and let you know. Thank you for the heads up.