CKPopUpButton

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

Description

Creates a pop-up menu. This element must be used within CKForm or HTML form.

Bindings

Required attribute: list

escape:Escapes HTML control characters in the items of the list if the "escape" is true. The default value is true.
list:Array which is iterated through.
values:Array which is value for each "value" attributes of <option> elements.
default:The first item if no item is selected.
selected:Item that are chosen from the selection list.
enabled:If the value is true, the element appears but is not active.

Programming Topics

Methods

bind_request
own_attributes
run
to_s

Included modules

ElementAttribute

Public Class Methods

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

Public Instance Methods

run()
to_s()