How do I define a view so that the page displays a simple link (e.g.
"upload picture") which upon clicking displays the browser's standard
file open dialog, so that, once the user clicks OK, the file is
immediately uploaded and control goes to my action, with the file path
as a parameter?

(note this is not something about attachment_fu vs. paperclip or
whatever. I am not seeking to store the file as an attachment but just
process the file. It's purely a user interface / view design question.)

Is it possible in rails? Or do I always end up with two buttons, one for
'choose file' and another one for 'upload' ?

Thanks much!
-- 
Posted via http://www.ruby-forum.com/.
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to