Displaying 1 result from an estimated 1 matches for "some_panel".
Did you mean:
gnome_panel
2008 Feb 29
0
RJS and EXTjs component update (RAILS 1.2.3)
...t 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_panel'', page.render(:partial =>
''my_partial'')
but that doesn''t work, and neither does...