{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/374","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/374/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/374/events","html_url":"https://github.com/primefaces/primefaces/issues/374","id":82487066,"number":374,"title":"DeltaSike ViewAccessScoped support for StreamedConent","user":{"login":"99sono","id":6862623,"avatar_url":"https://avatars.githubusercontent.com/u/6862623?v=3","gravatar_id":"","url":"https://api.github.com/users/99sono","html_url":"https://github.com/99sono","followers_url":"https://api.github.com/users/99sono/followers","following_url":"https://api.github.com/users/99sono/following{/other_user}","gists_url":"https://api.github.com/users/99sono/gists{/gist_id}","starred_url":"https://api.github.com/users/99sono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99sono/subscriptions","organizations_url":"https://api.github.com/users/99sono/orgs","repos_url":"https://api.github.com/users/99sono/repos","events_url":"https://api.github.com/users/99sono/events{/privacy}","received_events_url":"https://api.github.com/users/99sono/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/primefaces/primefaces/labels/wontfix","name":"wontfix","color":"c0c0c0"}],"state":"closed","locked":false,"assignee":{"login":"tandraschko","id":2485545,"avatar_url":"https://avatars.githubusercontent.com/u/2485545?v=3","gravatar_id":"","url":"https://api.github.com/users/tandraschko","html_url":"https://github.com/tandraschko","followers_url":"https://api.github.com/users/tandraschko/followers","following_url":"https://api.github.com/users/tandraschko/following{/other_user}","gists_url":"https://api.github.com/users/tandraschko/gists{/gist_id}","starred_url":"https://api.github.com/users/tandraschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tandraschko/subscriptions","organizations_url":"https://api.github.com/users/tandraschko/orgs","repos_url":"https://api.github.com/users/tandraschko/repos","events_url":"https://api.github.com/users/tandraschko/events{/privacy}","received_events_url":"https://api.github.com/users/tandraschko/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-05-29T16:06:44Z","updated_at":"2015-05-31T20:19:04Z","closed_at":"2015-05-29T21:46:28Z","body":"This issue was original posted and described under:\r\nhttps://issues.apache.org/jira/browse/DELTASPIKE-914\r\n\r\nIt essentially has to do with the fact that it appears that p:graphicImage will not work properly if the dynamic content is coming out of a view access scoped bean.\r\n\r\nA sample application that can reproduce the issue is available under:\r\nhttps://github.com/99sono/delta-spike-dynamic-content_issue/\r\n\r\nAfter an initial analysis of the code involved in rendering the p:graphicImage and the PrimeResourceHandler , I am under the impression that this issue might need the coordination of both teams (primefaces and deltaspike) to be fixed.\r\n\r\nKindest regards."},"comment":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/comments/107241344","html_url":"https://github.com/primefaces/primefaces/issues/374#issuecomment-107241344","issue_url":"https://api.github.com/repos/primefaces/primefaces/issues/374","id":107241344,"user":{"login":"99sono","id":6862623,"avatar_url":"https://avatars.githubusercontent.com/u/6862623?v=3","gravatar_id":"","url":"https://api.github.com/users/99sono","html_url":"https://github.com/99sono","followers_url":"https://api.github.com/users/99sono/followers","following_url":"https://api.github.com/users/99sono/following{/other_user}","gists_url":"https://api.github.com/users/99sono/gists{/gist_id}","starred_url":"https://api.github.com/users/99sono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99sono/subscriptions","organizations_url":"https://api.github.com/users/99sono/orgs","repos_url":"https://api.github.com/users/99sono/repos","events_url":"https://api.github.com/users/99sono/events{/privacy}","received_events_url":"https://api.github.com/users/99sono/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T20:19:04Z","updated_at":"2015-05-31T20:19:04Z","body":"Hi there,\r\nAnd thank you for the feedback.\r\n\r\nRdebusscher, I have taken a look at the blogpost associated to teh AvancedGraphicImageRenderer, it sounds to me like the functionality you've implemented should actually be added to the standard primefaces. Namely, as an optional attribute to the standard renderer such as resolutionStrategy=\"default/tmpFolder/etc...\"\r\n\r\nAnother thing, the readme file of the project is missing some information on the usage of the library.\r\nIt essentially it just states that you have to add the maven dependency.\r\n\r\nIt would be important for the readMe to explain the main ideas of the blog-post:\r\n(1) That it works around the fact that in some cases value expressions will fail to be resolved by the resource handler and that the new enhanced graphic image will work around it by physically strogin the imageto a temp folder\r\n\r\n(2) That it activates automatically on scenarios where a smart alrogithm fifugres out that the EL expression would break\r\n\r\n(3) For scenarios where the algorithm fails to figure out that the code would braek that there is an attribute that you can tune in the compnent to force the tmp strategy to activate forcefully -  which I suppose is the scenario I would need to use as a work around for the ViewAccessScoped bean not being active.\r\nI will try to give it a try on monday.\r\n\r\n\"  By specifying a boolean value for the value attribute, you can control the usage of the advanced rendering functionality.\"\r\n\r\nThis is a bit abstract. The good thing is that a boolean value is a binary thing is either true or false.\r\nI suppose this means that if in the graphic image you set value=\"true\" you will activate the feature... but this is left for interpretation. Could you perhaps put a concrete example on how to froce the advanced feature to activate on the p:graphicImage?\r\n\r\nMany thanks."}}