[Rails] Re: Re: Ajax Scaffold Generator for Rails Released
Roberto Saccon
rsaccon at gmail.com
Wed Mar 1 15:54:39 GMT 2006
well, with Kyle's plugin ( http://www.kylemaxwell.com/ ) you CAN upload
files from form_remote_tag. Check out the sample app and the comments for
how to make it work on rails edge
On 3/1/06, Jeff McDonald <rrailsster at gmail.com> wrote:
>
> Yep, JavaScript doesn't have access to the filesystem (unless you're
> Microsoft). So form_remote_tag will not work for file uploads.
>
> -- Jeff
>
> (here's one reason why)
> http://www.symantec.com/avcenter/venc/data/js.gigger.a@mm.html
>
>
>
> On 2/28/06, Richard White <rrwhite at gmail.com> wrote:
> >
> > I'm not honestly sure about whether file uploads work inside a
> > form_remote_tag. If they don't then obviously an ajax scaffold won't
> > help you one bit.
> >
> > If you can then you should be able to create a simple file manager
> > easily with by creating a basic scaffold (maybe of an UploadFile model
> > that has a label attribute), modifying the form to add a file upload box
> > and creating the necessary controller code to handle form submission of
> > said file upload.
> >
> > Joe Van Dyk wrote:
> > > On 2/26/06, Richard White <rrwhite at gmail.com> wrote:
> > >> > scratch. I'd gotten about 3/4 of the functionality you have (with
> > >>
> http://www.height1percent.com/articles/2006/02/26/on-the-ajax-scaffold-feedback
> > >>
> > >
> > > How could I modify this to do file uploads? I can't do uploads inside
> > > form_remote_tag, right?
> >
> >
> > --
> > Posted via http://www.ruby-forum.com/.
> > _______________________________________________
> > Rails mailing list
> > Rails at lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060301/7bf97f94/attachment-0001.html
More information about the Rails
mailing list