Displaying 20 results from an estimated 44 matches for "radiobutton".
Did you mean:
radio_button
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all,
Run groupbox.rb example in any of the two alpha versions and
click the radiobutton in the upper right group box (those named Hilvesum 1,
Hilversum 2, etc). You''ll notice that once a radiobutton is checked,
it remains checked when some other radiobutton is checked.
What''s the reason?
Thank you.
--
Best regards,
Yuri Leikind
2005 Dec 30
2
Radiobutton onclick
Hi,
I would like to make a simple html which displays the contents of a
table from a database. So I put radiobuttons near the titles of the
columns to note and do a sorting by that column. But I don''t know how
to implement that the clicking on one of the radiobuttons make the
sorting. The problem is the view part. How to give a radiobutton to
make some action on a click by the helper?
The code is:
---...
2005 Dec 29
0
Newbie: Radiobutton onclick
Hi,
I would like to make a simple html which displays the contents of a
table from a database. So I put radiobuttons near the titles of the
columns to note and do a sorting by that column. But I don''t know how
to implement that the clicking on one of the radiobuttons make the
sorting. The problem is the view part. How to give a radiobutton to
make some action on a click by the helper?
The code is:
---...
2002 Dec 09
0
Mailman 'held' messages (was SPAM on List...)
...********
*** 218,227 ****
buttons = Table(cellspacing="5", cellpadding="0")
buttons.AddRow(map(lambda x, s=' '*5: s+x+s,
('Defer', 'Approve', 'Reject', 'Discard')))
! buttons.AddRow([Center(RadioButton(id, mm_cfg.DEFER, 1)),
Center(RadioButton(id, mm_cfg.APPROVE, 0)),
Center(RadioButton(id, mm_cfg.REJECT, 0)),
! Center(RadioButton(id, mm_cfg.DISCARD, 0)),
])
t.AddRow([Bold('Action:'), buttons])...
2007 Sep 19
2
list of checkboxes, radiobuttons
Hello,
I need a help for simple problem:
i have a model Post, and i have a variable @posts = Post.find(:all)
how i can create a list of checkboxes and radiobuttons for this array of
posts and get selected checkboxes, radiobutton when submit form?
Thank you
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2004 Jul 22
0
Re: FXRuby and Threads (was: radiobuttons are weird in 1.2.x series)
*********** REPLY SEPARATOR ***********
On 22/07/2004 at 14:01 lyle@knology.net wrote:
>On Thu, 22 Jul 2004 14:47:47 +0100, "Bil" <bil.bas@virgin.net> wrote :
>
>> Err, well it does work, though it does not require the background thread
>to run very fast at all. The application is a prototype of a board-game
>engine. The server is a regular threaded Ruby
2006 Sep 10
2
Issue with radiobutton and remote_function in IE.
Hi there!
I did implemented the radio button with remote_function to update some
div via RJS.
It works perfect with FireFox, but behaves weird with IE. When I click
the radio button
it loads data (I see the indicator showing) but not updates the div with
info until I click
left mouse button anywhere.
It''s weird =(
Here is the snippet from .rhtml code
<td>
2000 Sep 28
1
tcltk package functionality
Hello,
I wrote a function in R which uses tcltk package .... essentially I wanted
to give within that function, a widget with 2 radiobuttons to choose
between plotting Precip and Temperature plots. After the user has chosen
one of the radiobuttons there is another widget that asking him to identify
outliers. However, I am having a lot of problems...what R does is evaluate
the whole function without pausing...if I introduce a while() lo...
2006 Mar 02
0
tcltk error when calling a dialog
Hello;
I've got several radiobuttons in tcltk with the following sintaxis:
tk2.rd <- /tkradiobutton(/frame4,command=plotDialog1,text="New Q plot", value=2, variable=OUTPLOTtclVar/)/
All the buttons call the same function "plotDialog1". With the objective
of call a dialog to select some plotting options.
When...
2012 Jan 30
1
Visual Basic game
I'm trying to launch a visual basic game,i have all the neccesery libraries installed. On launch i get this
Code:
err:ntdll:RtlpWaitForCriticalSection section 0x7bcbf8e0 "../../../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 003c, blocked by 0034, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x78037130 "?" wait timed out in thread
2001 Sep 19
2
tcltk: Difficulties creating menus
...with adding menus to a tcltk application. The following
example (from the O'Reilly book on Perl/Tk) works fine:
#!/usr/bin/perl -w
use Tk;
my $mw = MainWindow->new;
$menub = $mw->Menubutton(-text => "Color")->pack();
foreach (qw/red yellow green blue grey/) {
$menub->radiobutton(-label => $_, -command => \&set_bg,
-variable => \$background_color, -value => $_);
}
MainLoop;
sub set_bg {
print "Background value is now: $background_color\n";
$mw->configure(-background => $background_color);
}
I cannot get anything sim...
2006 Nov 29
5
wxSugar control problem
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with an error when trying to create a SpinCtrl (and quite a
few others have exactly the same prob.):
#file date_picker.rb
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
@cal = Wx::CalendarCtrl.new(self)
add(@cal)
#works fine up to
2011 Jun 16
1
Do a corelational analysis in R
Hi everyone,
I retrieved the values of form elements such as radiobuttons, text
area,textbox etc into MySQL database. I retieved the values from MySQL db to
R using RODBC package. If i want to do a corelational analysis using the
values in textarea and radiobutton how is it possible as textarea may
contain a variety of values like a sentence or a group of words...Is the...
2011 Jul 22
1
tcltk
Hello, I am trying to build some dialog boxes but I am having problems. I'm using R-2.13.1 in Windows 7
I want to have 4 numerical entry boxes and 3 radiobuttons in a row ( 4 rows) for entry data
and 2 rows for output with a button for 'compute' and another for ;quit'
Can somebody indicate a tutorial or an example with similar type of dialogs?
Thanks
R.Heberto Ghezzo Ph.D.
Montreal - Canada
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
...l>- # wx_ctor_params :validator, :name => ''radioBox''
</del><ins>+ wx_ctor_params :validator, :name => ''radioBox''
</ins><span class="cx"> end
</span><span class="cx">
</span><del>-# wxRadioButton         A round button to be used with others in a mutually exclusive way
</del><ins>+# wxRadioButton: A round button used with others in a mutually exclusive way
</ins><span class="cx"> WxSugar.define...
2007 Oct 23
1
simple data.frame question
...um where I found
answers to really sophisticated questions, I couldn't find the answer to my
really simple one - or I didn't understand it for English is not my
mothertongue.
I'm using Rpad to simulate a webserver on my PC. Further I've got an html
<form> with some checkboxes/radiobuttons. My first code-chunk attempts to
create a data.frame (but I don't know, if I've done it correct):
statistik <- data.frame(car = factor(), ubahn = factor () [...], quantity =
numeric())
When clicking on a button, I want to submit the values from the <form> to
the data.frame....
2000 Sep 28
0
No subject
Prasad wrote:
> I wrote a function in R which uses tcltk package .... essentially I wanted
> to give within that function, a widget with 2 radiobuttons to choose
> between plotting Precip and Temperature plots. After the user has chosen
> one of the radiobuttons there is another widget that asking him to identify
> outliers. However, I am having a lot of problems...what R does is evaluate
> the whole function without pausing...if I in...
2006 Dec 02
0
[770] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix some broken ones (Alex Spelling), add some new & missing ones; add
...''radioBox''
</del><ins>+ # wx_ctor_params :validator, :name => ''radioBox''
</ins><span class="cx"> end
</span><span class="cx">
</span><del>-
</del><span class="cx"> # wxRadioButton         A round button to be used with others in a mutually exclusive way
</span><del>-WxSugar.define_keyword_ctors(''RadioBox'') do
</del><ins>+WxSugar.define_keyword_ctors(''RadioButton...
2009 Mar 11
0
problem scrapping ATnT site (Matt White)
...gt; "
>
> # get the form for bill_period and select a bill period
>
> bill_period_form = page_download.forms[2]
> bill_period_form.field.options[2].select
>
> # click on the csv radio button
>
> download_format_form = page_download.forms[3]
> download_format_form.radiobuttons[1].click
>
> # click on the submit link that downloads the csv file.
>
> download_file = agent.click download_page.search("a")[41]
> download_file.save_as("<path_to_file>.csv")
>
> The problem I am facing in the above code is:
>
> + Doesn'...
2010 Mar 16
4
Get content from HTML element in Rails
...er I use this code:
[code]
def save_test
render :update do |page|
page[''content''].innerHTML
end
end
[/code]
Some more context maybe? I get a HTML form (without the form tags
themselves) and put it into a rails form. What I want is that the user
changes checkboxes, radiobuttons, fills out input fields etc and when
the user saves, I want the literal changed content of the form as a
string to save it to my database.
The reason for this is that the several provided forms differ a lot and
it''s only used as information, no calculations etc need to be done on
it.
So m...