YUI widgets, and JSON datasource generated by rails


#1

Hi there,

I am working on a module which will generate YUI widgets.

For now, I am using the YUI DataTable, which takes YUI Datasource as
source to
populate an html table. I wonder if someone has tried to populate a
YUI Datasource
with JSON generated by a rails controller? (So to dynamicly updating a
table, with a model
represented in JSON format).

Thanks, Christophe


#2

I wonder if someone has tried to populate a
YUI Datasource
with JSON generated by a rails controller? (So to dynamicly updating a
table, with a model
represented in JSON format).

Thanks, Christophe

Perhaps YUI4Rails does this?
http://github.com/mghaught/yui4rails/tree/master#README


#3

Hi, it’s using JSON inside the library, but I doesn’t seem to be able
to query a server and get JSON back, which then populates the
widgets.