{"action":"created","issue":{"url":"https://api.github.com/repos/jknack/handlebars.java/issues/350","labels_url":"https://api.github.com/repos/jknack/handlebars.java/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/jknack/handlebars.java/issues/350/comments","events_url":"https://api.github.com/repos/jknack/handlebars.java/issues/350/events","html_url":"https://github.com/jknack/handlebars.java/issues/350","id":59136846,"number":350,"title":"Partials with parameters","user":{"login":"karlhorky","id":1935696,"avatar_url":"https://avatars.githubusercontent.com/u/1935696?v=3","gravatar_id":"","url":"https://api.github.com/users/karlhorky","html_url":"https://github.com/karlhorky","followers_url":"https://api.github.com/users/karlhorky/followers","following_url":"https://api.github.com/users/karlhorky/following{/other_user}","gists_url":"https://api.github.com/users/karlhorky/gists{/gist_id}","starred_url":"https://api.github.com/users/karlhorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlhorky/subscriptions","organizations_url":"https://api.github.com/users/karlhorky/orgs","repos_url":"https://api.github.com/users/karlhorky/repos","events_url":"https://api.github.com/users/karlhorky/events{/privacy}","received_events_url":"https://api.github.com/users/karlhorky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jknack/handlebars.java/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jknack/handlebars.java/milestones/32","html_url":"https://github.com/jknack/handlebars.java/milestones/2.1.0","labels_url":"https://api.github.com/repos/jknack/handlebars.java/milestones/32/labels","id":912347,"number":32,"title":"2.1.0","description":"","creator":{"login":"jknack","id":1301129,"avatar_url":"https://avatars.githubusercontent.com/u/1301129?v=3","gravatar_id":"","url":"https://api.github.com/users/jknack","html_url":"https://github.com/jknack","followers_url":"https://api.github.com/users/jknack/followers","following_url":"https://api.github.com/users/jknack/following{/other_user}","gists_url":"https://api.github.com/users/jknack/gists{/gist_id}","starred_url":"https://api.github.com/users/jknack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknack/subscriptions","organizations_url":"https://api.github.com/users/jknack/orgs","repos_url":"https://api.github.com/users/jknack/repos","events_url":"https://api.github.com/users/jknack/events{/privacy}","received_events_url":"https://api.github.com/users/jknack/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":26,"state":"closed","created_at":"2014-12-22T15:51:37Z","updated_at":"2015-04-27T23:17:21Z","due_on":null,"closed_at":"2015-04-27T23:17:21Z"},"comments":7,"created_at":"2015-02-26T20:20:38Z","updated_at":"2015-07-10T12:33:28Z","closed_at":"2015-04-26T22:53:52Z","body":"Can you support the handlebars.js partial parameters notation? Like in the spec [here](https://github.com/wycats/handlebars.js/blob/e290ec24f131f89ddf2c6aeb707a4884d41c3c6d/spec/partials.js#L26-L32)?\r\n\r\n*context*\r\n```json\r\n{\r\n  \"title\": \"profile\",\r\n  \"dudes\": [\r\n    {\r\n      \"name\": \"Yehuda\",\r\n      \"url\": \"http://yehuda\"\r\n    },\r\n    {\r\n      \"name\": \"Alan\",\r\n      \"url\": \"http://alan\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\n*index.hbs*\r\n```hbs\r\n<ul>\r\n  {{#each dudes}}\r\n    {{> dude title=../title class=\"list-item\"}}\r\n  {{/each}}\r\n</ul>\r\n```\r\n\r\n*dude.hbs*\r\n```hbs\r\n<li class=\"{{class}}\">\r\n  {{title}}: <a href=\"{{url}}\">{{name}}</a>\r\n</li>\r\n```\r\n\r\n*expected output*\r\n```html\r\n<ul>\r\n  <li class=\"list-item\">\r\n    profile: <a href=\"http://yehuda\">Yehuda</a>\r\n  </li>\r\n  <li class=\"list-item\">\r\n    profile: <a href=\"http://alan\">Alan</a>\r\n  </li>\r\n</ul>\r\n```\r\n\r\nI saw the `#partial` and `#block` helpers [here](https://github.com/jknack/handlebars.java/commit/61fea24059b19507ea91d167bd988582a50b2c4c), but I'm working on a project where we would like to keep parity with handlebars.js if possible."},"comment":{"url":"https://api.github.com/repos/jknack/handlebars.java/issues/comments/120399748","html_url":"https://github.com/jknack/handlebars.java/issues/350#issuecomment-120399748","issue_url":"https://api.github.com/repos/jknack/handlebars.java/issues/350","id":120399748,"user":{"login":"jknack","id":1301129,"avatar_url":"https://avatars.githubusercontent.com/u/1301129?v=3","gravatar_id":"","url":"https://api.github.com/users/jknack","html_url":"https://github.com/jknack","followers_url":"https://api.github.com/users/jknack/followers","following_url":"https://api.github.com/users/jknack/following{/other_user}","gists_url":"https://api.github.com/users/jknack/gists{/gist_id}","starred_url":"https://api.github.com/users/jknack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknack/subscriptions","organizations_url":"https://api.github.com/users/jknack/orgs","repos_url":"https://api.github.com/users/jknack/repos","events_url":"https://api.github.com/users/jknack/events{/privacy}","received_events_url":"https://api.github.com/users/jknack/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T12:33:28Z","updated_at":"2015-07-10T12:33:28Z","body":"did you see any error? there are a few unit tests that demonstrate partials param in action. Here is one: https://github.com/jknack/handlebars.java/blob/master/handlebars/src/test/java/com/github/jknack/handlebars/i350/Issue350.java"}}