title: How to conditionally render/make visible a java fx component based on model?
body: <p>I need to conditionally render or either make visible already rendered component based on a boolean from model. The view is defined using <code>.fxml</code> files.</p>
  
  <p>Currently I do it as follows but it does not work as expected:</p>
  
  <blockquote>
  <pre><code> &lt;Label text="This is random msg" visible="${controller.showingDineIn}"/&gt;
  </code></pre>
  </blockquote>