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 2009/09/07 22:28:57 UTC

[jira] Created: (WICKET-2455) autocomplete fix for IE6 and IE8

autocomplete fix for IE6 and IE8
--------------------------------

                 Key: WICKET-2455
                 URL: https://issues.apache.org/jira/browse/WICKET-2455
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
            Reporter: Niels Bo
            Priority: Minor


The latest version does not position the autocomplete dropdown correctly in IE6, 
and the 1.3.6 does not do it in IE8.
I found that the following is working in both IE6 and IE8

function showAutoComplete(){
....
        try {
            //Works for most browsers except for IE6 where it throws a type mismatch error
            menu.style.zIndex=index=="auto"?index:Number(index)+1;
        } catch (err) {
            //This works in IE6 but is no good it other browsers
            menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
        }


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


[jira] Resolved: (WICKET-2455) autocomplete fix for IE6 and IE8

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

Igor Vaynberg resolved WICKET-2455.
-----------------------------------

      Assignee: Igor Vaynberg
    Resolution: Cannot Reproduce

tried with 1.4.10 and it seems fine. please reopen after providing a quickstart, may be something funky in your markup/css

> autocomplete fix for IE6 and IE8
> --------------------------------
>
>                 Key: WICKET-2455
>                 URL: https://issues.apache.org/jira/browse/WICKET-2455
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Niels Bo
>            Assignee: Igor Vaynberg
>
> The latest version does not position the autocomplete dropdown correctly in IE6, 
> and the 1.3.6 does not do it in IE8.
> I found that the following is working in both IE6 and IE8
> function showAutoComplete(){
> ....
>         try {
>             //Works for most browsers except for IE6 where it throws a type mismatch error
>             menu.style.zIndex=index=="auto"?index:Number(index)+1;
>         } catch (err) {
>             //This works in IE6 but is no good it other browsers
>             menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
>         }

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


[jira] Updated: (WICKET-2455) autocomplete fix for IE6 and IE8

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

Niels Bo updated WICKET-2455:
-----------------------------

    Priority: Major  (was: Minor)

> autocomplete fix for IE6 and IE8
> --------------------------------
>
>                 Key: WICKET-2455
>                 URL: https://issues.apache.org/jira/browse/WICKET-2455
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Niels Bo
>
> The latest version does not position the autocomplete dropdown correctly in IE6, 
> and the 1.3.6 does not do it in IE8.
> I found that the following is working in both IE6 and IE8
> function showAutoComplete(){
> ....
>         try {
>             //Works for most browsers except for IE6 where it throws a type mismatch error
>             menu.style.zIndex=index=="auto"?index:Number(index)+1;
>         } catch (err) {
>             //This works in IE6 but is no good it other browsers
>             menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
>         }

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


[jira] Commented: (WICKET-2455) autocomplete fix for IE6 and IE8

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

Niels Bo commented on WICKET-2455:
----------------------------------

I have tested with IE6, IE8 and firefox.
Note that the code in the try block is the same as the lastest code, so there is no change in behaviour unless an exception is thrown.
The statement in the catch is a fallback to how it was in the 1.3.6 version.


> autocomplete fix for IE6 and IE8
> --------------------------------
>
>                 Key: WICKET-2455
>                 URL: https://issues.apache.org/jira/browse/WICKET-2455
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Niels Bo
>
> The latest version does not position the autocomplete dropdown correctly in IE6, 
> and the 1.3.6 does not do it in IE8.
> I found that the following is working in both IE6 and IE8
> function showAutoComplete(){
> ....
>         try {
>             //Works for most browsers except for IE6 where it throws a type mismatch error
>             menu.style.zIndex=index=="auto"?index:Number(index)+1;
>         } catch (err) {
>             //This works in IE6 but is no good it other browsers
>             menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
>         }

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


[jira] Commented: (WICKET-2455) autocomplete fix for IE6 and IE8

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

Igor Vaynberg commented on WICKET-2455:
---------------------------------------

have you tested this in ie7, firefox, and safari?

> autocomplete fix for IE6 and IE8
> --------------------------------
>
>                 Key: WICKET-2455
>                 URL: https://issues.apache.org/jira/browse/WICKET-2455
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Niels Bo
>
> The latest version does not position the autocomplete dropdown correctly in IE6, 
> and the 1.3.6 does not do it in IE8.
> I found that the following is working in both IE6 and IE8
> function showAutoComplete(){
> ....
>         try {
>             //Works for most browsers except for IE6 where it throws a type mismatch error
>             menu.style.zIndex=index=="auto"?index:Number(index)+1;
>         } catch (err) {
>             //This works in IE6 but is no good it other browsers
>             menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
>         }

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