Displaying 20 results from an estimated 4000 matches similar to: "Form Authenticity Token Error generated from iframe"
2009 Sep 24
4
Action Controller ::MethodNotAllowed
Hi,
Iam getting the following error
ActionController::MethodNotAllowed
Only get, put and delete requests are allowed.
Actually, Iam trying to have multiple actions for a form to create
new record. The actions for the form are cancel, save, publish and
preview.
here''s the config/routes.rb file code snippet for the relevant
controller - Events
map.resources :events, :member =>
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 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone,
I would like to get some suggestions on a problem I am trying to address.
- I send a request to a 3rd party server (for ads) and a response is received from them.
- Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page.
- So, I want to capture this response and dynamically generate
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers,
It looks to me like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to
2008 Jun 03
1
Clicking on links within facebook iframes (facebook apps)
Hello,
I have a problem with clicking on the links in facebook apps due to
iframes. I am trying to write a little script to run through the funwall
app.
I used IE Dev toolbar to get the name of the id of the iframe (those
iframes how no name attribute). So I run this command:
$ie.frame(:id, "app2378983609_fb_frame").link(:text, ''View this
post'').click
And I get
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
2008 Jun 03
7
Iframe shenanigans
Here''s my problem. Unfortunately I have the need to load up fully
qualified html documents
into my page. (think tens of thousands of mini sites). I also have the
need to be as handicap accessible as possible. (So ajax is essentially
out, screen readers aren''t up to snuff yet). Thus I''m using an iframe.
The unfortunate part
is that I have navigation menus that appear over
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 (
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 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 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
2006 Apr 09
1
RJS across iframes
I have an inline iframe which has a form in it, when the form is
updated, I would like to call an RJS template that will update the
parent page.
+-----------------------------------------------+
| |
| <div id="mydiv"> Update with RJS </div> |
| |
|
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?
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
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)
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
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi,
I think I''m very near of accomplishing this but I have a problem.
This is the code:
<%- content_for :head do -%>
<script type="text/javascript" charset="utf-8">
function printPDF(){
var pdf = document.getElementById("pdfDoc").contentWindow;
pdf.focus();
pdf.print();
}
</script>
<%- end -%>