Displaying 20 results from an estimated 2000 matches similar to: "Question on selection box"
2005 Sep 09
1
meaning on active record error message
Hi everyone,
I received an error message as below:
Couldn''t find Project with ID in (''--- :all'',''--- \n:order: number ASC'')
and it point to a statement in my controller:
@projects_by_user = @an_user.projects.find(:all, :order=>"number ASC")
I checked the log file, it seems the sql statement is executed with returned result. Would
2005 Aug 26
0
localhost kernel: unregister_netdevice:waiting for tun0 to became free
Hi list,
I use xen-unstable download by hg on 8.24, i create a guest os "freedos", it just display a black screen. Then i destroy the guest os by "xm destroy",I closed. And then message jump out:
===========================================
localhost kernel:unregister_netdevice:waiting for tun0 to became free. Usage count=1
Message from syslogd@localhost at Fri Aug 26
2005 Jul 25
1
Error in xend start of xen-unstable
xend cannot start with error:
...ption starting xend: ''module'' object has no attribute ''VIRQ_DOM_EXC''
Traceback (most recent call last):
File "/usr/lib/python2.3/xen/xend/server/SrvDaemon.py", line 304, in run
self.createFactories()
File "/usr/lib/python2.3/xen/xend/server/SrvDaemon.py", line 319, in createFactories
2006 Feb 17
4
Best practice for showing errors AND updating list
Morning/Afternoon/Evening All,
This is my first post to the ruby message board so if my request is
better suited to another location just let me know,
The problem I keep coming up against is with a listing of objects and
updating that list via AJAX (for arguments we are talking about a list
of users).
As it stands I can currently submit a form, and update the list
(using :update
2010 Jun 04
6
Ajax fails in IE8
hi guys,
I am testing a new optional funtionality in my site with IE 8 after
success with Firefox 3.6.3, chrome and safari.
The new functionality basically sees a "sub category" drop down list
get generated in my form as soon as a "Category" value is selected
from the "Category" drop down list.
I have been using the standard rails api such as observe_field, and
2013 Mar 05
0
postfix+dovecot+samba4+openldap: dovecot lda:Error: user sammy: Initialization failed: mail_location not set and autodetection failed
I'm trying to setup a samba4 with openchange which uses
postfix+dovecot+openldap on a ubuntu 12.04.2 system. I can send outgoing
emails but incoming emails fail. I looked up the logs and I get:
Mar 5 11:03:48 testerA dovecot: lda(sammy): Error: user sammy:
Initialization failed: mail_location not set and autodetection failed:
Mail storage autodetection failed with home=/var/mail
Mar 5
2006 Jan 18
4
That ol'' AJAX select box update again : observe_field does nothing
Hi,
I know this has been asked a million times before - but I still don''t
really get it. CAn someone please tell me what''s up with the following;
In a view I have (apologies for the formatting);
<td>
<select id="job.job_phase_id" name="job[job_phase_id]"><p><label
for="job_job_phase_id">Job
2006 May 19
1
how to access ActionView::Helpers::JavaScriptHelper::escape_javascript in a model (a newbie question)
Hi all,
Please forgive me for this newbie question. But I really want to know how
how to access ActionView::Helpers::JavaScriptHelper::escape_javascript
method in a model.
I can access this method in view, but when call it in the model, it ends up
with undefined method.
It seems to me they are in different scope.
So what''s the best way to access view helper methods in model.
--
2006 Aug 07
2
Select Box Question
Hi,
Yet another newbie here... I''m writing an appliction in Rails, and I''ve
Ajaxified my select boxes so they update dynamically. I used the
"observe_field" method to monitor changes to my select box. I find that
it''s kind of erratic... it updates constantly and makes the selection
for me, based on where my mouse happens to be hovering when it does its
2003 Nov 20
0
(no subject)
Hi All,
I'm trying to migrate from an NT4 domain to samba-3...
sorry this is so long...
when I run the "net rpc vampire" I get errors for users and machines
in uppercase or contain uppercase chars.
I'm in a test env before I go live!
I'm on a gentoo distro w/ shadow.
useradd FOO errors, this might be the culprit...
I set up some dummy accts and made them members of
2003 Nov 20
0
problems with uppercase in usernames
Oops, forgot to put a subject... apologies for the repost... (newb!)
> Hi All,
>
> I'm trying to migrate from an NT4 domain to samba-3...
> sorry this is so long...
>
> when I run the "net rpc vampire" I get errors for users and machines
> in uppercase or contain uppercase chars.
>
> I'm in a test env before I go live!
>
> I'm on a
2009 Dec 17
2
multiple usb apc smart ups with nut?
Hello everybody,
I got tree UPS devices connected to a Debian server, and i am
searching for a way to configure them.
The server power-cord is only connected to one of the ups devices, and
should monitor the other ups systems to sent email status.
I got a HP R3000XR UPS with has a RS232 communication port that I have
working perfectly.
Then I have two APC SmartUPS 750V devices that are
2006 Jul 27
1
Update second pulldown menu based on first menu selection?
I know I''ve seen this somewhere on this board and just can''t search it
anymore.
I have three relational tables: clients, projects, and tasks. Currently
I''m working on customizing the ''new/edit'' task _form. So far I have it
listing clients in a pulldown menu so I can assign the new task to a
client. I''d like to have a second pulldown select
2009 Oct 11
1
Problem with symlinks
Hi,
currently I'm trying to extend my existing backup concept but I have
issues due to symlinks.
rsync has problems with symlinks. First some background information:
I regularly back up my / and /home from my desktop PC and my netbook to
my Synology DiskStation (500GB) using rsync 3.0.6 with this script:
http://pastebin.com/m43d4e353 . This works without any error messages.
On the DS
2006 Aug 10
7
Radio Button events
Hi,
I have observers for a group of radio buttons, an observe_field for each
radio button (I think its not possible to have one observe_field for a
group of radio buttons).
Now, the problem is that when I click on one radio button, all the
observers get trigerred, so the method which the observe_field calls
gets the wrong result. I just want that method to get the radio button
that is
2008 Jun 19
5
observe_field
I have been trying to pass a collection_select parameter and a text field
parameter to observe_field so that it watches both the parameters
simultaneously.
but what i can see is , when i select some value from drop down and dont
write anything in text field its giving correct results.parameters are also
correct passed, but just after that if i write something in text field that
value also get
2006 Jun 27
2
Bug in Firebug or in RJS? Or something else?
I''m getting a really strange result using RJS page.replace_html and wonder if anybody knows anything that could help me figure it out.
I''m rendering a partial in a loop in edit.rhtml that puts a set of <div>s on the page, each <div> containing a checkbox_tag with an associated observe_field and a text_field_tag also with an associated observe_field. When the
2005 Dec 31
4
observe_field with dynamic forms
I have a form where I dynamically add form elements based on user input.
An example is that when a user selects a "server" from a select box I
add (via AJAX calls back to server) a "type" select box pre-populated
with valid choices for that server. I do this by using observe_field on
the "server" field and update a div on the page with the new "type"
2006 Apr 12
22
Dynamic Select Box
Hi,
I''m new to rails/ruby having come from PHP and am just starting to get
my head round how easy it can be :)
However, can anyone point me in the right direction for dynamicaly
updating a select box based upon the choice of a previous select box,
without a page refresh.
Any and all help greatly appreciated.
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jun 28
3
observe_field and radio button... does not work?
I try to catch click event on radio button, but nothing is executed....
Tested with RoR 1.1.2 and 1.1.3. What am I doing wrong?
<%= radio_button_tag(:city, ''Dublin'') %>
<%= observe_field(:citi, :frequency => 0.5,
:on => ''click'',
:with => "''city='' +