File_column + form_remote_tag

For my weekend project, I’m going to get form_remote_tag and
file_column playing happily together. According to my research, no
one has done this yet. If you happen to have tried this, and have
some workable code, send me an email. I’d rather not duplicate the
effort.

Thanks!


Kyle M.
Chief Technologist
E Factor Media // FN Interactive
[email protected]
1-866-263-3261

AFAIK it is not possible to do fileupload with AJAX (Security
restriction)

Kyle, if you make it work, let us know !

What I am currently experimenting with, is a small flash movie which
does
asynchrounous fileupload as demonstrated at

But I have problems integrating it into file_column, because I can’t add
other fields to the upload POST, becaue that is done by the flash movie.
So
I think to upload just the file first and then when upload is finished,
to
trigger an AJAX call to access the latest uploaded file for letting the
user
fill out the other filelds of that record.

Any conclusion to this?

I’d be willing to help out if I can see what you’ve done. I’ve been
using
RJS quite extensively since it appeared in the trunk.

On 2/7/06, james [email protected] wrote:

Any conclusion to this?


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

I got something working, but I couldn’t get the RJS templates to work
with it. Does anyone have any inclination to help out? All I need is
the javascript that will apply the RJS loaded within the body of an
iframe.


Kyle M.
Chief Technologist
E Factor Media // FN Interactive
[email protected]
1-866-263-3261

On 2/7/06, james [email protected] wrote:

Any conclusion to this?


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

I posted a crude version of a plugin that allows you to use
form_remote_tag to upload files. It ONLY does RJS callbacks. No
:update, no :complete, nothing. Please send me lots of tickets. I’m
really not too keen to develop more functionality than the bare bones
that I need, but I’m more than happy to help coordinate a group
effort. So create lots of tickets!

Collaboa: dev.kylemaxwell.com
SVN: http://svn.kylemaxwell.com/form_remote_upload/trunk/


Kyle M.
Chief Technologist
E Factor Media // FN Interactive
[email protected]
1-866-263-3261