Defines a collection of rows in a <table>.
A <rows> tag may contain either <row> tags or – if the src
attribute is set – <cell> tags.
When the src
attribute is set, it should be a sequence of values to be iterated over (like <for>). Each item in the sequence will generate a row containing the enclosed <cell> tags.
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
dst |
Destination | reference | No | ||
from |
Application | application reference | No | "moya.tables" |
|
id |
Table ID | text | No | ||
row_class |
Extra class for rows | text | No | ||
row_template |
Template | text | No | "row.html" |
|
src |
Sequence of row data | expression | No | None |
|
style |
Optional CSS style | text | No | ||
template |
Template | text | No | "rows.html" |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |