Displaying 20 results from an estimated 10000 matches similar to: "CentOS 5 Issues Booting Under VMWare"
2006 Jul 03
9
checkboxes
in the mean time i am using a checkbox like this :
<input type="checkbox" name="var[car]" <%= var.car ? ''checked'' : ''''
unless @var == nil %> />
but i am sure there is something better than this in rails like
<%= checkbox_tag ''var'', ''car'', :checked => true %>
but this is not
2006 Apr 04
6
check_box_tag is limited?
Hello all.
Am I going totally nuts here and just want to check (Natch!) something.
A normal check_box has two value posssibilities. One for checked and one
for unchecked, the value gets submitted with a form.
The check_box_tag on the other hand, has a checked_value (Called just
''value'') and for the unchecked value...nothing, zip, nada.
This means that if you submit a form with
2006 Jun 04
4
Multiple checkboxes
Please could someone suggest what might be wrong here. In my view I''m
displaying a series of check boxes and when the form is submitted I want
the controller to iterate over the values and contatenate them all into
a string "1" if the box was checked and "0" if it wasn''t.
I''m new to Ruby and Rails and I can''t seem to get any values out of
2006 Jun 27
19
Event.observe
I''m not sure if I''m understanding this correctly.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
Event.observe(''mes_appearance_s0'',
''onchange'', function(e){ alert(''changed me!'') });
Event.observe(''headinjury'', ''click'',
function(e){
2007 Aug 16
7
Xen/VMWare co-existence?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I''ve been working on a project recently which we want to virtualize. It
runs on Windows Server 2003, so my first attempt was to put it in a HVM
domU. Sadly, this application requires network performance higher than
HVM is seemingly capable of. In the absence of PV drivers for Windows,
I tried running it on VMWare instead, and I
2006 Jul 04
1
Has_many :through with checkboxes?
Just when I started getting the hang of has_and_belongs_to_many
relationships, I realize that I should probably convert several of my
app''s joins to has_many :through type relationships.
One example, pairing users with categories via subscriptions, where
each user can be the "owner" of a category, has given me particular
trouble when I try to update a user''s
2006 May 01
3
Make a checkbox checked based on a condition?
I have a series of checkboxes in a form generated as follows:
<% for user in @active_users %>
<p><%= user.firstname + " " + user.surname%>
<%= check_box ''assigned_tasks'', ''user_id'', {:index => user.id},
user.id, nil %></p>
<% end %>
I''d like to have one of them selected when user.id is equal to the
2006 May 31
2
Checkbox Help
Hi guys,
I am need to help again. Sorry for the newbie query but would definitely
appreciate the help.
Here''s the q: I generate a list of items from the database and render
them out with a checkbox beside them. A user may click more than one
item and I would want to save all checked items into another table. I
have been able to give each checkbox a unique id . Would anyone be able
2009 Oct 06
1
Problems Processing multiple form elements generated by javascript actions
Hi all,
After many days of struggling, I have a multi-model form with ajax
elements more or less working, but I''m hitting a wall with a few bugs
that I can''t figure out. Guidance would be very much appreciated.
I''m using the Ryan Bates technique from Advanced Rails recipes to
dynamically add and remove elements on a multi-model form.
2010 Oct 08
2
vfs_acl_xattr issue
Hello,
I'm using samba 3.4.8~dfsg-2 with "vfs objects = acl_xattr".
[share]
path = /home/users/xxxx
valid users = xxxx
read only = No
create mask = 0666
directory mask = 0770
vfs objects = acl_xattr
Here is my problem, i'm connecting to my share, which have a folder
'f01' with some acl.
I created a folder and broke inherit 'f02'.
2006 Mar 23
1
Problems Formatting /boot With CentOS 4.3 on a DL360 G3
I have been trying to install CentOS 4.3 on an HP DL360 G3 (with dual
Xeon 3.2 GHz, a Smart Array 5i, and two 36 GB disks doing RAID 1
mirroring). I''m doing all defaults (including the disk and LVM setup)
and using the "Minimal" checkbox at the bottom of the Custom machine
type package selection screen, so it''s a very "vanilla" install. It
zips through the
2008 Dec 09
4
HABTM checkboxes insert but don't delete
I have a problem related with the HABTM relationships with checkboxes.
I''ve got a profile and a service model, both related with
has_and_belongs_to_many.
The problem is that i can insert new data in the profiles_services
table, however, i cant delete already existing data.
What could be the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 Feb 09
3
CentOS 3 vs. CentOS 4 Memory Utilization
I'm helping some folks who have a CentOS 3 i386 server with 512MB of
RAM. The output of 'free' looks like:
$ free
total used free shared buffers cached
Mem: 511428 497956 13472 0 29868 178280
-/+ buffers/cache: 289808 221620
Swap: 2040244 120644 1919600
The box does not even have X installed...
2006 Feb 05
1
Check/uncheck all checkboxes
Hello!
I have this page where I list all users in a table. There is checkbox in
every row. My User-model has a "checked"-attribute.
I have implemented the checkboxes like this:
<%= check_box("user[]", "checked") %>
Which outputs this:
<input id="user_12_checked" name="user[12][checked]" type="checkbox"
value="1"
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance.
Although I have many years of experience in general, including cross-
platform processing, I am not an HTML/Javascript programmer. As a
result, I do not have certain specific baseline skills and/or knowledge
that are presumed in the Rails and Ajax documentation.
I am experienced with DOM manipulations, so the bare mechanics of
manipulating the browser GUI via Javascript
2009 Jun 28
1
CheckBox and Ruby on Rails
I have two questions:
1. I have a checkbox on a form and after submit I need to check the
status of the checkbox. Any idea how to see what the checkbox is set
to? I am assuming this must be done in the controller or model but
cannot figure it out.
2. On load I am checking for a cookie and need to determine if the
checkbox should be checked or unchecked. Is there a way for me to do
this from
2006 Feb 16
5
filter a list
I''d like to add some filter choices to display a list of items. These
items has some boolean fields for example, and would like to have a
checkbox at the top of the window to let me select how to filter the
list.
here''s what i put in my controller
if @params[:filter].nil?
@params[:filter] = { ''sent'' => "1"}
end
... generate the corresponding
2007 Mar 30
10
check_box_tag not passing 0 when unchecked?
Code:
<%= check_box_tag("person[#{person.id}][is_approved]", 1, true) %>
Rendered output:
<input checked="checked" id="person[7][is_approved]"
name="person[7][is_approved]" value="1" type="checkbox">
Problem:
The value of "1" is always passed, even if the box is UNCHECKED.
Suggestions? Thanks!
--
Posted via
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check
boxes.
Here is what I have below. I am getting this error each time:
Error: document.myform.add_visit_for_this_Pt has no properties
Source File: http://localhost:3000/AddPatientVisit/addvisits
Line: 1
Strange that I can''t seem to pass value into the function.
Thanks for your help!
<SCRIPT
2006 Apr 13
7
Whats the best way to achieve this?
employees HABTM projects, projects HABTM employees.
I am doing a permissions page for a selected project. I know that I can
get all of the employees in the system (@employee.find(:all)) or get all
the employees for the selected project.
What i''m trying to do is get a list of all the employees in the system
and have a check box that states if they are associated with the
current