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 ...)
 
Line 1: Line 1:
 +
[[Category:Xebra]]
 +
 +
 
==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.

Revision as of 12:06, 2 July 2009


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 a STRING.

... attr="#{variable.name}"...

Uses a - predefined (form/iterate) - variable to retrieve a value.