title: JSF: Controller that relies on another controller?
body: <p>I'm working on a project where we have a <code>FooViewController</code>, and a <code>BarListController</code>.  The list of <code>Bars</code> now needs to depend on the <code>Foo</code> being viewed.  So does anyone have a recommendation of how to do this?</p>
  
  <p>I don't need an answer from an implementation perspective, necessarily, but more from a design perspective.  That is:</p>
  
  <ul>
  <li>Should the <code>FooViewController</code> somehow tell the <code>BarListController</code> what <code>Foo</code> is being viewed?</li>
  <li>Should the <code>BarListController</code> ask the <code>FooViewController</code> what <code>Foo</code> is being viewed?</li>
  <li>In either case, how do you inject these things into one another? (This part I need implementation help ;-) )</li>
  </ul>
  
  <p>Thanks for any help!</p>