mercredi 3 juin 2015

Template view property points to parent view

I have a container view into which i insert components dynamically. When trying to access properties in that components template i've discovered that the template context is not the component but the container view, for some reason. Meaning that "view" property in template is not pointing to the component but to the container view above it. Can't find any documentation that indicates that this is supposed to happen, so any ideas as to why this is happening?




Aucun commentaire:

Enregistrer un commentaire