Displaying 20 results from an estimated 2000 matches similar to: "Select Box problem in the controler with Ajax"
2006 Jul 03
2
Login Engine & Functional Tests
Hello,
I''m creating some functional tests form my controler, and most actions
require
login. I''m using login engine to manage the login functionalities.
I would like to know how can I login a user in a functional test. This
is, the first thing that I would like to do is to login a user. This way
the response will return :success instead of :redirect.
Thanks in advance.
--
2006 Aug 08
2
Javascript - multiple select selectboxes
I am trying to populate a multiple select box using javascript, but am
having problems with the name. When I change the name to "codes[]" I
can''t get the javascript to find the form element, but without the [] on
the end, rails wont read all of the selected values.
Here is an example of the javascript working, but when you submit the
array is not passed across for the codes.
2006 Jul 06
1
Laszlo DHTML on Rails?
Hi,
I''m trying to get a big picture about what can be done with the mix of
these two technologies.
My idea would be to use the power of Rails to provide the model and
controller functionalities, and use Open Laszlo for the view design.
This would provide a better abstraction level for the development of the
GUI.
Can someone provide me an idea if this is possible what are the
2006 Jul 10
1
Migration and foreign keys
Hi,
I''m using the ''rake db_schema_dump'' command to clone the structure of
the developement database into the test database.
Unfortunatelly, the schema.rb file doesn''t contain any information about
the foreign keys of the tables. For this reason all the test that
concern about the relations are not working has suposed.
Is this a limitation of Rails or am I
2011 Mar 31
6
Parse selectbox value with javascript
Hey guys,
i''ve the following question:
how can i parse the value of a selectbox within a div-tag (with the id
"ma") via AJAX and use the parsed value for reading out some data from
my database. the parsing request should be started by selecting another
selectbox.
My mainquestion is: how can i parse a selectbox (if possible with rjs)
an get the value in ruby (not just in
2009 Jan 07
1
bet way to debug a plug-in?
Hi,
Yesterday I had to walk through the code of a plug-in and perform a
minor fix. I confess that I
didn''t like the experience. Because the plug-in is in the vendor
directory, I
had to restart the web server whenever the code changed.
How can I debug a plug-in without having to restart the web server
whenever the code changes?
Thanks,
Tiago Franco
2006 Jun 29
11
AJAX Maps
Hi,
I would like to know if there is a library that provides an API to
support map scrolling, like the one available in google maps.
This is, I would like to create a user interface where the user is able
to see a small part of a large map. It can then move the view, thus
observing another part of the map. Additionally, I would also like to
provide a zoom mechanism.
Thanks in advance.
--
2008 Oct 23
4
Best configuration of dovecot for limit Outlook problems with IMAP
Hi,
in some installation where users using IMAP and Outlook Express I have some
problems.
Outolook randomly presents problems in messages retrieving, for example:
"Outlook Express is unable to retrieve the requested message because the
server no longer has the message available.... server response: Fecth
Completed"
or
"Message could not be displayed" error message when
2008 Jul 07
1
link_to_remote multiple :with =>
i have a link to remote and i need to pass two values provided by select
boxes to it, a language, and a page count (hits per page to be
paginated) how do i get the code below to send both arguments??
<%= link_to_remote "#{element}", :update => "a_z_replace", :loading =>
"Element.show(''a_z_indicator'')", :loaded =>
2008 Apr 27
1
problem with size of array
+ > p2<-function(r){
+ gama=0
+ for(i in 1:1000){
+ c=caminho[[4]]
+ for(i in 1:caminho[[3]]+1) {
+ c=c+caminho[[i+3]]*((r[i])^(i-1))
+ d=(abs(c))*exp(-(x^2/2))}
+ gama=gama + ( d/(h(r[i])) ) }
+ return(gama)}
> e3<-p2(r)
OBS: r is a rnorm(1000,0,1)
> caminho
theta_chapeu f_estrela k a0 a1 a2 a3
1 3.2 1.2 3 2 1 4 5
>
question
i wanted gama to be
2011 May 06
3
Configuring Voicemail in Asterisk 1.8
Hi All;
Already in the voicemail.conf file, I added the extension 500 and kindly find below my voicemail configuration:
[Internal]
0 => 1234,Gama Operator,Operator at gama.com
500 => 1234,Operator,Operator at gama.com
501 => 1234,Employer Name,employer_email at gama.com
502 => 1234,Employer Name,employer_email at gama.com
Asterisk version is 1.8 and currently I am getting this
2009 Sep 16
1
noise from decoded file
Hy,
can anyone recognize that pixel noise in the playbackfile
recorder file:
http://www.megafileupload.com/en/file/135429/FMODTestRecording-wav.html
playback file:
http://www.megafileupload.com/en/file/135431/FMODTestPlayback-wav.html
i have no idea what that is anymore. i try everything i know, from changing
the way of copying data to different encode/decode algorithms
the recorded file is
2007 Mar 26
1
Handling Multiple Select Lists
Hi All,
After much searching and head scratching I post you this!
I can''t seem to find a generic way to handle multiple select data. The
function I use to receive form values will only pass the first selected
value from a multiple select. I have pasted part of the form and the
function below.
Thanks for any pointers,
Vince
// Example selectbox
<select
2009 Sep 14
2
noise from custom encoder/decoder
Hy,
I'm totaly out of ideas now.
here are links to the code I use.
codec.cpp http://barvanjekode.gama.us/temp/1078354945.html
codec.h http://barvanjekode.gama.us/temp/135707080.html
Variables I use are:
int samplerate 32000
uint quality 10
uint complexity = 2
I get that wierd noise after I use speex encoder/decoder. It's like there
where empty spaces between each encoded
2006 Jun 14
4
Select box onchange problem
Hi,
i''ve got the following problem. I have a check_box witch shows
a list of varieties. Now i want to call a action when the user
changes his selection. (the method to be called, will store the
selection from the user).
This is my code:
<%= select(''variety'', ''variety_id'',
Variety.find_all.collect {|c| [c.description, c.id]},
2009 Sep 02
3
voice sound like robot voice :)
hy,
here is my speex encoder/decoder .. the sampleRate i use is 16000 and
quality,complexity are at 5.
can someone take a look in to the code and see if there is something that is
making that robot voice
here is a link to colored and numbered code, same as below
http://barvanjekode.gama.us/temp/1257361243.html
thanx.
code
-----------------------
#include "codec.h"
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
hy,
recording and playback is working perfectly without speex.
i have try to set samplerat from 6000 to 441000 and quality from 1 to 10 sam
with complexy, but the best i can get is with 16000 samplerate, 5quality and
3complexy .. but still, the voice that came out is annoying, artificial,
robot ,...
Lp, Tim
+--------------------------+
| email: rico at gama.us |
| www: http://gama.us
2009 Apr 03
2
Geometric Brownian Motion Process with Jumps
Hi,
I have been using maxLik to do some MLE of Geometric Brownian Motion Process and everything has been going fine, but know I have tried to do it with jumps. I have create a vector of jumps and then added this into my log-likelihood equation, know I am getting a message:
NA in the initial gradient
My codes is hear
#
n<-length(combinedlr)
j<-c(1,2,3,4,5,6,7,8,9,10)
2006 Jul 28
1
Selectbox: display value for :include_blank => true?
Hi all
Is there a way to set a display value for :include_blank => true?
Because an empty <option></option> tag is not valid XHTML 1.1 code
according to Firefox''s Tidy...
Thanks for info. :-)
Joshua
--
Posted via http://www.ruby-forum.com/.
2009 Apr 10
1
Re MLE Issues
Hi
I have been having issue with a ML estimator for Jump diffusion process but
know I am get little error I didn't notice before like I am try to create a
vector
> #GBMPJ MLE Combined Ph 1 LR
> #
> n<-length(combinedlrph1)
> j<-c(1,2,3,4,5,6,7,8,9,10)
Error in c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) :
unused argument(s) (3, 4, 5, 6, 7, 8, 9, 10)
>