title: JSF Pass a map in ViewScoped Bean between two pages
body: <p>I have two different pages. In the first page I have a Map in a ViewScoped Bean, and in the second page there is another ViewScoped Bean that needs the Map in the first page. How can I pass the Map between the two pages?</p>
  
  <p>I've thought of transforming the Map into a JSON string, and passing through <code>&lt;f:viewParams&gt;</code>, but that might make the url too long.</p>
  
  <p>Any ideas will be appreciated!</p>