title: Creating an array of SelectOption Lists
body: <p>Im trying to set up an online test, using a visualforce page that pulls data from 3 objects in salesforce <code>COPE_Tests__C</code>, <code>COPE_Questions__C</code>, and <code>COPE_Options__c</code>.  Once the user selects the specific test, I thought I would be able to make a call like this to get all the other data:</p>
  
  <pre><code>questions = [select id, name, question_body__c, 
  (select id, name, option_body__c from COPE_options__r order by name ASC)
  from COPE_questions__c where COPE_test__c = :tid];
  </code></pre>
  
  <p>And then use <code>apex:repeat</code> and <code>apex:selectRadio/apex:selectOption</code> to generate the actual test form.  But for some reason it would not render the radioboxes.  So it would seem I need to create selectOption lists and then use apex:selectOptions.  But im not sure how to set this up .  How can I have it create a public <code>list&lt;selectOption&gt;</code> automatically for each question? </p>
  
  <p>Is there a way to set up an array of <code>list&lt;selectOption&gt;</code>?</p>