title: Play Framework 2 Java using complex objects with HTML Forms
body: <p>I couldn't find an example or a documentation that explains how to populate a complex object in a play.data.Form Object and reading the form's values later on in the Scala template.</p>
  
  <p>BTW - I'm using java (I saw that Scala has some documentation about this but I'm using java)</p>
  
  <p>By Complex Object I refer to:</p>
  
  <p>Person entity  with Shopping Cart entity attached to it and with X Item entities in that cart :</p>
  
  <p>person.cart.size
  person.cart.item iteration
  etc</p>
  
  <p>A code example - is highly appreciated.</p>
  
  <p>Thanks!
  CB</p>