title: "Menu of subpages" doesn't work in a Typo3 Fluid template while fetching a record from a page
body: <p>I'm trying to add a "user controlled" footer in the main layout of a <em>Typo3 Fluid</em> based template.<br />
  This means that I've added a <em>backend layout</em> with four columns in a special back-end page called "footer page". A user is able to add content elements in those columns using the <em>WEB > PAGE</em> module.<br />
  Whenever a user adds a content element (<em>text, text w/images, bullet lists, etc...</em>) in one of the columns, everything works and the content is correctly displayed. 
  But when the user tries to add a <em>special menu</em> content element, the menu isn't displayed and the column container stays empty.</p>
  
  <h3>the main layout</h3>
  
  <pre><code>&lt;body&gt;
      ...
      &lt;div id="footer"&gt;
          &lt;f:cObject typoscriptObjectPath="lib.footer" /&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <hr>
  
  <h3>main PAGE typoscript</h3>
  
  <pre><code>page = PAGE
  page {
      # Regular pages always have typeNum = 0
      typeNum = 0
      10 = FLUIDTEMPLATE
      10 {
          #file = {$filepaths.templates}index_f.html
          partialRootPath = {$filepaths.templates}partials/
          layoutRootPath = {$filepaths.templates}layouts/
          variables {
              ...
              footer &lt; lib.footer
              ...
          }
       }
  }
  </code></pre>
  
  <hr>
  
  <h3>lib.footer typoscript</h3>
  
  <pre><code>lib.footer = COA
  lib.footer {
      10 = CONTENT
      10 {
          table = tt_content
          select.pidInList = {$contentpage.footerPID}
          select.where = colPos = 901
          select.orderBy = sorting
          stdWrap.wrap = &lt;div id="footer-widget-1" class="col205"&gt;|&lt;/div&gt;
      }
      20 = CONTENT
      20 {
          table = tt_content
          select.pidInList = {$contentpage.footerPID}
          select.where = colPos = 902
          select.orderBy = sorting
          stdWrap.wrap = &lt;div id="footer-widget-2" class="col205"&gt;|&lt;/div&gt;
      }
      ...
  }
  </code></pre>
  
  <p>Am I doing something wrong or is it a bug?
  Typo3 version is 6.0.4</p>