[
https://issues.apache.org/jira/browse/MYFACES-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869936#action_12869936
]
Werner Punz commented on MYFACES-2714:
--------------------------------------
Ok I have to admit, I am an idiot, the method you just used is perfectly valid,
only inline scripts are not evaled automatically by the browser if you work
over innerHTML...
I am going to submit the integration soon, I just renamed your method to
loadScript and added a fallback mechanism just in case the browser prevents
head alteration, and proper defer handling, so that everything should work
across browsers.
> Include uncompressed jsf.js file and use it when development mode is used
> -------------------------------------------------------------------------
>
> Key: MYFACES-2714
> URL: https://issues.apache.org/jira/browse/MYFACES-2714
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Attachments: MYFACES-2714-2.patch, MYFACES-2714-3.patch,
> MYFACES-2714-4.patch, MYFACES-2714-5.patch, MYFACES-2714-6.patch
>
>
> Reading some blogs about jsf 2.0, I notice mojarra include an uncompressed
> jsf.js file and use it when development mode is used. It is difficult to
> debug myfaces javascript for users and I think it is worth to do it too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.