myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] Resolved: (MYFACES-2747) Auto attachment of debug version of jsf.js crashes the loading of a page under ie6
Date Wed, 09 Jun 2010 09:30:28 GMT


Werner Punz resolved MYFACES-2747.

    Resolution: Fixed

Ok the issue is an old well known ie6 (and maybe 7 bug) the new loading code should fix it
and does it form me, it only does head attachements in case of ie6 and 7 while the rest does
it depending on whether the browser reacts to head attachement (firefox ie8 in some situations,
opera) or not (all webkit browsers)

> Auto attachment of debug version of jsf.js crashes the loading of a page under ie6
> ----------------------------------------------------------------------------------
>                 Key: MYFACES-2747
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.1-SNAPSHOT
>            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.

View raw message