title: Edit commandLink goes to Edit page but does not populate values into input fields
body: <p>My edit page does not display bean values when it's called from a datalist populated by a JDBC search but works just fine if the list is not from the JDBC search.</p>
  
  <p>The delete link works just fine but the edit link just returns the edit page with no populated values in the fields.</p>
  
  <p>My bean is a ViewScoped bean.</p>
  
  <p>The datalist display page:</p>
  
  <pre><code>&lt;h:form rendered="#{not empty usersManagedBean.usersList}" id="form"&gt;                            
  &lt;div class="table-responsive"&gt;
      &amp;nbsp;
      &lt;h:dataTable value="#{usersManagedBean.userModel}" 
                   var="showUser"
                   styleClass="table table-striped table-bordered table-hover"&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  Username
              &lt;/f:facet&gt; 
              &lt;h:outputText value="#{showUser.username}"/&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  First Name
              &lt;/f:facet&gt;                                         
              &lt;h:outputText value="#{showUser.firstname}"/&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  Last Name
              &lt;/f:facet&gt;                                         
              &lt;h:outputText value="#{showUser.lastname}"/&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  Security Level
              &lt;/f:facet&gt;                                         
              &lt;h:outputText value="#{showUser.groupname}"/&gt;
          &lt;/h:column&gt; 
          &lt;h:column rendered="false"&gt;
              &lt;f:facet name="header"&gt;
                  Security Level
              &lt;/f:facet&gt;                                         
              &lt;h:outputText value="#{showUser.id}"/&gt;
          &lt;/h:column&gt;                                             
          &lt;h:column&gt;
              &lt;h:commandLink value="Edit" 
                             action="#{usersManagedBean.updateUser()}"&gt;
              &lt;/h:commandLink&gt;
              ||
              &lt;h:commandLink value="Delete" 
                             onclick="if (!confirm('Are you sure, you want to delete #{showUser.username}?')) {
                          return false;
                      }
                      ;
                      return true;
                      " action="#{usersManagedBean.deleteUser(showUser)}"&gt;
              &lt;/h:commandLink&gt;
          &lt;/h:column&gt;
      &lt;/h:dataTable&gt;                          
          &lt;h:link outcome="AddUser.xhtml" value="Add New User"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>The edit page:</p>
  
  <pre><code>                                    &lt;h:form&gt;
                                      &lt;div class="form-group"&gt;
                                          &lt;label&gt;First Name:&lt;/label&gt;
                                          &lt;h:inputText id="firstname" styleClass="form-control" value="#{usersManagedBean.user.firstname}"&gt;&lt;/h:inputText&gt;
                                          &lt;label&gt;Last Name:&lt;/label&gt;
                                          &lt;h:inputText id="lastname" styleClass="form-control" value="#{usersManagedBean.user.lastname}"&gt;&lt;/h:inputText&gt;
                                          &lt;label&gt;Username:&lt;/label&gt;
                                          &lt;h:inputText id="username" styleClass="form-control" value="#{usersManagedBean.user.username}"&gt;&lt;/h:inputText&gt;
                                      &lt;div class="form-group"&gt;
                                          &lt;label&gt;Security Level:&lt;/label&gt;
                                          &lt;h:selectOneMenu id="roleSelect" value="#{usersManagedBean.user.groupname}" styleClass="form-control"&gt;
                                              &lt;f:selectItem itemLabel="----" itemValue="----"/&gt;
                                              &lt;f:selectItem itemLabel="Administator" itemValue="admin"/&gt; 
                                              &lt;f:selectItem itemLabel="User" itemValue="user"/&gt;                                                                                                                   
                                          &lt;/h:selectOneMenu&gt;
                                      &lt;/div&gt;
                                          &lt;label&gt;Password:&lt;/label&gt;                                            
                                          &lt;h:inputSecret id="password" styleClass="form-control" value="#{usersManagedBean.user.password}" required="true" requiredMessage="Enter Password"/&gt;
                                          &lt;h:message for="password" style="color:red"/&gt;
                                          &lt;label&gt;Confirm Password:&lt;/label&gt;
                                          &lt;h:inputSecret id="password2" styleClass="form-control" required="true" requiredMessage="Re-enter Password"/&gt;
                                          &lt;h:message for="password2" style="color:red" /&gt;
                                          &lt;o:validateEqual components="password password2" message="Passwords don't match" showMessageFor="password2"/&gt;
  
                                      &lt;/div&gt;
                                      &lt;h:commandButton value="Update" type="submit" styleClass="btn btn-default" action="#{usersManagedBean.saveUser()}"&gt;&lt;/h:commandButton&gt;
                                      ||
                                      &lt;h:commandButton value="Cancel" onclick="history.back(-1);return false" styleClass="btn btn-default"&gt;&lt;/h:commandButton&gt;
  
                                  &lt;/h:form&gt;
  </code></pre>
  
  <p>The method that calls the edit page:</p>
  
  <pre><code>    public String updateUser(){
  
      user = userModel.getRowData();
      return "EditUser.xhtml";
  }
  </code></pre>
  
  <p>No exceptions are thrown at all.</p>