{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/44","labels_url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/44/comments","events_url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/44/events","html_url":"https://github.com/ReactiveCouchbase/ReactiveCouchbase-play/issues/44","id":73417220,"number":44,"title":"F.Promise with Multi Object to Scala Template Play Framework Java","user":{"login":"sivailango","id":7359021,"avatar_url":"https://avatars.githubusercontent.com/u/7359021?v=3","gravatar_id":"","url":"https://api.github.com/users/sivailango","html_url":"https://github.com/sivailango","followers_url":"https://api.github.com/users/sivailango/followers","following_url":"https://api.github.com/users/sivailango/following{/other_user}","gists_url":"https://api.github.com/users/sivailango/gists{/gist_id}","starred_url":"https://api.github.com/users/sivailango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivailango/subscriptions","organizations_url":"https://api.github.com/users/sivailango/orgs","repos_url":"https://api.github.com/users/sivailango/repos","events_url":"https://api.github.com/users/sivailango/events{/privacy}","received_events_url":"https://api.github.com/users/sivailango/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-05T20:05:06Z","updated_at":"2015-05-06T15:34:53Z","closed_at":"2015-05-06T13:11:27Z","body":"I have two objects bookmark, bookmarks, i want to pass object as parameters to Scala Templates like\r\n\r\nreturn ok(views.html.bookmarks.list.render(bookmark, bookmarks));\r\n\r\nin F.Promise,\r\n\r\n    F.Promise<Bookmark> bookmark = Bookmark.findById(id);\r\n    F.Promise<Collection<Bookmark>> bookmarks = Bookmark.findAll();\r\n    // here how to write the code that should pass both objects to scala template\r\n}\r\n\r\nHow to write the return statement to pass these two objects in F.Promise without Json Result?"},"comment":{"url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/comments/99515721","html_url":"https://github.com/ReactiveCouchbase/ReactiveCouchbase-play/issues/44#issuecomment-99515721","issue_url":"https://api.github.com/repos/ReactiveCouchbase/ReactiveCouchbase-play/issues/44","id":99515721,"user":{"login":"mathieuancelin","id":277206,"avatar_url":"https://avatars.githubusercontent.com/u/277206?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieuancelin","html_url":"https://github.com/mathieuancelin","followers_url":"https://api.github.com/users/mathieuancelin/followers","following_url":"https://api.github.com/users/mathieuancelin/following{/other_user}","gists_url":"https://api.github.com/users/mathieuancelin/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieuancelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieuancelin/subscriptions","organizations_url":"https://api.github.com/users/mathieuancelin/orgs","repos_url":"https://api.github.com/users/mathieuancelin/repos","events_url":"https://api.github.com/users/mathieuancelin/events{/privacy}","received_events_url":"https://api.github.com/users/mathieuancelin/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T15:34:53Z","updated_at":"2015-05-06T15:34:53Z","body":"I guess you're not using Java 8 "}}