title: Multiple pages in JSF not calling backing bean mutators
body: <p>I'm currently developing an additional page to an already existing website. Actually that part isn't really that important - the page performs it's own separate functions.</p>
  
  <p>Anyway, originally, this "page" consisted of two pages controlled by one jpdl pageflow. Everything worked correctly, except when referencing the second page. The user would input whatever they liked into the fields and click submit. Everything functioned as expected, except the set methods were never called. Despite reading existing values from the Backing Bean, it the setters were never called. I wrote some Seam tests and discovered that I could craft my own <code>FacesRequest</code> that would call <code>setValue()</code> on the same EL Expression and it worked fine, which pointed me to something failing on the JSF side. Still I never figured it out and moved on. Of course, now I've had to come back to it.</p>
  
  <p>Code in question looks like... (irrelevant parts removed. There's a lot of cruft as these are pretty general and are in use in a lot of places):</p>
  
  <pre><code>@Name("user")
  @Install(precedence = Install.DEPLOYMENT)
  @Scope(ScopeType.CONVERSATION)
  @AutoCreate
  public class UserBean{
      private String username;
      public void setUsername(String username){this.username = username;}
      public String getUsername(){return username;}
  }
  </code></pre>
  
  <p>And a basic snippet of page "users.xhtml"...</p>
  
  <pre><code>&lt;h:form id="modifyUsersForm"&gt;
      &lt;rich:panel&gt;
          &lt;rich:dataTable id="userTable" value="#{users}" var="myUser"&gt;
              &lt;rich:column style="text-align:center"&gt;
                  &lt;h:commandButton id="modifyButton" type="submit" value="Modify" action="modify"&gt;
                      &lt;f:setPropertyActionListener target="#{user.id}" value="#{myUser.id}"/&gt;
                  &lt;/h:commandButton&gt;
              &lt;/rich:column&gt;
          &lt;/rich:dataTable&gt;
      &lt;/rich:panel&gt;
      &lt;s:button id="modifyUserCancelButton" value="Cancel" action="cancel"/&gt;
      &lt;/s:fragment&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>users is a bean that extends <code>LinkedList&lt;UserBean&gt;</code>. All that basically does is creates a table of buttons that say "Modify"</p>
  
  <p>A basic snippet of page "user.xhtml"...</p>
  
  <pre><code>&lt;h:form id="modifyUserForm"&gt;
      &lt;rich:panel&gt;
          &lt;h:inputText id="username" value="#{user.username}"/&gt;
          &lt;div style="clear: both"/&gt;
      &lt;/rich:panel&gt;
      &lt;s:button id="modifyUserCancelButton" value="Cancel" action="cancel"/&gt;
      &lt;s:button id="modifyUserModifyButton" value="Modify" action="doModify"/&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>"users.pageflow.jpdl.xml" of...</p>
  
  <pre><code>&lt;pageflow-definition xmlns="http://jboss.com/products/seam/pageflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="users"&gt;
  
      &lt;start-page name="start" view-id="/users.xhtml" no-conversation-view-id="/users.xhtml"&gt;
          &lt;transition name="cancel" to="cancelled"/&gt;
          &lt;transition name="retrieve" to="retrieve"/&gt;
      &lt;/start-page&gt;
  
      &lt;decision name="retrieve_agent" expression="#{action.retrieve}"&gt;
          &lt;transition name="success" to="retrieved"/&gt;
          &lt;transition name="failure" to="start"/&gt;
      &lt;/decision&gt;
  
      &lt;page name="retrieved" view-id="/users.xhtml" no-conversation-view-id="/users.xhtml"&gt;
          &lt;transition name="modify" to="retrieve_user"/&gt;
          &lt;transition name="cancel" to="cancelled"/&gt;
      &lt;/page&gt;
  
      &lt;decision name="retrieve_user" expression="#{action.retrieveUser}"&gt;
          &lt;transition name="success" to="modify"/&gt;
          &lt;transition name="failure" to="start"/&gt;
      &lt;/decision&gt;
  
      &lt;page name="modify" view-id="/user.xhtml" no-conversation-view-id="/user.xhtml"&gt;
          &lt;transition name="cancel" to="cancelled"/&gt;
          &lt;transition name="doModify" to="doModify"/&gt;
      &lt;/page&gt;
  
      &lt;decision name="doModify" expression="#{action.modifyUser}"&gt;
          &lt;transition name="success" to="start"/&gt;
          &lt;transition name="failure" to="modify"/&gt;
      &lt;/decision&gt;
  
      &lt;page name="cancelled" view-id="/users.xhtml"&gt;
          &lt;end-conversation before-redirect="true"/&gt;
          &lt;redirect/&gt;
      &lt;/page&gt;
  &lt;/pageflow-definition&gt;
  </code></pre>
  
  <p>So what am I missing? Why isn't setUsername being called on user.xhtml during as part of the JSF lifecycle, when it's successfully calling getUsername on the same page? We're using Java 1.6.0_07, Seam 2.2.1, JSF 1.1 (I believe. Small chance it could be 1.2), and deploying into JBoss 4.2.3.</p>