ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-rails
ruby-rails
[Rails] [ANN] form_remote_upload plugin
by Kyle Maxwell other posts by this author
Feb 11 2006 5:25PM messages near this date
Re: [Rails] Re: .empty? Method | [Rails] Re: [ANN] form_remote_upload plugin
form_remote_tag does not support the input type=file.  This is due to
javascript security limitations.  I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html => 
{:multipart =>  true}, it will submit via an iframe, allowing you to
upload files.  It works nicely with file_column :).  Currently, it
only works with RJS templates (no :update option), and I only
implemented the :loading callback.  Patches are welcome to flesh out
the functionality, but I'm sharing it now because it's still quite
useful.

http://svn.kylemaxwell.com/form_remote_upload/trunk

Patches, bugs, etc via email or at dev.kylemaxwell.com

--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@[...].com
1-866-263-3261
Attachments:
unknown1
unknown2

Thread:
Kyle Maxwell
Kyle Maxwell
Adam Roth
Tony Jin
Kyle Maxwell
Sunder Iyer
Roberto Saccon
Kyle Maxwell

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved