Xebra Write Xeb File
Hello World
The simlest xeb file is a hello world example:
Hello World!
This page will just display "Hello World!" as is.
Iteration over lists and display
If we have a list and want to iterate over it, we can simply use the iterate tag.
<xeb:iterate list="persons" variable="person" class="PERSON"> <xeb:display feature="#{person.name}" /> </xeb>
Notice the that the feature attribute is special. Attributes with "#{}" denote variable attributes and use defined variables (here the person from iterate).