1.  You don't need the form tag if you are only updating by ajax.
Html purists might argue the point!

2.  You can use any element to update from a partial.  For example,
give the tr an id as in:
<tr id='update_me'>
then in the controller,
page.replace_html :update_me   etc.....

3.  Sometime I find it easier to include the <tr> tag in the partial
itself, so that the whole row, not just the inner html gets replaced.
In this case use page.replace :update_me in the controller.

4.  You may find if you get rid of the form tags, that updating
individual <td>s may work, but I would be wary of it.

hth Tonypm
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to