Displaying 20 results from an estimated 2000 matches similar to: "Upload a file through an iFrame"
2006 Apr 18
0
iFrame File Upload
Anybody here have any experience uploading a file via a hidden iframe for
that "ajax fresh good feel"? Previously I was using the plugin
form_remote_plugin ( http://svn.kylemaxwell.com/form_remote_upload/trunk/)
which was working like a dream until our sys admin updated rails to 1.1.2.
I''ve made a form that can submit the file to an iframe, but now I''m having
trouble
2006 Apr 12
3
form_remote_upload
Hey all,
I just upgraded rails to 1.1.2, and form_remote_upload now prevents my
application.rhtml layout from being processed. I''m not sure if the problem
lies with v 1.1.2, or if upgrading the gems screwed stuff up. Anybody have
any ideas?
Rob
--
c++: the power, elegance and simplicity of a hand grenade
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Feb 12
7
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
2006 Apr 30
3
Ruby Reference
Hello all,
What Ruby reference is everybodies favorite? When I''ve been looking around
for documentation I haven''t found any that quite compares to php.net''s and
cppreference.com''s function references. I''ve been using the one found on
rubycentral, but I think that it is missing quite a bit and doesn''t have
very good examples. ri is fine, but
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys,
I am trying to pass the parameters for the file being upload, but the
params[] are not being passed. Ive read through some posts and realize
this is an issue with RoR.
I read through some of the posts and someone suggested using:
http://svn.kylemaxwell.com/form_remote_upload/trunk/
I tried to install it, and although I thought I installed it correctly,
it doesn''t work.
2006 Jun 27
1
[OT]Development Patterns
Hello all,
I''m curious as to what development models other people/teams follow when
creating web applications.
My company has been using the waterfall model(
http://en.wikipedia.org/wiki/Waterfall_process) for quite some time now.
I''m not completely conviced that it is the right process for web
development. I''ve been doing web development for about 6 years now using
2006 Jul 13
2
Iframe upload indicator
I''m using the iframe trick to upload files with form_tag and a target
pointing to the iframe. All is working, but I would like to display an
indicator of the upload. All I want to do is show a hidden animated gif via
Element.show. With form_remote_tag, i could use the :loading and :complete
callbacks to do an Element.show and Element.hide. How do I achieve a similar
effect with form_tag?
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi,
I write a page that contain following function:
this site contain a html file upload control, which allow user to upload
image only.
once the image had been uploaded, it will automatic display on the
current page without refresh entire page.
when the image is saved, it will return javascript that embed in a
iframe (which is also in my current page) that can load the image into
my page (
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
We are creating a simple widget portal for our site and trying to use
Sortables. Each of our widgets is an iframe. But when you try to
drag an element containing an iframe the Sortables api causes the
iframe to reload at each possible drop point. This causes the ui to
shutter and become unusable.
I have narrowed the issue down the onEmptyHover where
dropon.insertBefore is called. Is there a
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo **
Respond with RJS to your parent window with a form action targeted to
a hidden IFRAME. Handles all the painful situations like scoping
your JavaScript to your parent window generating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install
2006 May 24
6
newbie question: missing template
Hi
I''m new to this forum and new to Rails so excuse me if this is a daft
question.
I''m following the ONLamp.com tuturial and all has been well untill
changing the template for the recipes. I have followed the instructions
and added this code to the controller:
class RecipeController < ApplicationController
scaffold :recipe
def list
@recipes = Recipe.find_all
end
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2006 Aug 03
0
iframe id
If a parent opened an iframe window, is there a way to determine what my
the id of the iframe window is inside the iframe.
--
Posted via http://www.ruby-forum.com/.
2008 Jan 31
0
Element.Fire on window.parent.document from iframe (fails in Opera)
I wanted to create an iframe that could be included on any page for
uploading images, without determining the parent behaviour at all from
within the iframe. The iframe include just checks if there was an
image loaded, and does this to pass upload information to the parent
(this only fires when an image was uploaded):
$(window.parent.document).fire(''image:uploaded'',
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
Hello
I am uploading images ajax-attachment_fu-rmagick and an iframe and me
climb correctly, but when I finish the process and the driver will I
redirect_to enc_url I recharge layer ajax. I tried with redirect_to
enc_url :partial => ''m_content'' and redirect_to enc_url, :update =>
''m_content''. But neither I recharge ...
rhtml
------
<% form_for(photo,
2007 Jun 27
0
IFRAME
Hai
I am newbie for Rails
I have one question, I have one IFRAME ,and i have one action called
refer.rhtml
what my question is,I want to refresh the iframe content because i have
one grid in refer.rhtml and another one page which is present inside the
iframe,
If i click the link present in the grid page at the time i want to
display the content ,when i click the link,there will be one html page
2005 Sep 15
2
IE iframe bug with Autocompleter over HTTPS
I ran across an issues using the Autocompleter over HTTPS in IE (6.0
in WinXP Pro SP2).
I plan to submit a bug report to the Ruby on Rails trac, but first I''d
like "to discuss this on th[is] Mailing List beforehand, maybe it''s
already known and in the works, or it isn''t a bug" (per
http://wiki.script.aculo.us/scriptaculous/show/BugReports)
The autocomplete
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2009 May 07
5
Controller redirect_to to leave iframe
Inside an iframe, I want the controller to redirect_to to the parent
(i.e. target =''_parent'').
Any ideas?
(Everything I''ve tried- via redirect_to - just keeps it inside the
iframe)