CKConditional

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

Description

Controls generating HTML.

Bindings

Required attribute: condition

condition:If the value is true and "negate" is false, the body of the CKCoditional tag is displayed.
negate:Inverts the meaning of the "condition".

Control table

  condition  negate  result
  true       false   show
  false      false   not show
  true       true    not show
  false      false   show

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()