search for: upload_progress_update_bar_js

Displaying 2 results from an estimated 2 matches for "upload_progress_update_bar_js".

2006 Mar 08
2
Upload progress update bar question
...load_progress_bar_js which is defined in actionpack/lib/action_view/helpers/upload_progress_helper.rb I get a "no such method" error. Can I use helpers in my controller class and, if so, how do I access them? Thanks, Wes ========================================================= upload_progress_update_bar_js(percent=nil) Javascript helper that will create a script that will change the width of the background progress bar container. Include this in the script portion of your view rendered by your upload_status action to automatically find and update the progress bar. Example (in controller): def...
2006 Mar 13
0
Upload progress problem with Ajax component
...ot;, "wb") do |f| f.write(@params[:eSimplyJob][:file].read) end puts "Finished with save_HTML" end upload_status (in controller): public def upload_status puts ''Called upload status...'' render :inline => "<script><%= upload_progress_update_bar_js %></script>", :layout => false end -- Posted via http://www.ruby-forum.com/.