[
https://issues.apache.org/jira/browse/TRINIDAD-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402071#comment-13402071
]
Leonardo Uribe commented on TRINIDAD-2277:
------------------------------------------
Yes it is legitimate. I'm able to reproduce it and debug it. I found a simple
solution to this one. Just set fixed dimensions in DateField.js _ldp function,
when IE9 is used.
Obviously that's not a complete patch, because anyway a more general culprit
should be done in PopupDialog.js
But I notice that the reason why in IE9 the popup fills the whole screen is
because dialog._iframe.document.body.scrollWidth and
dialog._iframe.Document.body.scrollHeight returns too big values (maybe related
to the window size). So, the question is if we can use something else to set
the default dimensions for a popup in IE9.
Anyway, the fix suggested sounds reasonable.
> 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