Adding a Zone inside a Part (has a viewmodel)

Topics: Customizing Orchard, Writing modules, Writing themes
Oct 11, 2013 at 11:32 AM
crosspost: http://stackoverflow.com/questions/19315900/orchard-adding-a-zone-inside-a-part-has-a-viewmodel

Here's the full scenario:
I have an EventItem content item which has an EventItem part containing all the custom fields (intro text, agenda, etc). I have another part attached to EventItem called tracks. The issue now is I want to add a Zone inside tracks so I can render fields from EventItem onto tracks via placement through the dynamic Zone. I know I could pull the data and render it inside the part, but I want it to be flexible and would prefer using placement/zones.

I know dynamic Zones are easy with alternates, like the one below on my Content-EventItem.Detail alternate:
@Display(Model.ImageArea)
However, my part uses a viewmodel so I need to predefine whatever properties/objects I use. I've read this blog as well but it doesn't work, or maybe I missed something:
http://weblogs.asp.net/bleroy/archive/2011/06/30/so-what-are-zones-really.aspx

Here's my full code (omitted irrelevant parts of code):

Track Part Template
@{
Func<dynamic, dynamic> Zone = x => Display(x);
}

<div id="Overview-Tab" class="track-tab">
   @Zone(Model.Overview)
</div>
Track Part Viewmodel
public class DisplayAllViewModel
{
    //public Shape Overview { get; set; }
    public object Overview { get; set; }
    public List<TrackItem> Tracks { get; set; }
}
Placement for EventItem
<Match ContentType="EventItem">
    <Match DisplayType="Detail">
    <Place
        Fields_Sections="Overview:1"
        Parts_Tracks="Content:2.5.6" />
    </Match>
</Match>
The Sections field doesn't display at all when I use the Overview Zone.

Any piece of advise or information would be highly appreciated. Thanks!