-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can $context be acessible in Template? #79
Comments
Interesting idea, I don't think the context object should be exposure inside the context object. (If that makes any sense) May be expose some of meta data that describe the context object. Ex. Length, stack... Can you explain further what is the actual use cases? Sent from my iPhone
|
Actually cant find exactly how it would be usefull.. sorry. I ended implementing the template in another way. In the time what looked feasible was to pass a Your idea of Length and Stack would solve (on my mindset) if Context Resolver could handle dynamic variable names, like |
Example 1: To encode the context (a query) into json
|
Example 2: to render a sub-template with the same context
|
You can checkout the include tag that uses the current context. On 15 Oct 2014, at 5:52 am, Thiago Fernandes [email protected] wrote:
|
A use case needs to have the whole context in a variable. Is it possible currently?
The text was updated successfully, but these errors were encountered: