Displaying 17 results from an estimated 17 matches similar to: "observer_field - select form"
2006 Jul 23
1
some question about ''observer_field''
Is the observe_field (ActionView::Helpers::PrototypeHelper )
can be apply to any html tag? (such as div)
I tried to apply ''observe_field'' to observe the content of
<div> tag, but, as the observed <div>''s content was changed,
there was nothing happend.
for example (in test.rhtml):
<%= link_to_remote "test", :update=>"content1",
2006 Nov 04
4
how to get observe_field to use GET method?
Hi All.
I am trying to set-up observe_field so that it uses the GET method (To
work with a RESTful controller).
<%= link_to_remote("Test", :update => "main", :url => { :controller =>
"projects", :action => "show", :id => "3"}, :method => "get" ) %>
<%= observe_field("project_selector", :update
2006 Jun 28
1
accessing multiple observe_field from one callback
I have a form that has 4 text_field entries, each one with an
observer_field and i want to access the data that is currently inserted
on every field from the :update method for each field. i tried using
instance variables but it appears that each text_field creates an
instance of the searchcontroller for its own.
I also tried using the :with => "something" on the definition of the
2006 Aug 16
8
Multiple (AJAX) Observers on the Same Field and MSIE
I have been using multiple observers, i.e., observe_field(), on the same
input field and relying on them to execute in the same order that they
appear in the page. This has been working fine in FireFox, but it does
not seem to work in MSIE; the requests come in and are processed in a
different order. Now, I''ve always been a little hesitant about using
this technique, but it always
2006 Jul 11
9
problems with observe_field
Hi all, I''m having problems with an observe_field, this is the view:
<%= form_tag %>
<div id="content">
<p>Customer:
<select name="cliente_id" id="cliente_id">
<option value="">Select a customer</option>
<%= options_for_select Cliente.find_all.collect {|c| [c.razon_social,
c.id]} %>
2006 Aug 16
0
Multiple observer
Hi
I have three drop downs (State, City, Locality) and would like to
populate
City based on State selection and Locality based on City selection.
I have observers on two fields (State, and City). The observer_field on
state
works fine and it populates city based on state selection. But the
observer
on city doesn''t populate Locality. Now sure whats wrong with my code.
here is the
2006 Aug 17
0
AJAX - Having Multiple SELECT (Drop Down), and dependency
Hi
I have three drop downs (State, City, Locality) and would like to
populate
City based on State selection and Locality based on City selection.
I have observers on two fields (State, and City). The observer_field on
state
works fine and it populates city based on state selection. But the
observer
on city doesn''t populate Locality. Now sure whats wrong with my code.
here is the
2006 Mar 23
0
Newbie - populating select list from db - BUMP :)
Hi!
in the same problem with a select with some values from db:
the following select in test.rhtml:
<%= select(:listSetting, :code, @listSettings) %>
where
@listSettings = ListSetting.find(:all, :order => "code").map {|u|
[u.code, u.id] }
i have an observer_field defined in test.rhml as below:
<%= observe_field("listSetting_code",
:update =>
2009 Apr 24
3
Wine 1.1.19 fonts problems
Hi,
I've installed wine 1.1.19 (devel version, with ./configure, make depend && make, make install) and the fonts are weird. Bellow, some pictures:
http://img401.imageshack.us/my.php?image=79558893.png
http://img123.imageshack.us/my.php?image=cs2z.png
The fonts dir
Code:
ls /home/wiltave/.wine/drive_c/windows/Fonts/
Andale_Mono.ttf LiberationMono-Italic.ttf
andalemo.ttf
2006 Mar 22
4
Newbie - populating select list from db
Can''t seem to find an example of this anywhere - how do I populate a
select list in a form from a database?
I have a form to create a new task. The task is for a client, so there
should be a select list populated from my clients table. I thought this
would work:
<%= select ''task'', ''client_id'', Client.find_all, "id", "name"
2009 Jul 23
1
$ sh winetricks dotnet11
Hi there,
I am trying to install Microsoft Visual C++ Toolkit 2003, it fails with:
$ wine VCToolkitSetup.exe
fixme:advapi:LookupAccountNameW (null) L"mathieu" (nil) 0x33f80c (nil)
0x33f810 0x33f804 - stub
fixme:advapi:LookupAccountNameW (null) L"mathieu" 0x12fd98 0x33f80c
0x12f828 0x33f810 0x33f804 - stub
fixme:msi:ACTION_HandleStandardAction unhandled standard action
2007 Oct 05
4
Ajax request on page load
I''m trying to do something rather simple (I think) but being new to
rails, I''m not sure how I should proceed...
What I want to do in simple terms is: When the my page load, get some
data from a table (let''s call that table items).. so I want to get all
my items, and display them in a div... I want to do it via Ajax because
I want the user to be able to filter this data
2013 Apr 30
0
Extrafont package: Fonts are not successfully installed
Hi,
I am using Extrafont package to install more fonts for my graphs. My
primary graphic tool is ggplot2. I seem to have problem installing the
package, but could not pinpoint where it is.
I try to follow the instruction here:
https://github.com/wch/extrafont
I guess (but am not sure) the fonts are successfully installed.
Problem encountered:
1. The following line sometimes yields an
2006 Feb 28
1
Better fonts in wine?
I'm using wine 0.9.7 from the extras repository on Fedora Core 4. I've
installed a windows program using wine. The program works very well;
however, the fonts it uses are ugly and difficult to read. The rest of
my system (KDE) uses smooth, beautiful, anti-aliased fonts, and this
windows program is the only exception.
I read the FAQ on the wine homepage, and it says to copy the
2007 Aug 24
9
Absolute Beginner''s Guide
I''ve got about 40 linux/aix machines that I''d like assimilate into
config management with puppet. I''ve been reading lots of docs, recipes
and best practices. I''m wondering if there''s a guide somewhere that
lays out the most efficient way to spread the use of puppet across a
quantity of installed machines. I''d like to do first things first,
2010 Sep 20
5
Strange Font
So anyway, I have been using linux for years now, currently Fedora 12, and just recently I opened a box and found several of my old windows games. Starcraft, Heroes, Age of Empires, Stronghold, etc, some of which I installed.
Then I came to Masters of Orion. This game I figured my crappy netbook could handle, and I get a bunch of "??????????" s in place of the actual text in the
1998 Sep 11
1
R-beta: cannot make R
Can anyone help?
I am trying to install R-0.62.2 on a Sun with OS 5.6 (Solaris 2.6),
and gcc/f77. Unfortunatley the simple commands
./configure --prefix=/opt/R
make
did not work, complaining when building help/docs.
It claims to have problems perl (which has worked fine so far)
but in practice it is not only a documentation problem:
if I force "make install" and run R, then it