title: Salesforce/Visualforce: apex:selectCheckboxes Set default as checked?
body: <p>I am creating a list of checkboxes on my visualforce page as follows</p>
  
  <pre><code>       &lt;apex:selectCheckboxes value="{productItems}" layout="pageDirection"&gt;
              &lt;apex:selectOptions value="{!items}"/&gt;&lt;br/&gt;  
         &lt;/apex:selectCheckboxes&gt;  
  </code></pre>
  
  <p>My items and productItems are set similarly to the examples in <a href="https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectOption.htm" rel="nofollow">https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectOption.htm</a></p>
  
  <p>Where or how can I set me values to have a default of true?  I do not sea setting in the visualforce component apex:selectOptions or apex:selectCheckboxes for this.</p>
  
  <p>Any help would be appreciated.</p>