title: Dealing with Options in Scala Play Template
body: <p>I am trying reference things of type option in my Scala Play template. I've been trying to use this resource: <a href="http://www.playframework.com/modules/scala-0.9/templates" rel="noreferrer">http://www.playframework.com/modules/scala-0.9/templates</a></p>
  
  <p>This is how I am trying to reference a field in the case class: </p>
  
  <pre><code>@{optionalobject ?. field}
  </code></pre>
  
  <p>and it is not working, this is the error I am getting: </p>
  
  <pre><code>';' expected but '.' found.
  </code></pre>
  
  <p>I am unsure why I am getting this error. </p>