myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2277) input date popup does not open when using IE 9
Date Mon, 25 Jun 2012 16:30:43 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400588#comment-13400588
] 

Leonardo Uribe commented on TRINIDAD-2277:
------------------------------------------

Just as reference it seems it is related to the buggy behavior of IE9 related to iframe. There
is one description that suggest a possible fix:

http://stackoverflow.com/questions/8389261/ie9-throws-exceptions-when-loading-scripts-in-iframe-why

"... Further investigation revealed that the solution is to add the offending iframe to it's
dom location BEFORE setting the 'src' attribute. Once the 'src' has been set, changing location
of the iframe within the DOM stack forces IE9 to garbage collect it. Once 'src' has been set,
iframe can be resized and changed via css positioning, but cannot change the relative location
in the DOM stack.Often times, plugins like dialogs and lightboxes will stuff an iframe with
src already set into the dom, then append / prepend or whatever, triggering the GC to take
place. ..."
                
> input date popup does not open when using IE 9
> ----------------------------------------------
>
>                 Key: TRINIDAD-2277
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2277
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>            Reporter: Leonardo Uribe
>
> Checking the showcase:
> http://example.irian.at/trinidad-components-showcase/component-demo/inputDate-Detailed
> also with the latest build I can see this error using IE 9  (9.0.8112.16421)
> SCRIPT5007: Für die Eigenschaft "body" kann kein Wert abgerufen werden: Das Objekt ist
Null oder undefiniert 
> DebugCommon1_2_15.js, Zeile 15623 Zeichen 7
> Related js:
>   if (!dialog._fixedSize)
>   {
>     if (_agent.isIE)
>     {
>       dialog._resizeIFrame(
>         dialog._iframe.Document.body.scrollWidth+40, 
>         dialog._iframe.Document.body.scrollHeight+40);
>     }
>     else
> The popup does not open. Using firefox or chrome it works as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message