Displaying 1 result from an estimated 1 matches for "updatebody".
2008 Feb 29
0
RJS and EXTjs component update (RAILS 1.2.3)
I want to use an RJS view to update EXT Panel bodies. But since the
panel bodies
have generated element ids, I can''t see how to use
''page.replace_html''.
So instead I wrote a javascript function ''updateBody''.
In the RJS view, I want to say something like:
page.call ''updateBody'', ''some_panel'', :partial => ''my_partial''
I looked at the source for replace_html, and then tried:
page.call ''updateBody'', ''some_p...