search for: detailview

Displaying 1 result from an estimated 1 matches for "detailview".

Did you mean: detailsview
2010 Jul 25
0
render :update with different controller does nothing
...o take the app logic out of the view and into the controller. So I created a new controller action, calling the 2 updates from there like this: render :update do |page| page.replace_html ''Browser'', :partial => ''browser'' page.replace_html ''DetailView'', :url => {:controller => ''place'', :action => ''edit'', :id => @selection} end Unfortunately, the update of the DetailView does nothing. The generated JS (for DetailView only) looks like this: try { Element.update("DetailView", null...