title: ADF flow losses current row selection
body: <p>I'm using JDeveloper 11.1.1.7.0 and I have this issue.
  I'll try to explain the best I can.</p>
  
  <p>I have a flow. The first view, named <em>mainTable.jspx</em>, has a table with current data and a <em>New Data</em> button.
  Each row in table has a <em>setCurrentRowWithKey</em> link to Edit the selected data. With this link, current row is selected.</p>
  
  <ul>
  <li>Edit link action is <em>edit</em> flow, which navegates to <em>editData.jspx</em></li>
  <li>New Data button action is <em>new</em> flow, which navegates to <em>Create</em> operation and then to <em>editData.jspx</em> with empty fields.</li>
  </ul>
  
  <p>The <em>editData.jspx</em> behaviour is right, so it has empty fields with <em>new</em> flow or fulfilled fields with <em>edit</em> flow.</p>
  
  <p>In <em>editData.jspx</em> I have a custom button <em>Check</em> with an action. I make some checks, so if there is an error, I show an error message with FacesContext.addMessage. This button makes no <em>Delete</em>, <em>Commit</em> or <em>Rollback</em> operation.</p>
  
  <p>Well, my issue arises with these steps:</p>
  
  <ul>
  <li>Go to <em>mainTable.jspx</em></li>
  <li>Click <em>Edit</em> link in a row</li>
  <li>Go to <em>editData.jspx</em></li>
  <li>Click <em>Check</em> button. One check is not ok, so an error message is displayed. By now, next wrong steps happen. </li>
  <li>Current selection data removes, and previous data row from the table is shown in <em>editData.jspx</em></li>
  <li>When I click <em>Back</em> button to come back to the table in mainTable.jspx, the initial row selected in step 2 is not shown in the table.</li>
  <li>In database, all data exist, even the <em>ghost</em> data.</li>
  </ul>
  
  <p>I don't know what is happening. There is no <em>Delete</em>, <em>Commit</em> or <em>Rollback</em> operation in the problematic button.</p>
  
  <p>How can I fix this? Is there something I'm not doing right in the flow?</p>
  
  <p>Any help would be very appreciated.</p>
  
  <p>Thank you</p>