BAEL-7263: Check if variable is not null
This commit is contained in:
parent
550788a96d
commit
4f0a16e411
@ -7,7 +7,7 @@
|
||||
<body>
|
||||
|
||||
<div th:if="${#ctx.containsVariable('serverTime')}" th:text="'Server Time Using the #ctx Object Is: ' + ${serverTime}"/>
|
||||
<div th:if="${not (serverTime == null)}" th:text="'Server Time Using #th:if Conditional Is: ' + ${serverTime}"/>
|
||||
<div th:if="${serverTime != null}" th:text="'Server Time Using #th:if Conditional Is: ' + ${serverTime}"/>
|
||||
<div th:unless="${serverTime == null}" th:text="'Server Time Using #th:unless Conditional Is: ' + ${serverTime}"/>
|
||||
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user