similar to: persisting entities to session instead of db

Displaying 20 results from an estimated 10000 matches similar to: "persisting entities to session instead of db"

2005 Oct 11
8
Drag & Drop probs
Hi, I''m just trying out the possibilities of script.aculo.us / prototype having two problems... I have a draggable element with revert:false-property and two dropzones. (The draggables are in a <td> and the dropzones are <div>s if that is important.) 1. I want the draggable element to snap back to its original position when it gets dropped anywhere out of a dropzone. 2.
2008 Apr 27
4
Smoothing out effects/ consistent effects everytime
HI All, I am using this code here: setTimeout("Sound.play(''sounds/movieprojector.mp3'');", 600); setTimeout("Effect.Appear(''slideshow5'');", 850 + 600); setTimeout("Effect.Puff(''slideshow5'');", 850 + 600 + 850);
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all ! InPlaceEditor refreshes only the element that was updated. Is there any way to make it update tons of other stuff ? I have a table where changing a value in it causes changes in most other cells (weight to percentage to money). Thanks for any help ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-spinoffs mailing list
2007 Mar 08
7
ZKoss
Hi All, Has anyone here used zkoss.org? What do you think of it in comparison to scriptaculous? -- Leonard Burton, N9URK http://www.jiffyslides.com service-CbOvBfcOUrWrJCssh9Shfg@public.gmane.org leonardburton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org "The prolonged evacuation would have dramatically affected the survivability of the occupants."
2005 Oct 20
4
z-index and dragging
Hey Guys, I''m having trouble with getting my draggables to go over the top of other items on my page. For instance, if I drag an icon from ''lower'' in the page to a ''higher'' point then it slides underneath it visually. I have set the z-index to a very high number and that doesn''t seem to have any effect. Are there other things I need to
2005 Aug 12
8
Sortable Tables
I''ve put together a little library to provide sortable tables. It is heavily copied from http://www.kryogenix.org/code/browser/sorttable/ (mentioned in the Wish List) but has been modified to match the same form as the prototype.js library and add some new features. I still need to clean up some of the comments, but everything is pretty much working at this point. I posted an
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi ! I'm getting an uncaught exception requiring the Scriptaculous libraries when everything says XHTML 1.0 Strict: class ApplicationController < ActionController::Base before_filter :set_content_type protected def set_content_type response.headers['Content-Type'] = 'application/xhtml+xml; charset=ISO-8859-1' end end <?xml version="1.0"
2006 May 30
4
Limiting getElementsByClassName to specific nodes and entities
I''m currently using "The Ultimate getElementsByClassName" (http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/) instead of the Prototype version. This version seems to be faster since it lets you specify the starting node and the type of entity. For example: var widgets = getElementsByClassName(document, "ol", "tree"); Is
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi ! I have the following: <li id="photo_<%= @photo.id %>" class="photo"> <%= link_to(image_tag(url_for_file_column(:photo, :picture)), {:action => ''photo'', :id => @photo}, {:title => @photo.description}) %> </li> <script type="text/javascript" language="JavaScript"><!--
2005 Sep 22
6
Autocomplete - setting a second value?
I''m using the autocomplete function, and need a way to grab a second value from the ajax request... an example would probably speak better: This is my HTML: <input name="CustomerName" id="CustomerName" type="text" /> <div id="CustomerList"></div> <input name="CustomerID" id="CustomerID"
2005 Dec 28
6
Custom tooltip component?
I am looking to develop a custom tool tip component for a list of links. ...Which is kind of not that big a deal. But, and this seems to be the tricky part, I also want to be able to set/specify the interval threshold after which to display the tool tip. (and by nature of "tool tip", don''t display if the mouse moves out during that interval. etc) Any suggestions? Could
2005 Oct 25
2
Dragging to a textfield?
Hi All, I''m trying to drag a copy of a string from a list into a text field so that the original string stays in the list. I''m able to drag the item and set the value of the text field onDrop. But the original text leaves the list & with revert set to true it flies back to it''s original position in the list. We''re trying to avoid the flying text. What
2005 Jul 14
1
Dropping on empty script.aculo.us sortable lists
I have a need to have two sortable lists with the ability to cross drop items between the list. I am using the script.aculo.us<http://script.aculo.us>library. All is well until I empty one of the lists completely out, at which time I cannot drop anything in to the empty list. I have used CSS to set the height of the <UL> so I have a large target to drop on. In my efforts to make it
2005 Oct 27
2
Ajax.Updater to replace element, not the content
Is there something equivalent to Ajax.Updater to replace the element, intead of replacing it''s content ? An option to Updater, or another function ?
2006 Jun 02
1
prototype patch submissions
I''ve recently submitted two patches (#5122 and #5266) to the Rails trac. These patches are actually for Prototype. There appears to be very little discussion about Prototype on this list, but I wanted to share what I''ve been doing in the hopes of soliciting some feedback from you folks. If this isn''t the right place to discuss Prototype, mea culpa - where should I
2006 Mar 08
4
order.products << product w/out persisting
Hi, I have a one-to-many relationship. I want to be able to add objects to the collection w/out persisting them. How do I do this? The only thing I can''t think of is to use a transaction and roll it back. In other words - I want to do this: o = Order.find(1) p = Product.find(1) o.products << p # but don''t persist this I assume I''m just missing something
2006 May 29
4
session not persisting
I set up session to save to the db and everytime I hit a page I get a new session entry created. Some of them have session_ids of more than 5 digits, but lots of them have session_ids like 0. Something is amiss. -- Posted via http://www.ruby-forum.com/.
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the dojo guys) w/ prototype? Comet represents persisting an http connection for low latency data operations. It also represents a nice alternative to polling. Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2009 Sep 11
2
Persisting iproute2 routes and rules
Greetings! I have defined a few routes and rules with: ip route add ... ip rule add ... And now I'd like to persist those so they're loaded when the system boots up. I'm doing this by means of calling a specific script from /etc/rc.d/rc.local but I believe there must be something cleaner than that, like another existing file. Thanks in advance, Diogo
2006 Jan 14
2
Using AutoComplete(script.aculo.us) with DB-Query
Hi, I''m using AutoComplete from script.aculo.us and want to combine this with a call to a database. Is there any work done so far or do I have to implement all on my own. The only thing I have seen is using results from a file on the server. But that is not very handy. Some words to my background. I''m programming for a project at my university. Our aim is to combine the