had the same problem, couldn't find a function for this so here is my workaround:
say 'ProjectHolder' has 'VirtualPage' children pointing to some 'ProjectPage'. every 'ProjectPage' has a field 'Date', aside from the content, i want to show on my 'ProjectHolder' page:
in ProjectHolder_Controller:
function projectPages() {
$children = $this->Children();
$return = new DataObjectSet();
for ($i = 0; $i < $children->TotalItems(); $i++) {
$virtualPage = DataObject::get_by_id("VirtualPage", $children->Current()->ID);
$projectPage = DataObject::get_by_id("ProjectPage", $virtualPage->CopyContentFromID);
$return->push($projectPage);
$children->next();
}
return $return;
}
in ProjectHolder.ss:
<% control projectPages %>
Project Date: $Date
Project Content: $Content
<% end_control %>
hth