title: How to read the table variable from a backing bean in JSF?
body: <p>I am using MyFaces Trinidad, and want to create a single page where selection in one table reloads the content of another table to match the selection.</p>
  
  <p>The update is triggered by an <code>actionListener</code> in a <code>partialSubmit</code>. Then I wanted the listener in the backing bean to remember the row object of the submit, such that the getter for the value of the second table can use this as a filter.</p>
  
  <p>The Trinidad documentation includes this sample, but this syntax is deprecated in JSF 1.2:</p>
  
  <pre><code>FacesContext context = FacesContext.getCurrentInstance();
  MyClass selection = (MyClass)context.getVariableResolver().
      resolveVariable(context, "rowdata");
  </code></pre>
  
  <p>Anybody got a good suggestion?</p>