I'm using pages to create a form, where I can select one of multiple rows. the data context of a raw (itemTemplate) at the moment is just the data from a single record from the collection I'm paginating. This is ok in general, but sometimes I need to access the data context of the parent template (templateName) . I could climb the blaze hierarchy, but this is super cumbersome and at the moment I'm using a session variable to get this information. I feel this is super hacky . Is there a way to pass the parent data context to each item, so to have an easy access to it ?
I'm using pages to create a form, where I can select one of multiple rows. the data context of a raw (itemTemplate) at the moment is just the data from a single record from the collection I'm paginating. This is ok in general, but sometimes I need to access the data context of the parent template (templateName) . I could climb the blaze hierarchy, but this is super cumbersome and at the moment I'm using a session variable to get this information. I feel this is super hacky . Is there a way to pass the parent data context to each item, so to have an easy access to it ?