<table> add a table to content
- name
- table
- xml namespace
- http://moyaproject.com/tables
Begins a table content definition. Must be inside a <content> tag.
Example
<table class="table table-striped" xmlns="http://moyaproject.com/tables" caption="An example table">
<columns>
<header>Product</header>
<header>Stock</header>
</columns>
<rows src="products" dst="product">
<cell>${product.name}</cell>
<cell>${product.stock}</cell>
</rows>
</table>
attributes
name |
purpose |
type |
required? |
default |
choices |
caption |
Table caption |
text |
No |
|
|
class |
Extra class |
text |
No |
|
|
from |
Application |
application reference |
No |
"moya.tables" |
|
id |
Table ID |
text |
No |
|
|
style |
Option CSS style |
text |
No |
|
|
template |
Template |
template path |
No |
"table.html" |
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|