similar to: AJAX calls don''t do validation

Displaying 20 results from an estimated 3000 matches similar to: "AJAX calls don''t do validation"

2008 Jan 28
5
Fwd: Mapstraction mailing list and licensing.
Begin forwarded message: > From: Serge Noiraud <Serge.Noiraud at free.fr> > Date: 27 January 2008 21:17:28 GMT > To: steve at asklater.com > Subject: Mapstraction mailing list and licensing. > > Hi, > Reading the mapstraction home page, You speek about mapstraction > mailing list. > All the pointers go on the openstreetmap mailing lists and I saw the >
2007 May 02
1
FW: Cannot receive more that ~64k from host? (solution)
FYI: I needed to update local_consumed when I pulled data out for display... Steve -----Original Message----- From: openssh-unix-dev-bounces+stevec=futuresoft.com at mindrot.org [mailto:openssh-unix-dev-bounces+stevec=futuresoft.com at mindrot.org]On Behalf Of Cooper, Steve Sent: Friday, April 20, 2007 3:40 PM To: openssh-unix-dev at mindrot.org Subject: Cannot receive more that ~64k from
2014 Jul 18
0
winbind SID S-1-5-18 mapping inconsistency with roaming profiles
4.1.9 Hi We have an id mapping problem with one SID in particular: wbinfo --sid-to-name=S-1-5-18 NT AUTHORITY\SYSTEM 5 With the ranges specified in our smb.conf, the mapping is not derived from the idmap db. Here is a user stevec who has just logged out of windows and had his profile written for the first time: # file: stevec/ # owner: stevec # group: domain\040users user::rwx user:stevec:rwx
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
2012 Jun 04
1
Dual NVidia cards, dual monitors
I've just installed CentOS 6.2 on an HP xw8600 with two NVidia GeForce 8800 GT video cards in it. I have two Dell monitors than ran configured as a single contiguous desktop when this was a Windows 7 machine. I've only been able to access one of the two monitors under CentOS, although the system demonstrates some awareness of the second GPU/monitor, because the second monitor shows 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 Jun 15
1
Ok, I''m stumped on arrays of form fields
My Alert object has_many Links. I''ve got the whole system setup where, once I have the Alert object created, I can use a nice form_remote to show the user all the Links currently attached, and add more. But the form itself starts out with 0 links. What I''d like to do now is construct the form with a couple of default "Place link here" objects in the array, and
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
2012 Jun 05
0
Dual NVidia cards, dual monitor
> Steven Chall wrote: > > I've just installed CentOS 6.2 on an HP xw8600 with two NVidia GeForce > > 8800 GT video cards in it. I have two Dell monitors than ran configured > > as a single contiguous desktop when this was a Windows 7 machine. I've > > only been able to access one of the two monitors under CentOS, although > > the system demonstrates some
2006 Jan 13
2
Validation with AJAX; how to DRY validation?
What are some good ways of doing validation with AJAX in Rails (with Prototype/Scriptaculous)? I have some Ajax.InPlaceEditors, and I would like the page with the editors on it to display errors if the data given is e.g. too short, too long, wrong format... Ideally, this should be DRY in regard to the validators. A related question: is there any way of DRY between the database table field
2005 Aug 07
8
Ajax forms and redirects
Here is an example that seems perfect for Ajax that I have not seen implemented nor can figure out how to do it. I am hoping someone can give me some pointers. On the sign-up page, I would like to do my validations (password length, username uniqueness,etc ) Ajax-style. But if all validates, then redirect to the success page. The combining of redirection to a new page with Ajax is throwing me.
2006 Jul 28
1
Nasty pitfall: don''t use ^ and $ in validation regexes!
Let''s say you want to validate that an attribute contains only 2-10 lowercase characters, e.g. with validates_format_of. The appropriate regex is obviously /^[a-z]{2,10}$/, right? Wrong! Try it with "abc\nANYTHING YOU LIKE" - this is perfectly valid. On the second look the reason is clear: ^ matches the start of a line, $ matches the end of a line. So as long as one line in
2006 May 23
0
Noob: Validation Errs Don''t Display When Saving Object Tree
I''ve got the following model: User < AR::Base has_one :user_detail UserDetail < AR::Base belongs_to :user has_one :address Address < AR::Base belongs_to :user_detail I''ve a form to gather the data, and it includes partials for each class. Each partial has an error_messages_for ''class'' snippet which should display the errors relevant to
2006 Mar 21
2
Validation to make sure associations don''t change?
I have a main form representing the model, let''s call that ''Order'', and a partial displaying its'' OrderLines. I use the bulk update methods to initialize model objects directly from form data, leaving validation of business logic to the model. As AR likes to write stuff before i do an explicit save, I wrap the whole update in a manual transaction. This works
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
2006 Jul 22
2
XHTML validation for functional tests
Hi, Is there anyway to validate XHTML during functional tests? Thank you, Jean-Etienne -- Posted via http://www.ruby-forum.com/.
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"
2005 Mar 02
4
Don''t Try This at Home (rails --help)
So I was attempting to determine what version of Rails I was running; I first I did rails -v which went off and created a -v directory. I then did a rails --help which created a --help directory... I dont know if you have ever tried, but deleting a directory named --help from the cli is about impossible! I had to write a ruby script to clean up the mess I made!
2010 Jan 20
1
R.oo installation warnings?
I got the following warnings when I install R.oo. Are these warnings normal? Should I reinstall the package as mentioned in the warnings? How to reinstall? The sessionInfo() is at the end. > install.packages("R.oo", dependencies=T) Warning in install.packages("R.oo", dependencies = T) : argument 'lib' is missing: using '/utility/R' also installing the
2006 May 02
0
Model validation when using ajax & form_remote_tag...
I am trying to understand why model validation error reporting in Rails is so complicated compared to non ajax model validation. In my normal form I use <%= error_messages_for ''user'' %> in my view and I get a nice error message displayed when the user inputs invalid information into the form. When I convert that form to use Ajax using form_remote_tag the