[
https://issues.apache.org/jira/browse/MYFACES-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923134#action_12923134
]
Jakob Korherr commented on MYFACES-2949:
----------------------------------------
Could you please specify which script resources you mean (maybe provide a
facelet page and the HTML output). As far as I know MyFaces uses the resource
handling mechanism in every possible place.
> I think that MyFaces should use JSF 2 resource handling instead of directly
> write script resources to the output stream
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-2949
> URL: https://issues.apache.org/jira/browse/MYFACES-2949
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.2
> Environment: ALL
> Reporter: Hampus Wingren
>
> I think that MyFaces should use JSF 2 resource handling instead of directly
> write script resources to the output stream. Why not use the
> UIViewRoot.addComponentResource. The problem I´m having is that I´ve got a
> simple portal implementation that queries the resources added to the viewroot
> and then puts them in the portal <head> section.
> This could potentially be a problem in a portlet environment where several
> portlets will write out this script import directly to the response stream
> instead of collecting one of them under head.
> Regards,
> Hampus
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.