From: 7stud -- Date: 2009-04-01T23:04:05+09:00 Subject: Re: Shoes 'method_missing' error Vince Vince wrote: > Hello all ! > > I'm new to the ruby community and therefore to Shoes (which is really > nice easy to use). > > I tried out a little making a form, and everything went nicely for > edit_line, list_box, edit_box, button, but I met trouble when trying to > build a radio button or a checkbox ... > > Here's the sample code I used : http://help.shoooes.net/Check.html and > http://help.shoooes.net/Radio.html > > This is my code : > > Shoes.app do > radio; para "This is a radio button" > end > And what happens when you use this code: Shoes.app do para "Among these films, which do you prefer?\n" radio; para strong("The Taste of Tea"), " by Katsuhito Ishii\n" radio; para strong("Kin-Dza-Dza"), " by Georgi Danelia\n" radio; para strong("Children of Heaven"), " by Majid Majidi\n" end And this code: Shoes.app do para "Among these films, which do you prefer?\n" radio; para strong("The Taste of Tea"), " by Katsuhito Ishii\n" radio; para strong("Kin-Dza-Dza"), " by Georgi Danelia\n" end And this code: Shoes.app do para "Among these films, which do you prefer?\n" radio; para strong("The Taste of Tea"), " by Katsuhito Ishii\n" end -- Posted via http://www.ruby-forum.com/.