title: Unable to output rows from SOQL query to <apex:repeat>
body: <p>I'm getting this error:</p>
  
  <pre><code>Description Resource    Path    Location    Type
  Save error: Unknown property 'OpportunityStandardController.getLines'   AlexHelloWorld.page /SFDC/src/pages line 0  Force.com save problem
  </code></pre>
  
  <p>VF Page:</p>
  
  <pre><code>&lt;apex:page standardController="Opportunity" extensions="AlexHelloWorld"&gt;
      &lt;apex:form &gt;
          &lt;apex:pageBlock title="Edit account for {!$User.FirstName}"&gt;
              &lt;apex:pageMessages /&gt;
              &lt;apex:pageBlockButtons &gt;
  
              &lt;/apex:pageBlockButtons&gt;
              &lt;apex:pageBlockSection &gt;
                  &lt;apex:outputText value="Test - {!retVal}"&gt;
                  &lt;/apex:outputText&gt;
              &lt;/apex:pageBlockSection&gt;
              &lt;apex:pageBlockSection &gt;
                  &lt;apex:outputText value="OppId - {!opportunity.id}" /&gt;
                  &lt;apex:outputText value="UserId - {!$User.Id}" /&gt;
              &lt;/apex:pageBlockSection&gt;
              &lt;apex:pageBlockSection&gt;
                  &lt;apex:repeat value="{!getLines}" var="line" id="theRepeat"&gt;
                      &lt;tr&gt;
                          &lt;td valign="top"&gt;&lt;apex:outputField value="{!line.Id}" /&gt;&lt;/td&gt;
                          &lt;td valign="top"&gt;&lt;apex:outputField value="{!line.OpportunityId}" /&gt;&lt;/td&gt;
                          &lt;td valign="top"&gt;&lt;apex:outputField value="{!line.PricebookEntryId}" /&gt;&lt;/td&gt;
                          &lt;td valign="top"&gt;&lt;apex:outputField value="{!line.Quantity}" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/apex:repeat&gt;
              &lt;/apex:pageBlockSection&gt;
          &lt;/apex:pageBlock&gt;
      &lt;/apex:form&gt;
  &lt;/apex:page&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public with sharing class AlexHelloWorld {
  
      public boolean  showFedEx{get;set;}
      public String   mystr{get;set;}
      public Id       opportunityId{get;set;}
  
      //public Opportunity opportunity{get;set;}
      public Decimal retVal{get;set;}
  
      //Main controller class
      public AlexHelloWorld(ApexPages.StandardController controller)
      {
          mystr = [SELECT Email from User where Id =:Userinfo.getUserId()].Email;
          showFedEx = true;
          retVal = 5*5;
          System.debug('zzzzz');
      }
  
      public List&lt;OpportunityLineItem&gt; getLines()
      {       
          List&lt;OpportunityLineItem&gt; oli = [SELECT Id, OpportunityId, PricebookEntryId, Quantity FROM OpportunityLineItem where id =:System.currentPageReference().getParameters().get('id')];
  
          return oli;     
      }
  }
  </code></pre>