title: How to access the root element of the datasource in jasperreports
body: <p>I have a report backed by a collection of MyJavaBean.</p>
  
  <p>In this report I (of course) can get the properties of MyJavaBean declaring them in the Fields and using it on the details band, so far so good.</p>
  
  <p>Now I want to be able to pass this MyJavaBean as a parameter of a subreport. Look that I want to be able to pass the javabean itself, not one of its propertys.</p>
  
  <p>How can I make reference to one element of my collection in the detais band?</p>