title: Setting property in backing bean while navigating from one page to another (View Scope) doesn't work
body: <p>I have a backing bean <code>Authority</code> in the view scope and I have two pages <code>viewRoles</code> and <code>editRole</code> mapped to this backing bean.</p>
  
  <p>In the <code>viewRoles</code> page there's a link to go to <code>editRole</code> page:</p>
  
  <pre><code>&lt;h:form&gt;
    &lt;h:commandLink value="#{au.displayName}" action="pretty:editRole"&gt;
      &lt;f:setPropertyActionListener target="#{authority.authorityId}" value="#{au.id}"/&gt;                   
    &lt;/h:commandLink&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>It navigates to the other page, but the property is not getting set, even though the bean is in the view scope and the both pages are mapped to the same backing bean. It only works when I change the view scope to session scope.</p>
  
  <p>Note: my beans are managed by Spring, also this view scope is not the JSF default <code>@ViewScoped</code>, it's a custom one which I found on <a href="http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/" rel="nofollow">http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/</a>. Also I am using PrettyFaces to manage my navigation.</p>
  
  <p>The question is, is the above scenario supposed to work with a real JSF2 <code>@ViewScoped</code> <code>@ManagedBean</code> or is the problem related to Spring or another problem?
  please advise.</p>