Skip to content
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

Nested variable support #27

Closed
dougalg opened this issue Jan 7, 2016 · 1 comment
Closed

Nested variable support #27

dougalg opened this issue Jan 7, 2016 · 1 comment

Comments

@dougalg
Copy link

dougalg commented Jan 7, 2016

Nested variables don't seem to be working as expected ie: in my template

{{ date.from }}

and rendering with something like this (using Scala)

val m = immutable.HashMap(
      "date" -> immutable.HashMap(
        "from" -> "1451865600000",
        "to" -> "1452038400000"
      )
  )
jinjava.render(template, mapAsJavaMap(m))

Renders fine, but the value is not being printed into the output.

Is this just not part of your implementation of Jinja?

@dougalg dougalg closed this as completed Jan 7, 2016
@jaredstehler
Copy link
Contributor

what ended up being the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants