Difference between revisions of "Xebra Taglib Xeb"

(New page: ===Xeb=== {| class="wikitable" ! Tag ! Description |- | <xml> <xeb:call feature="..." /> </xml> | Calls the feature on the controller on render-time. |- | <xml> <xeb:loop times="..." > ......)
 
Line 1: Line 1:
 +
[[Category:Xebra]]
 +
 
===Xeb===
 
===Xeb===
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 12:06, 2 July 2009


Xeb

Tag Description
<xeb:call feature="..." />

Calls the feature on the controller on render-time.

<xeb:loop times="..." >
...
</xeb:loop>

Loops its content "times" times.

<xeb:redirect url="..." />

Redirects the server to a new page at "url". The redirect is done server internally.

<xeb:iterate list="..." variable="..." type="...">
</xeb:iterate>

Iterates over a list (defined with "list" as a controller call). The current item is stored in "variable" which is of type "type". This variable is then available for its children.

<xeb:container>
...
</xeb:container>

This simple tag just groups parts of the site. Can be used to conditionally render some parts with the "render" attribute.

<xeb:display feature="..." />

The display tag simply displays what is written in feature.