CKForm

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

Description

Creates a fill-in form. Dynamic elements of form, for example, CKBrowser, CKCheckbox, CKRadioButton, CKPopUpButton, CKText, CKTextField, CKSubmitButton, CKResetButton and CKFileUpload are used within CKForm or HTML form.

Bindings

Required attributes: none

method:Encode type to send form data. You can use "POST" or "GET" as the value.
enctype:Encode type for form data. When you use CKFileUpload, set this attribute to "multipart/form-data".
fileupload:If you set this attribute to true, "enctype" attribute is setted to "multipart/form-data". You can use this instead of "enctype" when using CKFileUpload.
href:URL to which the browser directs.
target:Frame in a frameset that receive the page.

Programming Topics

Methods

bind_request
own_attributes
run
to_s

Included modules

ElementState

Public Class Methods

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

Public Instance Methods

run()
to_s()