title: Thymeleaf: How to use OR operator for th:class?
body: <p>For example:</p>
  
  <pre><code>    &lt;section class="sidebar"&gt;
        &lt;ul class="sidebar-menu"&gt;
          &lt;li th:class="${selectedType} == 'daily-report' OR {selectedType} == 'monthly-report'? 'active'"&gt;
    &lt;!-- &lt;li class="active"&gt; --&gt;
              &lt;a href="/reports"&gt;&lt;span&gt;Reports&lt;/span&gt;&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/section&gt;
  </code></pre>
  
  <p>I want to set the li class to <code>active</code> when the <code>selectedType</code> either is <code>daily-report</code> or <code>monthly-report</code>. Can't find any example on the web. Please help.</p>