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 …
I come to solve for whoever meet the same troubles…
I’m actually on linux Ubuntu and installed Shoes from the repository.
And you actually should NOT do it that way (version too old ?).
The way that worked for me was following that wiki : http://wiki.github.com/why/shoes/buildingshoes (check bottom “Building
on Ubuntu”).
I installed my git in /usr/local/src/shoes (mention it if you know a
better place)
Then just do
cd /usr/local/bin
ln -s /usr/local/src/dist/shoes shoes
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 …
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
On Wed, Apr 01, 2009 at 11:59:52PM +0900, Vince Vince wrote:
That was actually SOLVED by downloading Shoes using git and installing
with rake.
Say, how did you install Shoes originally? There is a Debian package
out there, but I believe it is incredibly ancient (like a year old.)
Back then there were no radio/check buttons, so that might explain
it.
I will get this worked out, but yeah, in the meantime you’ll want to
compile from the source code. My profuse apologies!
_why
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.