title: Faces messages not shown after replacing navigation case by implicit navigation
body: <p>I removed the navigation cases from <code>faces-config.xml</code> and switched to implicit navigation.</p>
  
  <pre><code>FacesContext context = FacesContext.getCurrentInstance();
  context.addMessage(null, new FacesMessage("Successful", "Datacenter " + ndc.componentStatsId + " is created!"));
  
  if (result == 1)
  {
      return "DatacentersList.xhtml?faces-redirect=true";
  }
  
  if (result == 2)
  {
      return "NewDatacenter.xhtml?faces-redirect=true";
  }
  return null;
  </code></pre>
  
  <p>The navigation is working very well, but it turns out that faces messages are not displayed anymore. How is this caused and how can I fix this?</p>