Difference between revisions of "Xebra Tag Attribute"

m (Tag Attributes)
 
Line 16: Line 16:
 
</xml>
 
</xml>
 
|
 
|
Call designates a controller feature which returns a STRING.
+
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.