Difference between revisions of "Xebra Tag Attribute"
(New page: ==Tag Attributes== While most tag attributes are plain text and thus static, sometimes it is useful or even necessary to use dynamically bound attributes. In Xebra there are two different ...) |
m (→Tag Attributes) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Xebra]] | ||
+ | [[Xebra About|About]] | [[Xebra Installation|Installation]] | [[Xebra Documentation|Documentation]] | [[Xebra Tutorial|Tutorials]] | [[Xebra FAQ|Frequently Asked Questions]] | ||
+ | |||
+ | |||
==Tag Attributes== | ==Tag Attributes== | ||
While most tag attributes are plain text and thus static, sometimes it is useful or even necessary to use dynamically bound attributes. | While most tag attributes are plain text and thus static, sometimes it is useful or even necessary to use dynamically bound attributes. | ||
Line 12: | Line 16: | ||
</xml> | </xml> | ||
| | | | ||
− | Call designates a controller feature which returns a | + | Call designates a controller feature which returns an instance of a certain type. |
|- | |- | ||
| | | |
Latest revision as of 11:34, 21 August 2009
About | Installation | Documentation | Tutorials | Frequently Asked Questions
Tag Attributes
While most tag attributes are plain text and thus static, sometimes it is useful or even necessary to use dynamically bound attributes. In Xebra there are two different types of dynamic attributes:
Tag | Description |
---|---|
... attr="%=call%"... |
Call designates a controller feature which returns an instance of a certain type. |
... attr="#{variable.name}"... |
Uses a - predefined (form/iterate) - variable to retrieve a value. |