similar to: how to form.rest in RJS

Displaying 20 results from an estimated 1000 matches similar to: "how to form.rest in RJS"

2005 Dec 28
1
RJS and :loading
Hi, I''m a newbie with Ajax and RJS and have one basic question. When contents in .rjs are exceuted in a Ajax sequence? .rjs seems a kind of alternate for .rhtml view file, so I guess they are in action after the controller action completed. The contents of .rjs file are :complete scenario, right? if so, can''t I write some on :loading action in .rjs? like disabling
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2005 Dec 31
7
Dynamic form? Not really!
Hi guru''s out there, Im happilly coding my first rails app, and all goes well. I find myself manually coding in a particular field all the time (company_id), that relates the contact to a company. The total coding of this form seems somewhat much. Could somebody tell me what Rails power I''m possibly missing and stuborn as I am trying to do myself? I was wondering if the
2008 Apr 22
1
Problem with Prototype 1.6.0.2, Opera 9 and Form.serialize()
Hello, following code fragment given: ~~~ function jsPostAppend(script, form_id) { if(form_id) //parameters=''&'' + $(form_id).serialize() // first flavour parameters=''&'' + Form.serialize($(form_id)) // second flavour [...] ~~~ This works perfect for FF2, IE7 and Safari3 (in both flavours). With Opera 9.x, I get the following javascript errors:
2005 Dec 13
2
Ajax.Request onComplete
Hello, I have a small class where i want to use attributes of the instance when an ajax call returns, so I wrote: *var* MyClass = Class.create(); MyClass.prototype = { initialize: *function*(form_id, rendered_id) { this.form_id = form_id; *var* edit_form = $(form_id); *var* rendered_node = $(rendered_id); *if* (!edit_form || !rendered_node) { this.enabled = *false*;
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the return is a page instead of code execution. I have other ajax forms no listed that are also running fine on this same page. there are supposed to be 3 ajax events: onblur event that calls a function to submit - doesn''t work. There is a submit button at the end of the form - works there is a delete image that removed the
2005 Sep 21
2
bug? Maildir ... sync: UID inserted in the middle of mailbox
Version: 1.00alpha2 Error: imap(grin): Maildir /home/grin/Maildir sync: UID < next_uid (94 < 95, file = 1127311363.H977932P25148.gollum:2,) imap(grin): Maildir /home/grin/Maildir sync: UID inserted in the middle of mailbox (95 > 94, file = 1127311363.H977932P25148.gollum:2,) This error reappears frequently. Doesn't go away by restarting dovecot, but does go away when I
2010 Apr 19
2
warnquota email domain ?
Dear All, Sorry if this is the wrong place for this question, or if I'm just being daft, but I can't get warnquota to send emails to the right address. When I put a test user (gollum) over quota, and run warnquota on a server (nfs2.lmb.internal), the email generated by warnquota appears in the maillog as "to=<gollum at nfs2.lmb.internal>," What I need is the email to
2008 Feb 20
1
Deleting multiple rows based on a variable
Hello, I have a dataset which consists of 9 columns (variables) and 35 rows (observations). I am doing a simple linear regression of one variable on the other. There are some observations that are outliers and I would like to remove them based on another variable (it's a unique, numeric variable). How do you tell R to remove multiple rows (observations) based on a variable value?
2016 Feb 04
7
USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)
I have two computers: both running CentOS 6.7, 64-bit, with kernel 2.6.32-573.12.1.el6.x86_64. One is a laptop with an 2 core Intel processor and the other is a desktop machine with a 4 core AMD processor. Both with selinux enabled. I have a USB serial port device (a RR-CirKits LCC-Buffer USB). On the desktop I am getting this error: sauron.deepsoft.com% sudo minicom Device /dev/ttyACM0
2006 Jul 06
0
big size file uploading problem w/IE
Hi, I''m now trying to develop application for big files exchanges by Webserver and Browser with rails. There is a browser dependent file uploading problem with Rails. Uploading file is issued from .rhtml like this. <%= form_tag({:action => "upload_file"}, {:multipart => "true"}) %> With IE ( 6.02900 ) a 5 meg file was sent but slowly and it took more
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here: http://wiki.developers.facebook.com/index.php/Facebook_Styles I included testing and comments. I hope you find it useful. Curiously, it''s really a small extension of FBML. Richard -------------- next part -------------- Index: test/rails_integration_test.rb
2009 Jun 22
5
Convert "ragged" list to matrix
Hi, I have a list made up of character strings with each item a different length (each item is between 1and 6 strings long). Is there a way to convert a "ragged" list to a matrix such that each item is its own row? Here is a simple example: a=list(); a[[1]] = c("a", "b", "c"); a[[2]] = c("d", "e"); a[[3]] = c("f",
2011 Apr 17
1
KDC and samba4
Hi, I'm using GIT pull from a few days ago. I am trying to get ssh working with kerberos when samba is the KDC. I am having trouble getting my machine keytabs to work. Here's some of the problems I have: 1) root at morannon:~# samba-tool export keytab /tmp/test.keytab added interface ip=192.168.1.11 nmask=255.255.255.0 added interface ip=127.0.0.1 nmask=255.0.0.0 added interface
2010 May 30
4
Changing R_LIB_USER variable in ubuntu...
Hi, I'm an experienced R user on windows, but new to linux. This may be an issue with how R (or Ubuntu) was install on my computer, but maybe not. I just installed Ubuntu 10.04, I have administrator privileges and am using R 2.11. Here goes: I'd like to change the location where R installs packages not included in the base installation (using install.packages()). Right now it is
2018 Mar 22
2
Broken relocation for generating offsets?
Hello, I append another clue I found out: The problem is definitely not caused by "__ImageBase" the problem comes with the "OFFSET". I generated another object file which crashed. The commonality: mov edx, DWORD PTR ?normalPlanschbecken@@3HA ; normalPlanschbecken lea rcx, OFFSET FLAT :??_C at _0CC@LCMJAIPO at Reading?5?$CCnormalPlanschbecken?$CC?5?$CFi@
2007 Mar 07
1
sporadic problem using ldap authentication
Hi, recently some users started complaining about sporadic authentication failures. When examining the logs I saw the following: Mar 7 03:20:24 gollum dovecot: auth(default): file auth-request.c: line 472 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB) Mar 7 03:20:24 gollum dovecot: auth(default): Raw backtrace: dovecot-auth
2018 Mar 22
0
Broken relocation for generating offsets?
I wouldn't be surprised if JITing COFF files on Windows doesn't work so well, since the object file format assumes most symbols are dllimport or within the local 2GB module address range. I'm not familiar with the current JIT state of the art, though. On Thu, Mar 22, 2018 at 1:45 AM via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Hello, > > I append another clue I
2017 May 12
3
JIT - Resolve obj file without a main
Hello Lang, I noticed, if I load a obj-File without a main-function, the Jitter won't resolve any address. But if I have a main, everything works fine. Why is this so? Is there a way to stop this? Kind regards Björn Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr. DE 114 165 789 Geschäftsführer: Hiroshi Kawamura, Dr Hiroshi Nakamura, Markus Bode, Heiko
2005 Apr 29
3
[LLVMdev] Java frontend
Hello, I have just read the LLVM paper (CGO'04) and thought it was an interesting project. And, I am wondering if there exists a Java frontend (that compiles Java bytecode to LLVM code) as the paper mentioned. If there is any, what is the status of it? Pardon me if this information is obviously provided somewhere in the LLVM web site. Best regards, Hiroshi Yamauchi Purdue University