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

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

Ingo Renner created WICKET-4702:
-----------------------------------

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


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

        

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

Posted by "Ingo Renner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433362#comment-13433362 ] 

Ingo Renner commented on WICKET-4702:
-------------------------------------

Application and Quickstart

mvn -U jetty:run with the quickstart: 
TypeError: Wicket.Palette is undefined

Don't know if this helps, mvn downloaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/6.0-SNAPSHOT/wicket-core-6.0-20120813.160808-1493.pom
https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/6.0-SNAPSHOT/wicket-core-6.0-20120813.160808-1493.jar
and
https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-extensions/6.0-SNAPSHOT/wicket-extensions-6.0-20120813.160901-1490.pom
https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-extensions/6.0-SNAPSHOT/wicket-extensions-6.0-20120813.160901-1490.jar


                
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433219#comment-13433219 ] 

Martin Grigorov commented on WICKET-4702:
-----------------------------------------

The quickstart works for me.
Do you experience the problem with the same quickstart or with your application ?
                
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reopened WICKET-4702:
-------------------------------------

    
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed

Improved the check in wicket-event.js to not override window.Wicket if it already exists.
                
> 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

        

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

Posted by "Ingo Renner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433024#comment-13433024 ] 

Ingo Renner commented on WICKET-4702:
-------------------------------------

The Wicket.Event error has gone, the  AjaxLink (also AjaxButton) are working again. But sadly, now the palette isn't working anymore, the JS Wicket.palette (if I remember the name right) object is now missing.
                
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ 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