myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-796) inputCalendar doesn't work under Opera 9 when renderAsPopup is 'true'
Date Fri, 04 Jan 2008 11:22:35 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555894#action_12555894
] 

Simon Kitching commented on TOMAHAWK-796:
-----------------------------------------

Ok, the javascript error is now fixed for Opera 9.x. As noted by Paul Reeves, Opera does not
allow the parameter to document.createElement to contain html; instead it must contain just
the name of the dom element type desired. Actually, allowing anything else is weird, so as
usual Opera is right and IE is wrong.

I haven't fixed the positioning problem with the popup calendar on Opera 9.; it currently
appears in the top-left of the window rather than relative to the button that triggers it.
Paul, if you can submit a patch containing the fix you found, I'll test and apply it. Otherwise
I'll try to get around to using the info from the rails link provided. I'm not an Opera user,
however, so it isn't high priority for me.

I have tested just with Opera 9.25; if someone could test with Opera 8.x that would be nice.

> inputCalendar doesn't work under Opera 9 when renderAsPopup is 'true'
> ---------------------------------------------------------------------
>
>                 Key: TOMAHAWK-796
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-796
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 1.1.3, 1.1.5-SNAPSHOT
>         Environment: Windows, Opera 9.02 (also 9.01), Sun Java Runtime Environment version
1.4
>            Reporter: Safronov Sergey
>            Priority: Critical
>
> after click on calendar image we have errors in Opera error console: 
> Event thread: click
> Error:
> Unhandled exception: [Object DOMException]
> code: 5
> message: INVALID_CHARACTER_ERR
> Backtrace:
>   Line 124 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/calendar.HtmlCalendarRenderer/popcalendar.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     iframe = document.createElement("<iframe id='" + overDiv.id + "_IFRAME' style='visibility:hidden;
position: absolute; top:0px;left:0px;'/>");
>   Line 1393 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/calendar.HtmlCalendarRenderer/popcalendar.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     this._hideElement(this.calendarDiv);
>   Line 1282 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/calendar.HtmlCalendarRenderer/popcalendar.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     this._popUpCalendar_Show(ctl);
>   Line 1 of  script 
>     form_3AbeginDateCalendarVar._popUpCalendar(this, document.getElementById("form:beginDate"),
"dd.MM.yyyy");
>   At unknown location
>     [statement source code not available]
> Timeout thread: delay 200 ms
> Error:
> Unhandled exception: [Object DOMException]
> code: 5
> message: INVALID_CHARACTER_ERR
> Backtrace:
>   Line 124 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/calendar.HtmlCalendarRenderer/popcalendar.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     iframe = document.createElement("<iframe id='" + overDiv.id + "_IFRAME' style='visibility:hidden;
position: absolute; top:0px;left:0px;'/>");
>   Line 1390 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/calendar.HtmlCalendarRenderer/popcalendar.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     this._hideElement(this.calendarDiv);
>   Line 52 of linked script http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11642727/prototype.PrototypeResourceLoader/prototype.js;jsessionid=9B5EA2BE7C36884AD86ABDEC32B2A84E
>     return __method.apply(object, args.concat($A(arguments)));
>   At unknown location
>     [statement source code not available]
> you can try http://example.irian.at/example-simple-20061123/calendar.jsf (MyFaces Tomahawk
Examples latest build) to see it.
> --
> Best regards, Sergey

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


Mime
View raw message