Auto attachment of debug version of jsf.js crashes the loading of a page under 
ie6
----------------------------------------------------------------------------------

                 Key: MYFACES-2747
                 URL: https://issues.apache.org/jira/browse/MYFACES-2747
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Werner Punz


2.0.1 introduce a auto attachment of jsf.js in the body if jsf.ajax.request is 
somewhere in an onEvent handler and no h:head is present.

The problem is the scripts are imported without defer into the body. While this 
is perfectly viable and works on any decent browser, it causes problems on IE6 
under certain conditions (aka open subtags beneath body) which is highly 
senstive to this while having open tags.

There are several ways to fix this, 

first defer the script loading via defer, this is Microsofts recommended way to 
load scripts within the body tag in ie6
secondly, I have to evaluate if I simply change the debug eval code just for 
ie6 to global eval it might fix the issue,
third, simply do not auto include jsf.js at all, but just issue a warning that 
jsf.js should be included under development mode, so that manual includes do 
not trigger this issue.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to