Powered by SmartDoc

Flow control

CKConditional

Controls generating HTML.

Required attribute: condition

Attributes of CKConditional
Attribute Type Description
condition true/false If the value is true and negateis false, the body of the CKCoditional tag is displayed.
negate true/false Inverts the meaning of the condition.
Contorol Table
condition negate Result
true false show
false false not show
true true not show
false true show

CKRepetition

A CKRepeition object repeats its contents.

Required attributes: listand item, or count

Attributes of CKRepetition
Attribute Type Description
count Integer CKRepeition repeats its contents this number of times.
list Enumerable Array which is iterated through.
item - Current item when the list is iterated through.
index Integer Index of the current item.