similar to: maintaining application state/urls

Displaying 20 results from an estimated 700 matches similar to: "maintaining application state/urls"

2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone, This is related to my post a few days ago regarding multi select lists. I''ve rewritten the code and now can''t seem to get the Ajax.Updater in getModels() to "execute", and the element never gets populated. I know it''s something obvious and hope someone could point it out to me. Thanks for any help. Here''s my code: <script
2006 Mar 02
1
Apache ModRewrite
Does anybody happen to know if 'for sure' the order in which you list modrewrite rules is the order in which they are processed within a .htaccess file? It does work, but I want to know that it always works. Basically, I have some multiple wildcard rules, where directories can't be hard coded and as it goes deeper into the directories, the more shallow levels interfere with the
2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the user can perform given functionality. So for example I have one window which manages images on a server (drag an image into a folder and the file physically moved on the server via ajax ) These images can also be dragged into another window to create a slideshow. My problem
2006 Jan 12
12
Ajax Button Back function?
Hi Folks! I''m new in the forum and i have a doubt. The button back function with the Ajax on Rails? tks. -- Posted via http://www.ruby-forum.com/.
2007 Jan 23
3
Too many session numbers per page request?
If I view the source on one of my pages I see: <script src="/javascripts/prototype.js?1168898271" type="text/javascript"></script> <script src="/javascripts/effects.js?1169242655" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169241657" type="text/javascript"></script>
2006 Mar 07
2
How to sort execution of multiple ajax-calls
Hi, currently I execute 2-3 AJAX-Calls (located at the end of html-body) on loading the page. I run into problems now because they are executed parallel of course :) How can I garuantee that the Calls are executed when the page has loaded completely ? And, more interesing, how can I make one AJAX-Call start when the previous has completely finished ? I''ve read about Effect.Queues - is
2006 Feb 23
2
find_by_sql aliasing issue when accessing attributes
I was recently having problems accessing attributes in an object. Can somebody explain to me why this is, and if it is a bug? I have the following code: @archives = RapturePost.find_by_sql "select distinct date_format(rapture_posts.date_created,''%Y-%m'') date_created from rapture_posts where rapture_posts.site_id = 1 order by rapture_posts.date_created desc" I
2006 Mar 21
8
AS/400?
Any success stories using rails against a DB2 database on an as400? If so, how? Thanks Ed Schechter -- Posted via http://www.ruby-forum.com/.
2005 Nov 08
2
IE not repopulating forms under Rails views - very odd
It is common practice to implement semi-persistent state across page views using hidden form fields since all major browsers repopulate the form fields with the last value of each field (provided that the browser hasn''t been closed). A longer explanation with samples is here: http://codinginparadise.org/weblog/2005/08/ajax-tutorial-saving-session-across.html There''s a very
2006 Mar 14
2
[OT] Comments wanted on use of bitwise op
Here''s the scenario. I have a main tree-like table (actually it''s more of a hierarchy), where the entries (or at least some of them) can be categorised as one or more of a fixed number of types (prob about 6 poss types). So an entry could be a Type A and a Type D; a Type C, D, E; just a Type F; etc. Having a join table would seem like it might get rather expensive since
2006 Mar 07
10
[PREVIEW] SmallCap
Somebody suggested SmallCap and that sounds great. This is by no stretch of the imagination Capistrano, so it might better be named MicroCap but it may be useful to some who have (as I do) modest needs in this regard, especially for on-server versioning. Here''s a preview of the usage: Usage: ruby smallcap.rb [options] -s, --server=SERVER Copies app to specified
2006 Feb 14
7
Action when database changes
Hello, Is it possible to trigger an action in a controller when a table from database changes? I thought about using an utility like cron (railscron) to check every, e.g. 2 s, if the table changed, but I am wondering if there is a solution a bit more ''elegant'': to trigger an action exactly when the change is made. Best regards, -- Kuba Nowak
2009 Dec 10
3
.htaccess and ?
Hi, I'm trying to write .htaccess Rewrite rules and it doesn't seem to work for me: Match the string between the domain and the question mark: ? http://www.abc.com/blog:long-name-of-page?action=diff and I want to redirect it to: http://www.abc.com/blog:long-name-of-page Any suggestion? Thanks
2006 Mar 16
2
how to distinguish between click and drag?
Hi All I have a sortable <ul> list where each <li> contains a link. e.g. <ul> <li><a>link</a></li> <li><a>link</a></li> <li><a>link</a></li> </ul> How can I go about stopping the click event on the link if the li element has been dragged? Cheers Rob
2005 Sep 02
1
window class
Hi All I''m attempting to make a window class for scriptalicious, however my javascript skills are pretty average - more of a php man :D Any way I''ve got this far so far: http://www.folio11.co.uk/prototype/window.php What I''m doing is simply adding elements to a div to mimic the controls of a window I''m now looking at adding the drag and resize code to the
2012 Oct 12
2
pdf viewer with bookmarking facility?
pdf viewer with bookmarking facility?
2005 May 10
6
How not to use AJAX
Hi all, Just ran across this article http://blog.taragana.com/index.php/archive/how-not-to-use-ajax/ and was curious what the consensus is on the bookmarking and search indexing problems. I remember seeing something about bookmarking on the list. Thanks, Ben -- Ben Jackson Diretor de Desenvolvimento INCOMUM Design & Conceito ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
2006 Jun 02
1
Ajax: update multiple DIV''s
Hello. Is it possible to update multiple DIVs during? For example I have DIV for @flash[:notice], and one for content and I need to render both DIVs after executing action.
2006 Jun 04
1
Image links in stylesheets?
Guys, I understand the logic behind using image_tag in rhtml to maintain app portability, but how do you link to images in a stylesheet maintaining that same portability? Thanks for your help! B.A. -- B.A. Baracus: I thought you weren''t crazy no more? Murdock: Only on paper. -- Posted with http://DevLists.com. Sign up and save your mailbox.
2006 Mar 14
1
ActionMailer - help!
I want to send myself an email when someone comments on my site. I setup actionmailer in the environment.rb file, but how do I actually send an email? Is it right after "post.save" or something? If so, what''s the syntax? Thanks for any help. -- Posted via http://www.ruby-forum.com/.