You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Niels Bo (JIRA)" <ji...@apache.org> on 2008/04/09 12:29:24 UTC

[jira] Created: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
--------------------------------------------------------------------------

                 Key: WICKET-1504
                 URL: https://issues.apache.org/jira/browse/WICKET-1504
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.3.3
         Environment: IE 6.0
            Reporter: Niels Bo


I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
wich is this line in wicket-autocomplete.js: 

        menu.style.zIndex=index=="auto"?index:Number(index)+1;

Only in IE (6.0) - firefox works fine. 


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


[jira] Commented: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

Posted by "Kai Mütz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643594#action_12643594 ] 

Kai Mütz commented on WICKET-1504:
----------------------------------

I can reproduce this error on IE7.0 as well.

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Updated: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Martijn Dashorst updated WICKET-1504:
-------------------------------------

    Fix Version/s:     (was: 1.3.4)
                       (was: 1.4-M1)
                   1.4-RC2

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.4-RC2
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Resolved: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Gerolf Seitz resolved WICKET-1504.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-M1
                   1.3.4

fixed

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>            Assignee: Gerolf Seitz
>             Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Assigned: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Gerolf Seitz reassigned WICKET-1504:
------------------------------------

    Assignee: Gerolf Seitz

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>            Assignee: Gerolf Seitz
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Commented: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

Posted by "Kai Mütz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643607#action_12643607 ] 

Kai Mütz commented on WICKET-1504:
----------------------------------

I have replaced line 287 in wicket-autocomplete.js 

container.style.zIndex=(!isNaN(Number(index))?Number(index)+1:index);

with the corresponding line from 1.3.4

container.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);

Than it works again. I have tested it with IE6, IE7 anf FF

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Commented: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Shailesh commented on WICKET-1504:
----------------------------------

I am using wicket-extensions v 1.3.5 and see the javascript "Type Mismatch" error on Line 287 of wicket-autocomplete.js
 This error comes on IE6.0 only. Firefox works ok.

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Resolved: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Igor Vaynberg resolved WICKET-1504.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.6
         Assignee: Igor Vaynberg

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.6, 1.4-RC2
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Reopened: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Niels Bo reopened WICKET-1504:
------------------------------


Since the bug is back in 1.3.5 I reopen this Issue.

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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


[jira] Commented: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

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

Will Hoover commented on WICKET-1504:
-------------------------------------

It was also brought up in the forum that there is a typo in AutoCompleteTextField.java

Line 257 should be like this:
	tag.put("autocomplete", "off");
instead of this
	tag.put("autocomplete", "false");

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1504
>                 URL: https://issues.apache.org/jira/browse/WICKET-1504
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE 6.0
>            Reporter: Niels Bo
>             Fix For: 1.4-RC2
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
>         menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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