{"action":"created","issue":{"url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/59","labels_url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/59/comments","events_url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/59/events","html_url":"https://github.com/liferay/liferay-faces-alloy/pull/59","id":123256489,"number":59,"title":"FACES-2549 alloy:outputScript target=\"body\" is not rendered","user":{"login":"stiemannkj1","id":3483874,"avatar_url":"https://avatars.githubusercontent.com/u/3483874?v=3","gravatar_id":"","url":"https://api.github.com/users/stiemannkj1","html_url":"https://github.com/stiemannkj1","followers_url":"https://api.github.com/users/stiemannkj1/followers","following_url":"https://api.github.com/users/stiemannkj1/following{/other_user}","gists_url":"https://api.github.com/users/stiemannkj1/gists{/gist_id}","starred_url":"https://api.github.com/users/stiemannkj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stiemannkj1/subscriptions","organizations_url":"https://api.github.com/users/stiemannkj1/orgs","repos_url":"https://api.github.com/users/stiemannkj1/repos","events_url":"https://api.github.com/users/stiemannkj1/events{/privacy}","received_events_url":"https://api.github.com/users/stiemannkj1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T11:06:18Z","updated_at":"2016-01-05T00:34:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/liferay/liferay-faces-alloy/pulls/59","html_url":"https://github.com/liferay/liferay-faces-alloy/pull/59","diff_url":"https://github.com/liferay/liferay-faces-alloy/pull/59.diff","patch_url":"https://github.com/liferay/liferay-faces-alloy/pull/59.patch"},"body":null},"comment":{"url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/comments/168854276","html_url":"https://github.com/liferay/liferay-faces-alloy/pull/59#issuecomment-168854276","issue_url":"https://api.github.com/repos/liferay/liferay-faces-alloy/issues/59","id":168854276,"user":{"login":"ngriffin7a","id":989387,"avatar_url":"https://avatars.githubusercontent.com/u/989387?v=3","gravatar_id":"","url":"https://api.github.com/users/ngriffin7a","html_url":"https://github.com/ngriffin7a","followers_url":"https://api.github.com/users/ngriffin7a/followers","following_url":"https://api.github.com/users/ngriffin7a/following{/other_user}","gists_url":"https://api.github.com/users/ngriffin7a/gists{/gist_id}","starred_url":"https://api.github.com/users/ngriffin7a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngriffin7a/subscriptions","organizations_url":"https://api.github.com/users/ngriffin7a/orgs","repos_url":"https://api.github.com/users/ngriffin7a/repos","events_url":"https://api.github.com/users/ngriffin7a/events{/privacy}","received_events_url":"https://api.github.com/users/ngriffin7a/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T00:34:56Z","updated_at":"2016-01-05T00:34:56Z","body":"@stiemannkj1 Before merging, I'd like to discuss a different way to fix this that might be more straightforward. Perhaps we could simply have BodyRendererUtilImpl.encodeEnd(FacesContext,UIComponent) call super.encodeEnd(FacesContext,UIComponent) with a special ResponseWriter that will write the scripts when ResponseWriter.endElement(String) is called with value \"body\". That will provide an opportunity to write out all the scripts with the ScriptsEncoder just before the closing </body> tag."}}