similar to: drop downs

Displaying 20 results from an estimated 200 matches similar to: "drop downs"

2006 Jun 09
0
partials and rjs
I must have a misunderstanding of partials, maybe one of you can help me out. I have a page that initially displayed via the following: <-- in controller --> def find_areas_for_country @country_areas = CountryArea.find(:all, :conditions => ["country_id = :country", params], :order => "descr asc") render :partial => ''country_area''
2006 May 17
3
RJS behave differently than render :partial?
I have a method in my controller like the following (the syntax may not be correct, I''m doing this from memory - you should be able to get the idea though) My rhtml page has a DIV with id="country_areas", which contains a partial that only makes a drop down of country areas for a specific country. When changing the country in the country drop down, it uses the
2006 Jun 15
0
return from controller not evaluating script
I am using this in my controller to reload the country_area partial in my form def add_country_area render :update do |page| page[:country_area].reload end end << in form >> <span id="country_area"> <%= render :partial => ''country_area'' %> </span>&nbsp; << partial _country_area.rhtml >>
2003 Feb 08
3
to modify a vector
Hi All. I am quite a newbie to R. This is a basic question. I like to modify elements of a vector. For Example: a1 <- c(1,2,3,4,3,5) TThe following program sentence does not work but the intention is; if (a1==3) a1*3 . 3 in the vector should be changed to 9, and the resulted vector is (1,2,9,4,9,5). How can I get the result? Thanks in advance for help. -------========-------- mitsu5
2006 May 02
3
file_column : _temp field always nil
Hi, I''m trying to set up file_column to upload attachments for emails. My view has <td align="left"><%= file_column_field ''to_do'', ''attachment'' %></td> and the attachment_temp hidden field is generated. When I inspect tthe params on saving the form the attachment_temp param is always an empty string. Also, when I was
2010 Oct 28
3
ACtive directoryin Ubuntu
Hi, My name is Tommie, I am new to tthe list...greetings to you all. I have a couple of quetions. Our college network is running on Debian and Ubuntu, we are trying to migrate the rest of the services to Ubuntu... the Active Directory is the one that is still using windows. My questions are: How can i substitute the windows Active Directory by Samba? How can i migrate Active Directory users to
2006 Jan 19
6
Dynamic Programming in R
Hi R users, I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were people out there who had expereinced success at using R for such applications. I'd rather continue in R than learn Mathlab. A concern that has been cited that may discourage R use for solving dynamic programs is its memory handling abilities. A senior researcher had a lot of
2005 Dec 18
0
Time Drop Downs
I''d like to create a dropdown for setting an attribute that is a time type with an hour/minute/(am/pm) format (i.e. client does not want military time). Is there already a library in Rails which does this (I couldn''t find it)? And if not, has anybody done this already and can point me in the right direction?
2017 Dec 27
2
Chromebook AD integration fails on joining the domain
Hi, I am testing Google's recent ability to integrate Chromebooks into AD and it's failing when I try to join the device to the domain. When I run wireshark during the test I notice 2 TGS-REQs from the device that are answered with KRB5KDC_ERR_ETYPE_NOSUPP. The Chromebook is only passing AES256-cts-hmac-sha1-96 and AES128-cts-hmac-sha1-96 as enc types. I was getting the same result from
2006 Sep 14
5
Beta stochastic simulation
Hi, I am finding that I get quite different results when I interchange the following "equivalent" lines for sampling from a beta distribution in my r script. The rbeta line is correct judging by the summary statistics of the simulated values, while the qbeta line consistently leads to a higher mean simulated value. simulation <- rbeta(1, alpha, beta) simulation <- qbeta(runif(1),
2010 Jan 28
2
dynamic drop downs for product search
Hey Everyone, I''m about to embark on having a search function for the products on my app via dynamic dropdowns. A dropdown for make would only leave AVAILABLE models of that make. selecting year would only leave available makes from that year etc etc. Any suggestions or good read ups ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Jun 10
4
Hello
Hello, I am facing a problem in drawing heat map using R. I have a 70X3 matrix and I want to draw a heat map with 1 coloumn on X axis another on Y axis and want to show the value of 3rd coloumn using heat colours. Could you please help me with this . Thank you . Regards, Sumit [[alternative HTML version deleted]]
2003 Aug 12
3
grep and gsub on backslash and quotes
The following code works, to gsub single quotes to double quotes: line <- gsub("'", '"', line) (that's a single quote within doubles then a double within singles if your viewer's font is not good). But The R Language Manual tells me that Quotes and other special characters within strings are specified using escape sequences: \' single quote \"
2012 Feb 14
3
ftrace_enabled set to 1 on bootup, slow downs with CONFIG_FUNCTION_TRACER in virt environments?
Hey, I was running some benchmarks (netserver/netperf) where the init script just launched the netserver and nothing else and was concerned to see the performance not up to par. This was an HVM guest running with PV drivers. If I compile the kernel without CONFIG_FUNCTION_TRACER it is much better - but it was my understanding that the tracing code does not impact the machine unless it is
2008 Mar 11
1
Jpeg and pixel
Hi guys, I've got tthe following question: Why do my fonts look a bit grubby when I use the jpeg() function? I see the pixels of the font. The quality is set to 100%. If this is normal with jpeg(), which function would you propose me to use instead? Kind regards, Thomas ________________________________ I'm using R 2.6.2 on Windows XP, SP2 [[alternative HTML version deleted]]
2007 Sep 12
2
Problems with Asterisk behind a firewall
Hi all, I have set up Asterisk and I am able to register with my SIP provider and receive calls. When I try to register with Asterisk from outside I can place calls but tthe other person can't hear me. Have opened port 5060 UDP as well as port 10000 to 20000 UDP. Any ideas? Thanks, Christian
2014 Sep 25
1
RPM install/upgrade problem
Hi, For the last few updates I'm having a yum problem. # yum update gives the following error for e.g. Running transaction Updating : bash-4.2.45-5.el7_0.2.x86_64 1/10 Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64 error: unpacking of archive failed on file /usr/bin/alias;5423b9bc: cpio: open The same problem happens if I try to use rpm for the update so it
2024 Mar 21
2
CyberPower PR3000LCDRTXL2U and NUT 2.8.0 - mute?
I have a CyberPower PR3000LCDRTXL2U with a BP48V75ART2U expansion chassis, which I am monitoring using NUT 2.8.0 (on Gentoo Linux). TThe UPS appears to be telling me that the batteries need replacement due to age. CyberPower support has confirmed that for me and told me how i should be able to mute the alarm from the front panel until I can replace the batteries, but it doesn't appear
2009 Aug 11
5
Dynamic drop-downs in a form_for using AJAX remote_function - Help
Hello - I am fairly new to Ruby on Rails, but feel like I am learning quick. I have what seems to be a fairly unique issue as I cannot find much out there that describes what I''m seeing. Hopefully it''s a very simple fix, and I simply can''t see the forest through all the trees! I am attempting to create 2 related drop-down lists in the same form_for, both using
2006 Sep 10
2
rownumber
# R 2.3.1 I read the data set into R, but the data set have two rows per record. i.e. ......... 105 1 1 1103 1 5 4 8 5 22 105 2 2 2 2 1 2 17 16 26 106 1 2 606 1 5 12 11 9 37 106 2 2 2 2 2 2 16 14 29