I’m trying to get a Rico LiveGrid working, and I am a bit stuck on how
to
accomplish this.
I have a page that successfully queries a controller and updates a
containing a table. I have two
versions of the action; one uses the render_partial to return a rendered
version of that table, and the
other returns an XML-RPC document, and this is where I hit a snag.
The Rico LiveGrid tutorial describes the XML schema it’s looking for,
and
it’s clearly not what I’m getting
from the XML-RPC partial.
What I have looks like this:
It does have the tag at the top, btw.
It works fine with the code I have in the partial:
<% @results.each do |item| %>
<% end %>
And the LiveGrid tutorial describes this:
<rows update_us='true>
<tr…
The rest is the table and closing tags. Of course, if you’re experienced
with this stuff, you’ve probably
already seen that.
What’s the best way to handle this issue? Should I modify the xml_rpc
partial?
Thanks!
-Rakesh
(The book recommened on the Rico site is on order and hasn’t shipped
yet.)