title: Collapsible Panels in jsf/primefaces
body: <p>So what I want is this (Just the collapsible part):</p>
  
  <p><a href="http://www.primefaces.org/showcase-labs/ui/layoutEvents.jsf;jsessionid=238C388CE45C77A9B90898A82F2340EA" rel="nofollow">http://www.primefaces.org/showcase-labs/ui/layoutEvents.jsf;jsessionid=238C388CE45C77A9B90898A82F2340EA</a></p>
  
  <p>With 2 differences.</p>
  
  <ol>
  <li><p>I want it in a datatable</p></li>
  <li><p>I want to make a custom button that will control whether or not they are collapsed</p></li>
  </ol>
  
  <p>Is this possible if so is there a good example I can go off?</p>