summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
blob: 7baa16d65f0bed1e40b22e4fdf7695f7f0d39ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<com:TContent ID="body">
<h1>TConditional Samples</h1>

<com:TConditional Condition="Prado::getVersion()==='3.2.1'">
<prop:TrueTemplate>
  <com:TLabel Text="You are using PRADO 3.2.1" />
</prop:TrueTemplate>
<prop:FalseTemplate>
  <com:TLabel Text="You are using PRADO <%= Prado::getVersion() %>" />
</prop:FalseTemplate>
</com:TConditional>

</com:TContent>