jsf.js: improve dynamic code loading
------------------------------------

                 Key: MYFACES-3071
                 URL: https://issues.apache.org/jira/browse/MYFACES-3071
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 2.0.4
            Reporter: Werner Punz
            Priority: Minor


Up until now we have used synchronous http get requests and evals to load the 
scripts. Now html5 opens another way we still can use the head appendix method 
but differently than before, we simply have to move it over to the addition of 
script src elements with async set to false and true depending on the script 
being loadable asynchronously or not.
Also we can add this mechanism to our existing synchronous load by making the 
mechanism either asynchronous or synchronous.
We then can redjust our dynamic loading code for the debugging case to this new 
loading method.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to