Displaying 20 results from an estimated 90 matches similar to: "Combobox"
2009 Apr 14
6
About haml and ruby on rail
hi all,
I am converting my view into HAML format i have done it with
"Html2Haml" command, then I removed all the "- end" from haml code and
my indentation is also correct,but now it shows following errors
I have kept code of show.html.erb and show.html.haml in attachment.
please help me I am not getting what exactly the error is?
compile error
2006 May 28
0
Fill a combobox with image paths
That, i have a bunch of images on my public/images/items folder and i
want to be all listed on a combobox so when i select one image from the
combo it be displayed inside a <div> tag, i dont know if its easier get
the physical path or have a table with the image paths.
also i have a list of items with name, description and image assigned so
im looking also in how i can edit the items to
2006 Aug 25
0
Patches to ComboBox and ControlWithItems
This patch fixes Append and Insert so they work with the void *
argument. The typemap for this was fixed a long time ago, I guess these
changes either never got uploaded by me or I hadn''t gotten to these.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold.
In the file house_helper.rb I have written the code:
def house_form_column(record, input_name)
...
list = House.find(:all, :include => ''city'')
new_list=...
...
list do |element|
if record = element.name
selec=element.id
end
end
select_tag ''X'',options_for_select(new_list, selected=selec),
2014 Apr 19
0
How to has_one/belongs_to association only return the objects unassociated in combobox?
I have two models (Car and Driver) and a combobox to select which driver
belongs to which car. I want the combobox just show the objects that have
not yet been associated.
# vehicle belongs_to: driver
# driver has_one: vehicle
# simple_form # vehicle/_form.html.haml
= f.association: driver, label_method: :name, value_method: :id
How to ensure validation before saving, to avoid problems of
2011 Oct 06
0
initial value in ComboBox tkwidget
Hello,
I took me very long to find out how to set the initial value in the combobox
widget in tk (see the example below). My question is now : Why does
"textvariable" has to be a tclVar while "values" can be a normal vector? My
next question is: How could I have known this much earlier? Is there a
documentation for the tcl/tk usage in R? I know a lot of website with
example.
2007 Dec 14
0
combobox and m:n relation
Hi,
i have a project and a task. both have a m:n relation to each other. I
made a scaffolding and want to insert a combobox in the task new view
Code : ruby - fold - unfold
<label for="project_name_ger">Poject</label><br/>
<%= select "task[projects_id][]", "project_id",
Project.find(:all).collect {|c| [c.name_ger,
2009 Oct 19
1
Combobox population by means of JQuery and Ajax.
This is the view municipalities.js.erb I have:
<% list_opt = options_from_collection_for_select(@municipalities, :id,
:name) %>
<% puts list_opt %> #ok! list_opt contains the options
$(''#municipality_id'').html(''<%= list_opt %>'');
and this is the combobox in the view:
...
Comune <select id="event_municipality_id"
2011 Sep 30
1
Related combobox
hello,
i have 3 comboboxes, i want to load 2nd combobox based on the
value selected in 1st combobox. and 3rd combobox should be loaded
depending on the value selected in the 2nd combobox.
i have used observe field for 2nd and third combobox , it works
for the first combobox but not the second one.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2003 Mar 27
0
R TclTk iwidgets::combobox
Thanks Peter,
I've started a new R session (in Windows) and managed to get
both ways working now :
### THIS WORKS !!! ###
library(tcltk)
tclRequire("IWidgets")
tt<-tktoplevel()
combo <- tkwidget(tt,"iwidgets::combobox")
tkpack(combo)
### AND THIS WORKS TOO !!! ###
tt<-tktoplevel()
win <- .Tk.subwin(tt)
2006 Aug 09
1
tk combobox question
Hello!
The IWigdets::combobox has an option "selectioncommand" to specify a procedure
which is called when an item in the combobox is selected.
Does ComboBox from Bwidgets have an equal option or is there a simple method to
do thi? I haven't found one but i would like to use Bwidgets instead of Iwidgets.
Another question which should not be a problem, but at the moment I just
2008 Jun 17
0
setvalue of a combobox
if I wanted to set the value of a combobox
tt <- tktoplevel()
box <- tkwidget(tt,"ComboBox",values=c(1,2,3))
tkgrid(box)
tcl(box,"setvalue","first")
does anybody know how I would access an index other than the first? as second, and numbers do not work..
thanks in advance
Andreas Posch
2009 Dec 16
0
Regarding Combobox
We have taken a combobox and filled in with names of states. we want
that after selecting name of state, state id should be pass to same
page.
Thank you.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from
2012 Aug 26
1
to clear combobox value....
As i m using tcltk package for GUI designing ttkcombobox command helped me in
creating combobox...
but, i need to create an application where after i click on *"clear all"*
button the values in combobox should be cleared,
but i am not knowing what should be written in the command function of a
button, so that the selected value of combobox should be cleared or come
back to its default
2005 Nov 24
1
Autocompleting combobox: fact or fiction?
Hey,
I''ve got a script.aculo.us autocompleting textfield that works
wonderfully, but how do I make the value of the selected option submit
with the form...for that matter, do autocompleting textboxes have
''option'' tags, or is what I want to do simply impossible 8[
Thanks,
Gustav
gustav-Y7mMFpLgOV2wB/GGPSRsq0B+6BGkLq7r@public.gmane.org
--
Posted via
2011 Sep 01
2
Partial Page update and related combobox
hello,
I am doing a rails project and i am new to rails, am stuck
with some problems.
1) I have a div container at the left side of the page just like
a sidebar which contains different links. And the right side of the page
is meant to display the content, which is also a div container . When i
click any of the links in the sidebar respective pages must be displayed
in the right
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in
width depending on the length of the selected entry in the list. This is
a problem when the list contains items of varying width, because if a
short item is picked then the longer entries are obscured in the
drop-down list.
Is this deliberate, an oversight, or a bug? Its certainly not how I''d
choose it to act. Is
2007 Mar 21
0
[909] branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl: Correct disambiguated method names in methods listing
<!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 Apr 23
5
ComboBox patch files
The following two files correct problems with the ComboBox
implementation. You will also need my typemap.i.patch file
(forthcoming) in order for the void * typemap to work properly (I think).
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2009 Feb 18
3
Validation and ComboBox
I''m trying to make a ComboBox that can be typed into but only accepts
entries that are already in the drop-down list. I hoped a combination of
the CB_DROPDOWN style and a TextValidator with the FILTER_INCLUDE_LIST
would make that happen, but the validator seems to be ignored. Is that
combination supposed to do what I want? If so, please review the code
below and let me know where my