Difference between revisions of "Xebra Documentation"

(Xebra Tag Libraries)
(Xebra Tag Libraries)
Line 11: Line 11:
 
* [[Xebra Taglib Form|Form]]
 
* [[Xebra Taglib Form|Form]]
  
 
+
* [[Xebra Tag Attribute|Tag Attribute]]
 
+
==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:
+
 
+
{| class="wikitable"
+
! Tag
+
! Description
+
|-
+
|
+
<xml>
+
... attr="%=call%"...
+
</xml>
+
|
+
Call designates a controller feature which returns a STRING.
+
|-
+
|
+
<xml>
+
... attr="#{variable.name}"...
+
</xml>
+
|
+
Uses a - predefined (form/iterate) - variable to retrieve a value.
+
|}
+

Revision as of 08:50, 1 July 2009


Xebra HTTP Server Plugins

Xebra Tag Libraries