Displaying 20 results from an estimated 100000 matches similar to: "Different error 500 page for ajax errors"
2006 Jun 07
2
Ajax and IE causing Page Not Found and 500 Errors behind SSL
Hi,
Forgive this if it is a duplicate, because I was having trouble
posting to the list.
I have a setup of mongrel behind an apache proxy and I am getting a
few people using IE (5.5 & 6.0) complaining about getting sporadic
page not found errors when using AJAX features of the site and file
uploads behind SSL. I am posting the research I have done on the
subject.
I have the
2005 Sep 01
0
Multi-Page Websites VS AJAX
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I found this to be quite interesting not sure if there are any plans for
implementing it.
The problem
In a regular Multi Page Interface (MPI) website, each page has a unique URL.
These URLs can be used to bookmark your location, and the browsing history
is just a list of those URLs in the order you visit them. An AJAX
application however has a
2006 Feb 09
2
Strategies for updating multiple parts of the page with AJAX
Hi all,
I have a layout that''s evolving, but it looks like there will be several
divs. I''m trying to keep everything AJAX-y and avoid full page reloads. My
problem is, if I have the login box in a div, I''m going to want two other
divs to effectively "refresh" themselves to get data from the server now
that there is a user logged in.
I''m trying to
2006 Apr 21
3
rjs in multiple ajax page
Sorry for the long explanation but I''m having trouble integrating rjs into my
form page. Here''s my page:
<div id="posts">
<ul id="post_list"><%= render :partial => ''list_results'', :collection =>
@posts %></ul>
<p><%= link_to_remote(''+'',
:url => {:action =>
2006 May 10
2
Redirect whole page from AJAX action that updates a div
Hi,
I am calling an action via AJAX to update a div. The action needs to
redirect the page in under certain circumstances. However, if I just use
"redirect_to" in the action then of course what happens is that the page
I want to redirect to replaces only the div, not the entire page, and I
get messy nested layouts.
Is there a way around this? Can I redirect the entire document from
2006 Jun 23
0
Embedded javascript or css within ajax page not showing
Hi,
I am trying to use javascript and css within an ajax
loaded page, but they don''t seem to get loaded. I
have searched thru the archives and can''t find any
help on this.
For example, I have some page specific scripts that I
put at the top of an ajax page within
<script>...</script>, and use a stylesheet link tag.
These are specific to these ajax pages.
If I load
2006 Apr 05
3
Issuing an ajax request to a different web server?
Is it possible to have an Ajax request go to a different server than
the one that originally rendered the web page? I am attempting this,
but the ajax server never gets the request.
For example, inside a form:
<%= submit_to_remote(''add_lead'',''Add Lead(s)'',
:url =>
"http://123.456.789.0:3000/users/add_lead",
2006 Mar 13
0
Upload progress problem with Ajax component
All,
I believe that I''ve set up an upload progress bar correctly. When I do
my upload, the initial status message appears on the screen, and when
the upload finishes, the finish message appears on the screen. However,
in between, the status bar is not updating. So my progress bar starts
out with 0% filled in, and then, when the upload completes, it''s 100%
filled in.
2011 Aug 28
1
Page Caching, CSRF, and Loading a form via Ajax
Hi all,
I would like to use page caching on my homepage, but also want to
enable people to sign in via a modal dialog sign in form. I could
have a setup in which when a user lands on the cached homepage, an
Ajax GET request pulls in the whole login form so that there is a
fresh authenticity token.
That said, besides the additional hit to the server, the CSRF token in
the head area of the page
2006 Jul 26
3
Getting Ajax.Updater or page.replace_html to render js?
Hey guys,
I, for the life of me, cannot figure out how to get Ajax.Updater or
page.repalce_html to render the javascript in a partial. Upon page
loading, the partial gets rendered fine. But when called up to render
through an AJAX function something goes wrong.
Are you guys getting this error???
--
Posted via http://www.ruby-forum.com/.
2006 Mar 20
4
Ajax.Request w/standard redirect doesn''t render
I am doing an Ajax call in my page to a controller method like so:
new Ajax.Request(''<%= url_for(:action => "target_list_add" )%>'', {
asynchronous:true });"
In my controller method "target_list_add", I do something and then I
say:
redirect_to( :action => ''target_list_upload'', :layout => false )
I know for certain
2006 Apr 21
1
Is AJAX https request possible from http page ?
Hi all
Is it possible to do https request via AJAX from a http loaded page ?
It''s for minimizing serverload and just send passwords and user-account
stuff via https.
>From my understanding how AJAX works, it is not possible to mix, because
http/https is like cross-domain
In case I am not wrong, maybe someone knows a way around the limitiations
(my first thought: proxing via
2006 Jan 20
2
Effect.Slideshow and Ajax.Slideshow
Ok,
I''m almost done programming this, although I still have to test the ajax
version. Anyway, I thought I''d pass along the documentation to y''all,
so you can look it over and see if there''s anything missing, or anything
I should change. There''s a lot to read here, so if you aren''t
interested, quit now :)
Effect.Slideshow:
Syntax:
new
2006 Feb 21
2
Ajax reqest and http status
Hi all. I ''m using Ajax request on my site and i need to show some message wneh AJAX call is running, (sometimes it happen so slow). I find that object AJAX.RESPOND is very usefull here, but sometimes when i need to do AJAX CALL my ajax call is redirect and i want to when it happen, is there way to find status of ajax call? i don''t know where I can find this property in
2006 Feb 21
0
Odp: RE: Ajax reqest and http status
Hi Marco.
I now that the way prevent IE caching AJAX call is to link to parameters one parameter which will be complete random.
Bur here is much important question. I using ajax call to connect url which is accesible only if user is logged (i mean there is a user session). Somethimes session expired and url is not accesible and there is redirect to other url i see that server return code 302 but
2006 Aug 16
2
Q on AJAX with respect to DRY
I have a shopping cart function, and I''d like to set it up to update the
cart with AJAX. My AJAX call will return a view that displays the cart
items.
My question is with regards to keeping things DRY. When the user goes to
"view cart", that page needs to display the cart, then the cart display
needs to update with AJAX calls when items are added from that page. It
would
2006 Feb 14
2
AJAX on page load
Ok, I''m missing something obvious but after some reasonable looking in _The_
Rails book (sorry haven''t gotten the cookbook yet) and these archives I
don''t see a solution to my question.
Question:
What is the cleanest way to load a div via AJAX when the page loads - no
user action necessary. I don''t really want to hack in a hidden remote form
or link that is
2006 Feb 26
0
Ajax, MemoryStore and sessions
Have you ever worked with Ajax, memoryStore and sessions in Rails?
I''m trying to pass a value through a session variable to various methods.
I''m calling the methods with Ajax on a submit button. I do this twice on a
page. The first time I pass a variable from the page to the controller and
store it in the session and write a log entry. This works fine. When the
second button
2006 Feb 24
0
Ajax Training in Austria
Heya,
I''m doing a one-day training on everything Ajax mainly focusing on
script.aculo.us, but naturally
including Prototype and a look on Ruby on Rails Ajax capabilities as
well, on March 17, here
in Vienna, Austria (for german speaking audiences).
Here are the (in-german) details:
In diesem eintägigen Seminar zeigt Ihnen Thomas Fuchs wie Sie die
Benutzerfreundlichkeit und
2006 Feb 26
3
Ajax training in Austria: "Ajax richtig verwenden"
Heya all,
I?m doing a one-day training on everything Ajax mainly focusing on
script.aculo.us, but naturally including Prototype and a look on Ruby
on Rails Ajax capabilities as well, plus a look on our product
fluxiom - on March 17, here in Vienna, Austria (for german speaking
audiences).
Here are the (in-german) details:
In diesem eint?gigen Seminar zeigt Ihnen Thomas Fuchs wie Sie die