bouhier.c-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Dec-30 14:09 UTC
YUI widgets, and JSON datasource generated by rails.
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mark Thomas
2008-Dec-30 17:13 UTC
Re: YUI widgets, and JSON datasource generated by rails.
> 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, ChristophePerhaps YUI4Rails does this? http://github.com/mghaught/yui4rails/tree/master#README --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Dec 30, 6:13 pm, Mark Thomas <m...-gkTqyYPWbQbz1n+OaKNE4w@public.gmane.org> wrote:> > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---