Displaying 20 results from an estimated 700 matches similar to: "how to pass params to button_to_remote ?"
2010 Jul 20
20
render :js => "alert('Test !')"
Hi Folks,
I use render :js => "alert(''Test !'')" in my modele, but instead of
having the alert displayed, the browser try to donload a file containing
this string : <<render :js => "alert(''Test !'')">>. Do you know why I the
browser behaves such a way ?
Regards
--
Posted via http://www.ruby-forum.com/.
--
You received
2010 Jul 18
0
button_to_remote using jQuery and Rails 3
Is this possible given the button_to_remote function seems to be
defined as a Prototype helper? I''ve replaced my /public/javascripts/
rails.js with the jQuery driver.
When I try to use button_to_remote I get the error undefined method
''button_to_remote'' for #<#<Class:0x000001078d7090>:0x0000010789ad20>
If this is not possible using button_to_remote, how can
2009 Sep 26
3
how to pass value to method in controller
how to pass value to method in controller using button_to_remote
button_to_remote ''check avaliability'',
:url => { :action => ''check_for_unique_login'', :login =>
@user.login}
above code is not working.
--
Posted via http://www.ruby-forum.com/.
2016 Apr 29
1
my dahdi dont'n start
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hello,</p><p>I have not resolved my problem.I renamed my dahdi file "mv dahdi.bash dahdi " in the directory /etc/init.d, but it doesn'nt work yet.</p><p>the same error after the command <strong>/etc/init.d/dahdi
2010 Jul 02
1
How to user PDF::Toolkit.pdftk ?
Hi,
I tried to fill a PDF fill template with an xdp file by using
PDF::Toolkit.pdftk("C:/pdf/fic2028.xdp", "fill_form",
"C:/pdf/fic2028.pdf")
But I got the following error
Errno::ENOENT (No such file or directory - "pdftk" "C:/pdf/fic2028.xdp"
"fill_form" "C:/pdf/fic2028.pdf" "-" "dont_ask")
I
2007 Mar 23
11
Is there such a thing as button_to_remote?
I''ve changed my destructive link_to statements in favor of button_to.
But what if I want to make an .rjs call with that button?
Seems like we need something equivalent to link_to_remote, so that the
button can make an ajax request instead submitting the form.
Or am I missing the point entirely?
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message
2003 Sep 04
3
: RODBC column length>255
Hello there fellow R-users,
I am using the RODBC functionality to query a database. I am trying to read
in a columns of strings which have a character field lengths greater than
255.
The data.frame that I recieve back from the RODBC query only contains the
first 255 characters (the rest having been truncated).
Any help on how to solve this problem would be greatly appreciated.
Reagrds
Wayne
2009 Jul 15
5
E-Mail Encryption
Hello,
I am new to Dovecot but installation was quite easy, so there is one
more LDAP authenticated, Dovecot / Postfix mailbox online, but there is
one question left:
I would like to set up a configuration, which encrypts every user mail
with a unique key. If user logs in, private key should be decrypted with
user password and every mail user requests should be decrypted with
users private key.
2006 Aug 18
4
Button on view
Hi,
I have a page containing 3 views (2 are partials). One of the partials
needs to have a button that will clear a table called "messages" in the
database.
I can put a button like this "<%= button_to "Clear Messages", :action =>
''clear_messages'' %>" and have the controller do "Message.delete_all".
But the problem is that the
2007 Oct 19
3
restrict network access
Hi,
I have two pc using centos 4, these machines need only access to the
(big, class b) local network. Because of security reasons the network
access should be restricted to this local network - mainly the users
of these pc should not be able to access webpages outside of the local
network. My problem is, that I have no own centos repository and
therefore these two pc need access to the
2012 Nov 23
2
Ask freebsd 9 to stabil
dear admin
how to make freebsd 9.1 prerelease in to stable
reagrds
2007 May 07
1
Native flac support
Hi all,
As of now, Xiph-QT component does not seem to play native flac files.
Is this feature likely to be introduced soon in the Component? Was also
wondering if any work is already been done on these lines.
I am very much willing to add the native flac support for Xhip component,
Can any one give me any suggestions or pointers, as to where to begin from?
Reagrds,
--
Yogesh Kini
Digital Juice
2016 Apr 26
7
my dahdi dont'n start
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hello,</p><p><br></p><p>Having installed DAHDI to be able to use the meetme() application , when I start the dahdi service it generates me the following error:</p><p>-bash: /etc/init.d/dahdi: No such file or
2003 Jul 28
1
Reading a file every t seg.
Dear all,
I'm writing a small program to read a file that receives data every time
(e.g. every 1second ). During the execution of my program I get the
message:
" Error in read.table("file.txt", header = T, sep = ";") :
no lines available in input "
I suppose that it happens when I try to read the "file.txt" while it is
being written. To overcome
2011 Feb 05
1
Seeking help to define method for '+'
Dear all, I am trying to define "+" method for my newly defined s4 class
which is as follows:
setClass("Me", sealed=F,representation(x1 = "numeric", x2 = "character"))
new1 <- new("Me", x1=2, x2="comment1")
new2 <- new("Me", x1=3, x2="comment1")
setMethod("+", "Me",
2016 Jun 07
2
Want to detect sound
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hello everybody,<br><br>I manage not to detect one silence with record () when I make as follows:<br><br>Exten = > 0178900271, n, Record ($ ${ link_recorded_pseudos_clients } pseudo_ Client_Id} wav, 5,5) exten = > 0178900271, n, GotoIf ($ ["
2005 Apr 19
1
How to make combination data
Dear R-user,
I have a data like this below,
age <- c("young","mid","old")
married <- c("no","yes")
income <- c("low","high","medium")
gender <- c("female","male")
I want to make some of combination data like these,
age.income.dat <- expand.grid(age,
2016 Apr 28
5
my dahdi dont'n start
On Thursday 28 Apr 2016, Mamadou NGOM wrote:
> Hello,
> it doesn't work my dahdi yet .for information, i use debian 8 .
> I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
> but i have the same error: bash: /etc/init.d/dahdi: No such file or
> directory
You need to name the file just "dahdi", not "dahdi.bash"; because the command
2016 May 09
2
voicemail: duration while leaving a message
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hello list,</p><p><br></p><p>I am asking when a caller want to leave a message to a mailbox with the application voicemail</p><p>How i can limit the duration for exemple 30 seconds.</p><p>exten =>
2007 Jul 28
4
memory query
Dear All,
I have recently installed centOS 5 on DELL pentium 2.7ghz (model optiplex
GX270) and have 512 memory
but the OS free command show me
Mem: 473876 469892 3984 0 11288 69384
-/+ buffers/cache: 389220 84656
Swap: 1020088 0 1020088
also cat /proc/meminfo show me same
MemTotal: 473876 kB
MemFree: 4108 kB
Buffers: