title: onRowSelect(SelectEvent event) Method
body: <pre><code>public void onRowSelect(SelectEvent event) {
     FacesMessage msg = new FacesMessage("Car Selected", ((Car) event.getObject()).getModel());
     FacesContext.getCurrentInstance().addMessage(null, msg);
  }
  </code></pre>
  
  <p>I need to know the following:</p>
  
  <ol>
  <li>When I click on a Row, will this method be called?</li>
  <li>Can I display the rows content using this method?</li>
  </ol>
  
  <p>See: <a href="http://code.google.com/p/primefaces/source/browse/examples/trunk/showcase/src/main/webapp/ui/datatableRowSelectionInstant.xhtml?r=3293" rel="nofollow">http://code.google.com/p/primefaces/source/browse/examples/trunk/showcase/src/main/webapp/ui/datatableRowSelectionInstant.xhtml?r=3293</a></p>