similar to: Ok, I''m stumped on arrays of form fields

Displaying 20 results from an estimated 200 matches similar to: "Ok, I''m stumped on arrays of form fields"

2006 Feb 12
2
AJAX calls don''t do validation
Chatting on the IRC channel today to people (thanks!) it came up that submitting a form remote bypasses the :validates... in the model. At least thats how it looks from my tests and what people said is the current behaviour. Is this the case? If so, is there a way around it or will it change in the future? I can imagine good reasons for the current behaviour. have fun, SteveC
2006 Feb 08
3
OpenRico LiveGrid or similar
Hi Has anyone used OpenRico''s "on-demand listbox" LiveGrid or something similar in a Rails app already? How well does it behave? I''m asking this because I need a scrollable list but the number of records in the table could be well above 5000. In the past I''ve used similar "on-demand fetchings" in desktop apps and it was a real blessing (the
2006 Jun 13
1
Can I refresh a remotely updated section once?
My object has_many Link objects. So I''ve set up a form on my edit page that uses form_remote to accept a text field and then dynamically create and add a new Link object and remain on the same page. I have a div id="links" region that gets updated to show the current list of links. This works fine. But when I first load the page, if the object already had links, how do I
2006 Apr 25
0
Submit a form_remote from arbitrary JS
What I want to do is trigger an AJAX form submit from an event handler for a form element. The form is named, and I tried calling formname.submit() from the onblur handler. However, instead of using the settings from the form_remote_tag above it, the form ends up submitting the whole browser. I know what you''re thinking, why not use an observer? I tried that, and I ran into some
2013 Nov 19
1
Prepopulate *all* users to a samba4 RODC
I was hoping this would be simpler. I'd like to prepopulate an RODC with all users accounts that are permitted. But I can only pre-populate one at a time: samba-tool rodc preload (<SID>|<DN>|<accountname>) sles-shire:~ # samba-tool group listmembers 'Allowed RODC Password Replication Group - Shire' Allowed RODC Password Replication Group - Global WIN7-SHIRE$ bilbo
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In particular I am interested in this one: # Call the custom JavaScript class/method AddressBook.cancel() page.address_book.cancel In trying to develop a "lightbox" style modal form, I have been successful in saving the form data via AJAX but I can''t seem to close the "lightbox". I am using the
2014 Feb 10
6
[LLVMdev] [RFC] Simple control-flow integrity
Hi everyone, I've been working on control-flow integrity (CFI) techniques over LLVM, and I'd like to get feedback on these techniques and their potential usefulness as a part of LLVM. I'd like to submit some patches for this; I've implemented a version of it, and I've applied it to large, real-world programs like Chromium to see how well it holds up in practice. TL;DR: my
2006 Nov 04
0
form_remote_tag problems with post url
Hi, I''m hitting a bump with the form_remote_tag, and wondering if anyone can help.. SO i''m trying to implement a tag-based search on a site and using routes, I can enter a url such as http://localhost/tag/query , which calls an action ''search'', and returns all the posts which are tagged with the word ''query''.. fine... In the
2006 Jan 02
0
Problem with remote updates
My form_remote and link_remote tags seem to messing up and keep making the tag they are supposed to update, disappear completly. They''ll fade out, and then start to fade in but then just dissappear. I think its happening because both actions are firing at the same time on a fairly simple request. For example, I have a link_to_remote tag: <%= link_to_remote ''Edit'',
2005 Dec 29
2
form_remote, getting data from submit
Hi list, I'm writing a little survey application, and surveys are generated dynamically. I use form_remote_tag and AJAX to submit the form to a method 'submit' in my 'survey' controller. The view generates the form as: <tr> <td>Question 1?</td> <td><input id="resultset_1" name="resultset[1]" size="30"
2008 Jan 31
0
Cross Site Sniper 0.2 (stable)
I''m pleased to announce the release of Cross Site Sniper 0.2. Cross Site Sniper is one more addition to the ever growing list of tools that attempt to provide a convenient and DRY method to protect Rails sites from Cross Site Scripting (XSS) attacks. There are many plugins and tools out there that attempt to address this issue, but none of them met my requirements. So, I created
2013 Jul 31
0
Re: Installing libvirt
On 07/30/2013 11:30 PM, Peeyush Gupta wrote: > Hi, [can you convince your mailer to wrap long lines? Also, it looks like your mailer is not using proper in-reply-to headers, such that you are spawning a new thread every time you reply] > > I am trying to install new libvirt version on Ubuntu 12.04 LTS. Now I downloaded libvirt 1.0.5 from libvirt.org/sources then I issued three
2006 Apr 30
0
prepopulate winbind db with certain uid <-> SID mappings?
Hi, when migrating a big linux/samba fileserver with several hundred local users/uids and more than a million files to a winbind/Windows AD setup, it's not desirable to have new uids assigned for all the users from a uid range by winbindd, because the file ownerships are messed up then. Is it possible to keep the original local uids for already existing users with winbind even after
2006 Nov 04
0
stumped trying to escape javascript
So I''ve got a few forms that update info using Ajax and form_remote_tag. I''ve got a javascript function that I call from within my render method in my controller, to take the contents of the flash and display them in a div that appears and then disappears. I''m using the following: render :update do |page| page << ''ShowMessage("''
2006 Jun 30
1
using routes.rb from inside a controller / render_component_as_string / generally stumped
Hi, In an action I have a string representing a url for a get request. A simple and seemingly ridiculous example might be something like the following. What I''m trying to do is much more complicated but I think this tiny example shows where I am stuck. Into their browser a user types "http://my.domain.com/admin/category/updates". I have a controller roughly like the following
2008 Sep 03
1
Stumped on adding X-Header...
Recently I posted about wanting to add an x-header recording a timestamp for changing the \Deleted flag, for purposes of doing expiry on mbox mailboxes. Timo replied: > Be sure to add it to mbox_hide_headers[] and mbox_save_drop_headers[] > arrays in mbox-storage.c and hope that it doesn't exist in any of your > existing mails. :) Other than that there shouldn't be problems.
2002 Jan 11
2
I'm stumped
I just installed 302p1 on a client's machine (I run it on all of mine) and something is definetly wrong, can't figure out what. ssh localhost ssh_exchange_identification: Connection closed by remote host stock config files except ssh allows X11 forwarding any suggestions? Michael at Insulin-Pumpers.org
1999 Mar 07
0
coplot has me stumped
I'm having trouble with coplot. I have two conditioning variables, and when I try to specify two sets of given.values, no matter what I do I get the message, Error: Object "b.levels" not found. Here is the section of code: c.ranges <- co.intervals(schses, number=4, overlap=0) a.ranges <- co.intervals(as.factor(aa94), number=2, overlap=0) PredAA <- as.factor(aa94)
2004 Oct 13
0
Okay I'm stumped.
I have a very weird issue with isolinux. I create disks with a bootsector, kernel etc. The CD's boot fine on most machines, but on a significant number the bios just completely ignores them. Yet these same bios's boot a number of linux CD's all using isolinux. Moreover a lot of time the same bios will fail with a CD, yet boot the same iso if it's burned onto a DVD. The only
2010 Oct 11
0
[LLVMdev] More DIFactory questions - still stumped
On Oct 11, 2010, at 8:17 AM, Devang Patel wrote: >> Interestingly enough, I just upgraded to the latest Ubuntu (10.10 - Maverick Meercat), and the LLVM-generated code no longer builds: I get the following error in the assembler stage (after the bitcode is converted to assembly): >> >> SwitchStmtTest.s: Assembler messages: >> SwitchStmtTest.s:294899: Fatal error: