Displaying 20 results from an estimated 8000 matches similar to: "Regarding Inp place editor"
2009 Aug 11
1
[PATCH server] remove appliance bits
This removes the appliance configuration bits from the installer and associated files since it has been deprecated
---
installer/modules/ovirt/files/cobbler-import | 6 -
.../modules/ovirt/files/ovirt-appliance-setup | 4 -
installer/modules/ovirt/files/ovirt-storage | 73 ----------
installer/modules/ovirt/manifests/appliance.pp | 152 --------------------
4 files
2006 Jun 09
0
bizarre problem
Hello,
I have following code in a helper:
def custom_ajax(link, options)
target = "target_" + options[:target_id]
loading = "loading_" + options[:target_id]
visible = "visible_" + options[:target_id]
#options[:url] = {:inline => 1 }.merge(options[:url])
test = {:inline => 1 }.merge(options[:url])
link_to_remote(
link,
{
2006 Mar 12
0
NameError when trying to combine Recipe 14 (rich HABTM) & Rec. 10 (self-ref HABTM):
Hi all,
I''m trying to model self-referential relations between people, where the
relation has attached data.
John ''works for'' Bob
Problem: '':through'' doesn''t work, and generates a NameError.
=> the models :
Person (attr: name)
Relation (attr: source_id, target_id)
(more details below)
ex: John ''works
2007 Jan 11
2
In-place editor for a whole form?
I want to implement in-place editing for a hierarchical structure where
the nodes are not simple text fields, but need to be represented by at
least two input elements.
The Rails helpers only support in-place editing for a text field,
scriptaculous''s controls.js beyond that implements support for an
in-place editor containing a select element. I need an editor where I
essentially
2006 Feb 08
1
render_component vs. render_component_as_string?
I''m calling render_component in a helper.
render_component :controller => target_controller, :action => "show", :id => target_id
This works fine, except that passing the id in :params didn''t work and
I had to pass in an explicit :id parameter to get the target
controller to override the id - is that documented anywhere?
That''s not my question. My
2006 Jul 12
2
Can''t get observe_field to take a variable for a field name
The subject pretty much says it all: I can''t?get observe_field to take a
variable for a field name
I''ve tried:
<%= observe_field(var_name, ...
<%= observe_field("#{var_name}", ...
<%= observe_field(:"#{var_name}", ...
No luck.
Am I missing something?
Thanks,
: )
Jason
--
Posted via http://www.ruby-forum.com/.
2010 Feb 08
1
can use use observe_field with a 3rd party server?
Hi-
I''m trying to implement an auto-complete using Yahoo''s autocomplete
server, which basically suggests search completions:
http://ff.search.yahoo.com/gossip?output=fxjson&command={your
searchterms}''
if you want to see the results in your browser, use xml instead:
http://ff.search.yahoo.com/gossip?output=xml&command={your
searchterms}''
So, I can
2008 May 07
1
Assigning to the foreign key on a belongs_to association
I''ve encountered what seems like an odd omission in the behaviour of
belongs_to associations: if you assign to the foreign key attribute,
it doesn''t update the associated object (or mark a previously loaded
one as stale) until you explicitly save or reload it.
Let''s say we have a Company model, which belongs_to :city :
>> torchbox =
2006 Oct 18
1
observe_field, GET method and RESTful controllers
Hi all.
I am trying to work with restful rails and have come across a quandry
with observe_field.
I basically want the observe field to call a show action on a restful
controller. However I am unable to do so because I cannot get the damn
thing to use the get request properly. If I use the following:
<%= observe_field("project_selector", :update =>
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 04
0
Does observe_field work with date_select?
I can''t get observe_field to do anything with my date_select. Here''s the
rhtml code:
<%= date_select ''course'', ''lab_start_date'' %>
<%= observe_field(:course_lab_start_date, :frequency => 0.5,
:update => :course_lab_start_date_div, :url => {
:action => ''preview_text''}) %>
My
2006 Apr 24
0
observe_field inside of a form?
Hi I''ve just started experimenting with AJAX in Rails and have come
across this issue.
I''m trying to set up some ajax form validation on a login form. I set
up an observe_field method for the username field but the action for
the containing form is being called and rendered instead of the
action I specify in the observe_field method.
All of the observe_field examples
2003 Sep 27
1
regarding audio codec
hello sir,
Iam presently working on ogg vorbis audio decoder for ADI family of processor for ADI solution provider company in india. I would be happy to know, the format of each frame of encoded file. Iam using the decoder_example.c file and with that i have added all the associated files. Initially iam simulating in Visual C++ Environment. After checking through that i would be cross compiling
2013 Sep 30
2
[PATCH v2] core: Check size of ldlinux.sys at building time.
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
v2: Extract ADV_SIZE automatically from libinstaller/setadv.h.
Calc the size of ldlinux.sys from ldlinux.bin, and check if it exceeds the limit.
ldlinux.sys must fit between the bootsector and two copies of ADV whose size may vary.
Thus, the size of ldlinux.sys can be at most: 65536 - 2 * ADV_SIZE - 512 (limit).
Certain file systems
2007 Sep 17
1
observe_field and :function
Hi,
I m using the observe_field helper with the :function attribute.
If I do the following everything it works without any issue:
<%= observe_field ''select_gender'', {:function => "(value == ''2'') ?
$(''record_ohrmarke'').value = ''a boy'':
$(''record_ohrmarke'').value = ''a
2008 Dec 22
2
how to use the observe_field to get more than one field?
Hi,
I have two selctdropdown boxes name like "resolution" and "codecname".
Now i am able to get the single field value either from resolution or
codecformat select box.
ex:
observe_field ''resolution''
or
observe_field ''codecforamt''
is there any way to get the two fields in to the observe_field method ?
Can anyone give me suggestionfs or
2006 Jul 20
1
Ajax and observe_field not updating specified DIV
I have a page that has a dropdown which i''m using observe_field on to
make an ajax call back to my controller. The page initially displays
fine. The method is invoked in my controller when i select a choice in
the dropdown and I have an rjs file which is then invoked. The rjs file
looks like this:
page.replace_html ''embed_calendar'', :partial =>
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
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
2003 Nov 28
1
regarding vorbis
hello
iam satish and working on ogg vorbis audio decoder for blackfin processor as a part of my masters project. i would like to clarify certain doubts regarding the algorithmn, like floor, residue, LPC and LSP. iam studying through the documents posted in your website. But, still i need some help and understanding regarding the above topics. What exactly do you mean by floor, residues etc..,