Closed bfcamara closed 9 years ago
There is no easy way to ask a ScopeContext for it's parent. I can see it being useful to add a Parent property to the ScopeContext. You'd know you were at the top when the Parent is null. Then "this" would refer to the top of the stack.
Is it possible to get the root object in a custom tag definition?
Here what I'm trying to accomplish
Then I want to do this in my template
Alternatively, I can define another parameter with the source object
But I'm trying to avoid it.
Any idea