makumba hackers: this page is generated, don't edit it! Instead edit the text in the included pages.

Taglib documentation for tag mak:if#


Displays the body of the tag only if the MQL expression evaluates to true.


Name Required Runtime expression Description Comments
test true false
MQL SELECT projection expression. It must be a test, resulting in a 'boolean' in SQL : 0 or 1. Operators for the test expressions: =, <>, <, <=, >, >=



<mak:list from="copmany.Employee e" where="$company" orderBy="e.department, e.surname">
    <mak:value expr="e.department"/> - <mak:value expr="e.surname"/>, <mak:value expr=""/> 
    <mak:if test="e.birthdate <> nil">
        (born on <mak:value expr="e.birthdate" />)

Category Documentation

Add Comment
« This page was last updated on August 1 2010