similar to: dynamically updating a listbox from another listbox

Displaying 20 results from an estimated 100 matches similar to: "dynamically updating a listbox from another listbox"

2006 Jun 20
1
Extending RJS
Is it possible to extend RJS and create another object, like ''page''? I''m trying to create a customized RJS for my own javascript library. Thanks in advance -- Posted via http://www.ruby-forum.com/.
2007 Oct 05
7
Trouble with text_field_tag
I am trying to implement a basic login page: login.rhtml 1 <fieldset> 2 <% form_tag do %> 3 <label for="name">Name:</label> 4 <%= text_field_tag :name, params[:name] %> 5 <label for="password">Password:</label> 6 <%= password_field_tag :password, params[:password] %> 7 <%= submit_tag
2009 Feb 23
1
Listbox in R
I am trying to display a set of listboxes in a systematic manner. For instance, I display Listbox 1, let the user pick the parameters of interest then destroy it. Now I display Listbox 2.... and so on. So in essence I would like to create listboxes in a "for -loop". When I try to loop - all the listboxes are displayed simultaneously and nothing works properly - any comment on how to
2008 Mar 02
2
check_box_tag remote_function
I have a collection of check_box_tags that look like the following: <% for item in @items %> <%= check_box_tag "item[item_ids][]", item.id, false, {:onchange => remote_function(:url => update_items_path, :with => "''items='' + escape(value) "} %> <%= item.name %> <% end %> My question is, how do I send all of the current
2006 Jul 17
3
Best practices - field initialization based on display rules
All, I have a form with the following field interaction rules. Given checkbox A, text field B text field C If checkbox A is checked then make text field C equal to the value of text field B and disable field C. If checkbox A is unchecked then enable field C. In order to display a form where I''m manipulating an already existing object, I have something like this in my RHTML template
2007 Mar 06
1
Smart forms in Rails?
I am working on a project that needs a "Smart Form" type of system. That is, we need to have a Form Template system that chooses what elements of the form are displayed based on how the user answers other elements of the form. Does that make sense? Can anyone point me in the right direction? -- Posted via http://www.ruby-forum.com/.
2006 Aug 13
4
has_many and foreign_key question
Alright, noob here, etc. etc. Trying to figure out the has_many usage. If I understand correctly, when you declare that a table/class has_many whatevers, the rails assumption is that there will be a foreign key in the whatevers table pointing back to the ''id'' primary key in the first table. This doesn''t seem to be the only way to have a ''has_many''
2001 Feb 22
2
Problem with tcltk listbox
Hi! I've got two problems with listboxes and selection: I created a listbox, no problem. Then I bind the Button-1 of the mouse to the listbox to start some things by pressing the mousebutton. The proiblem is that as I click a item of the listbox this error occured: Error in .Tcl(.Tcl.args(...)) : [tcl] bad listbox index "": must be active, anchor, end, @x,y, or a number. Repaeting
2006 Jun 14
0
krjs plugin: a different way of doing RJS
Hi guys, Just wrote a simple plugin, krjs<http://plugins.radrails.org/directory/show/70>, that introduces kind of a VB-event-style of writing RJS apps. You introduce Ajax behaviors into your application by defining event handlers ( e.g. on_form_submit, on_password_change) in your controllers instead of explicitly doing remote_form_tag or link_to_remote in the views templates.
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 21
0
[ wxruby-Bugs-6810 ] Wx::ListBox.get_selections does not return selected items
Bugs item #6810, was opened at 2006-11-21 22:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=6810&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Kevin Smith (qualitycode) Summary: Wx::ListBox.get_selections does not return selected items Initial
2007 Nov 15
0
Code for Listbox object bulk adding
Hello! Attached is a method to bulk add arrays to a list box, when the array isn''t a string array. Feel free to add it to wxSugar. Example: arr = [[Wx::RED, "Red"],[Wx::GREEN, "Green"],[Wx::BLUE, "Blue"]] listbox.insert_obj_items(arr, "[1]") ...would add 3 list box items with "Red"-"Green"-"Blue"
2011 Aug 10
1
Listbox Question - Danish accounting program SummaSummarum
Dear Wine board. This is my first Post. This wine bug has been bothering me for two years now so now i think it is time to try and have it fixed. The first step is to figure out how to phrase my bug with the correct terms. As I don't know the names of the widgets since I haven't developed windows-application for some 10 years, I hope that someone will look at my screencast which i recorded
2002 Jun 09
1
Scrollable Listbox?
Hi, Using the functions in the tcltk library (R1.5.0 Windows, tcltk v1.5.0), does anyone know a simple way to create a list box with a scroll bar? I'm stuck on what to supply to the -xscrollcommand in order to do this but I might be on the wrong track. Best wishes, Jess _____________________________________ Jess Mar Department of Mathematics University of Queensland QLD 4072 AUSTRALIA
2010 Mar 01
0
Multicolumn Listbox selectcommand trouble
Hey folks, This is my first message to the mailing list so please let me know if I mess something up. I'm trying to use the selectcommand for the mclistbox but I'm not very adept at using functions. Ideally I'd like to change the editor text when a different list item is selected but any help using the selectcommand would be appreciated and I think I could get the rest working.
2006 Oct 21
0
tcltk: multiple listboxes, selection
Dear list, I have multiple (BWidget) listboxes in the same toplevel window. The problem is, if I select (by left clicking) on one of those listbox elements, the current selection in the *other* listboxes is cleared! Anybody knows how I can prevent this? Here's my code (sorry not complete): (E.g. If I select an X value, I'd lose the Y value I selected before) gui.create.tab.general <-
2006 Nov 24
0
[757] trunk/wxruby2/samples/bigdemo/wxListBox.rbw: Made presentation of results of ListBox.get_selections clearer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 31
3
country listbox from table
sorry again, i''m building a registration form, getting stumped on the country listbox. any ideas how i could build a listbox for countries, taking it''s content from a data table? i''d imagine i''d have to generate a data model for country, fill it in with all the current ISO spec countries; that i can do. then tie that data model to the account controller.
2006 Nov 23
0
[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: