Displaying 1 result from an estimated 1 matches for "rendermenu".
Did you mean:
render_menu
2006 May 17
4
weird prototype error when using RJS
...on an item, have not have the whole page refresh but
just have the menu <li id=''Selection''> refreshed
1 - my model is using :acts_as_tree
2 - in my controller I have the following.. it''s just a barebones start
at being able to dig DOWN through the chilren
def renderMenu
render :update do |page|
page.replace_html "Selection", :partial => ''selection'',
:collection => Program.find(params[:id]).children
end
end
3- my :partial => ''selection'' is the following "_selection.rhtml" file
<li&...