You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/08/09 11:06:19 UTC

[jira] [Resolved] (WICKET-4702) TypeError: Wicket.Event is undefined

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

Martin Grigorov resolved WICKET-4702.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
         Assignee: Martin Grigorov

Fixed by checking for more specific objects in the Wicket namespace in wicket-event.js and wicket-ajax.js
                
> TypeError: Wicket.Event is undefined
> ------------------------------------
>
>                 Key: WICKET-4702
>                 URL: https://issues.apache.org/jira/browse/WICKET-4702
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-examples
>    Affects Versions: 6.0.0-beta3
>         Environment: Linux hostname 3.1.10-1.9-default #1 SMP Thu Apr 5 18:48:38 UTC 2012 (4a97ec8) x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Ingo Renner
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0
>
>
> Combination of AjaxLink (also AjaxButton) with Palette produces javascript errors on page load (here Firefor, but also in IE):
> TypeError: Wicket.Event is undefined
> [Bei diesem Fehler anhalten] 	
> Wicket.Event.add(window, 'domready', Wicket.Focus.attachFocusEvent);
> wicket...9000.js (Zeile 2399)
> TypeError: Wicket.Event is undefined
> [Bei diesem Fehler anhalten] 	
> Wicket.Event.add(window, "domready", function(event) {
> ?2 (Zeile 26)
> TypeError: Wicket.Browser is undefined
> [Bei diesem Fehler anhalten] 	
> ...Wicket.Browser.isIE() && (Wicket.Browser.isIEQuirks() || !Wicket.Browser.isIE7()...
> wicket...9000.js (Zeile 177)
> CustomError: Error in protected function: !97
> When you set  palette visible=false, these errors disapear.
> Quickstart is here : https://docs.google.com/open?id=0B6-D5YvsNca8TWFLRzVSR29mMzA

--
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