[Rails-spinoffs] problem with drag and drop

2006-04-05 Thread Daniel Herrero
Hello, I'm creating an application wich can be seen at http://158.227.7.9/serious_serv/prueba_xml_test(31-3)/interfElemen/integMenuContextFileUpl.htm The instructions for working with it are the following: with rigth-click you can click "Añadir una imagen" to load an image into the page, then you c

[Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Alexander Rebholz
Hello,I can't seem get to work the newly inctroduced EventSelectors of protoype.I downloaded the latest release via SVN.  And included both prototypeand scriptaculous.This is a short extract of my test: This is a footer
    var Rules = { '#footer:loaded': function(element) {
    Element.setSt

Re: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Todd Ross
On 4/5/06, Alexander Rebholz <[EMAIL PROTECTED]> wrote: > I can't seem get to work the newly inctroduced EventSelectors of protoype. > I downloaded the latest release via SVN. And included both prototype > and scriptaculous. I don't see any EventSelectors code in prototype or script.aculo.us. [E

Re: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Steve Longdo
Maybe you can find some help here: http://encytemedia.com/event-selectors/ http://encytemedia.com/blog/articles/2006/03/27/prototype-gets-attribute-selectors On 4/5/06, Todd Ross < [EMAIL PROTECTED]> wrote:On 4/5/06, Alexander Rebholz < [EMAIL PROTECTED]> wrote:> I can't seem get to work the newly

Re: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Alexander Rebholz
@SteveNo unfortunately not. I already knew these links. Anyway thanks. I guess Todd is right. EventSelectors don't seem to be in the code anymore.2006/4/5, Steve Longdo < [EMAIL PROTECTED]>:Maybe you can find some help here: http://encytemedia.com/event-selectors/ http://encytemedia.com/blog/arti

RE: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Ryan Gahl
Alexander… you’re missing a very big thing… EventSelectors is a 3rd party thing… a plugin so-to-speak. It was never a part of prototype or scriptaculous. So what you need to do is get that library (from the links in that previous post) and make sure you are including it in your project.  

Re: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Alexander Rebholz
Doh! How could I have overseen that big, big download link??? I thought it is part of the new prototype version. How embarrasing!!! *flush* Thank you for the clarification Ryan!Alex 2006/4/5, Ryan Gahl <[EMAIL PROTECTED]>: Alexander… you're missing a very big thing… EventSelectors

RE: [Rails-spinoffs] Help with new EventSelectors in prototype

2006-04-05 Thread Ryan Gahl
Lol, no problem. We all have those moments.   The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material.  Any review, retransmission, dissemination or oth

[Rails-spinoffs] Re: (SOLVED) Re: autocompletion: hooking'afterUpdateElement' in Rails

2006-04-05 Thread Alain Ravet
> I've added this to the rails trunk, but slightly altered the proposed > patch, (see the comment on #3691). It must be obvious by I can't find my way the new syntax. With the "old" syntax (patch 3691), I had written code like this : <%= text_field_with_auto_complete :city, :name, {},

[Rails-spinoffs] Firefox - Form within a table issue

2006-04-05 Thread Maninder, Singh
Hi, Has anyone seen this issue before? Oversimplified Problem: I have a table within which I have a form - Somehow, whenever I have such a case, Form.serialize() returns empty in FIREFOX (IE WORKS FI

RE: [Rails-spinoffs] Firefox - Form within a table issue

2006-04-05 Thread Gregory Hill
A form element cannot be inserted into a table element like that. You can put it inside the td element or outside the table element, but not in between the table and tr. IE doesn't enforce that, Firefox does. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- >

Re: [Rails-spinoffs] Event.observe on IE

2006-04-05 Thread Ed C.
preventDefault() doesn't work in IE, you'd need to do "return false" which is wrapped nicely in Prototype. I think you could replace:   "if ( event.preventDefault ) event.preventDefault();"   with:   "Event.stop(event);"   ?  On 4/3/06, Bill Moseley <[EMAIL PROTECTED]> wrote: On Mon, Apr 03, 2006 a

[Rails-spinoffs] Nuby Sortable Question? How do you pass multiple lists back to the server

2006-04-05 Thread Larry White
I have multiple drag and drop lists. If you sort within one list, you can pass the list back to the server using: <%= sortable_element 'task-list' << person.id.to_s   ,              :url ="" { :action ="" "noop", :id => @user },             ...         %> Which causes this to be included in the

[Rails-spinoffs] Re: Nuby Sortable Question? How do you pass multiple lists back to the server

2006-04-05 Thread Larry White
what if we keep track in flash of all the lists that get updated - then we can persist all the changes at the end and run the schedule routine then.On 4/5/06, Larry White <[EMAIL PROTECTED]> wrote: I have multiple drag and drop lists. If you sort within one list, you can pass the list back to the