title: How to send data between views having a ViewScoped bean
body: <p>Background:</p>
  
  <ul>
  <li>I have a <code>ViewScoped</code> bean with a field named <code>someId</code></li>
  <li>I have a page, <code>somePage.xhtml</code> with an <code>inputText</code> and a <code>commandLink</code></li>
  <li>The value of the inputText has a corresponding field in the bean named <code>searchValue</code></li>
  <li>When I click the link a method in the bean redirects to another page called <code>searchResult.xhtml</code> that use the same bean as <code>somePage</code> (although not a requirement)</li>
  </ul>
  
  <p>Before rendering <code>searchResult</code> the bean needs to execute a search in the database, based on the value of the <code>inputText</code> and the variable <code>someId</code>. After that the result shall be shown in <code>searchResult</code>.</p>
  
  <p>Is it possible to do this without:</p>
  
  <ul>
  <li>Using a <code>SessionScoped</code> bean, or</li>
  <li>Having a <code>h:link</code> instead of the <code>commandLink</code> and let <code>f:param</code>'s representing <code>someId</code> and the value of the <code>inputText</code> get updated by ajax</li>
  </ul>
  
  <p>I've also tried <code>Flash</code>, but it seems it's not available <code>preRenderView</code>.</p>