Displaying 1 result from an estimated 1 matches for "iframe_target_action".
2006 May 29
3
IFRAME based RJS - responds_to_parent
...erating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install http://sean.treadway.info/svn/plugins/
responds_to_parent`
class EnterpriseElevatorPitchExampleController < ActionController::Base
def iframe_target_action
responds_to_parent do
render :update do |page|
page.hide :progress_bar
page.show :success
page.replace_html :success, ''Finished''
page.alert "RJS isn''t limited to XMLHttpRequest"
end
end
end
end
Discuss, comment, and feedback for impro...