Mocte wrote:
> Hi,
> 
> I'm just wan to say thank you all, I'm investigating with your
> advices.
> 
> Regards,
> Mocte

Hi all,

I am also looking for some advices on how to make a master-details form 
which allow the user to update the data of both the master table and the 
detail table. I found one solution demonstrated by Unsapce..here is the 
link:

http://unspace.ca/datagrid/update

It make use of the "onblur" event to invoke an javascript, the 
javascript then submit an Ajax.Request to run an "action". One technique 
it used is to embed the IDs of the detail rows in an hidden field 
rendered on the screen.

I used the same approach which really works, the only draw back is that 
it need quite a lot of coding to complete the whole form. I just want to 
ask if some one has other solution for master-detail-form applcation.

Thanks!


-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
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