title: Why do I need to use getter for a public attribute?
body: <p>In my table, I just want to get an attribute, why do I have to write a getter in my data object?</p>
  
  <p>I'm declaring a variable 'o' (that's my data object) and want to get the public value 'commission'. It doesn't work without a getter method.</p>
  
  <p>view.xhtml:</p>
  
  <pre><code>&lt;h:dataTable value="#{ABList.unreadedABs}" var="o"
                  styleClass="ABList-table"
                  headerClass="ABList-table-header"
                  rowClasses="ABList-table-odd-row,ABList-table-even-row"&gt;
  
     &lt;h:column&gt;
      &lt;f:facet name="header"&gt;Commission&lt;/f:facet&gt;
      #{o.commission}
      &lt;/h:column&gt;
  </code></pre>
  
  <p>dataobject:</p>
  
  <pre><code>public class AB {
      public String commission;
  }
  </code></pre>