You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Chuck Deal (JIRA)" <ji...@apache.org> on 2007/12/03 16:15:43 UTC

[jira] Updated: (WICKET-1202) Wicket.Event getId() causes error in IE6

     [ https://issues.apache.org/jira/browse/WICKET-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Deal updated WICKET-1202:
-------------------------------

    Attachment: qs-wicketevent.zip

This quickstart (against 1.3.0-SNAPSHOT) simply adds a HeaderContributor that wants to put an alert in the onLoad event.  Using IE6, you will get a javascript error and the alert will not be seen.

> Wicket.Event getId() causes error in IE6
> ----------------------------------------
>
>                 Key: WICKET-1202
>                 URL: https://issues.apache.org/jira/browse/WICKET-1202
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>            Reporter: Chuck Deal
>         Attachments: qs-wicketevent.zip
>
>
> on 11/27/2007 (rev 598811?), mknopp introduced two new js methods in wicket-event.js.  This code causes javascript errors (on IE6) with the onload script.  Other events on the page are fine, but (at least) the onLoad event uses the window object and IE issues the message "Object doesn't support this property or method".
> Specifically, I traced the problem to line 97: element.getAttribute("id").  getAttribute() is not supported by the window object.

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