CKRadioButton

Class/Module:
Class
In:
lib/cgikit.rb
Parent:
CKElement

Description

Creates a radio button. This element must be used within CKForm or HTML form.

Bindings

Required attributes: selection and value, or checked

name:Name that identifies the radio button’s group.
checked:If neither "value" nor "selection" attribute is nil and the value of "selection" is equal to that of "value", the check box is checked.
value:When the check box is checked, the value of "value" attribute is set to the component by the method specified by "selection" attribute.
selection:Object that the user chose from the check box.
enabled:If the value is true, the element appears but is not active.

Programming Topics

Methods

bind_request
element_id
own_attributes
run
to_s

Included modules

ElementAttribute

Public Class Methods

bind_request( component, definition, value, id )
own_attributes()

Public Instance Methods

element_id()
run()
to_s()