You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dan (JIRA)" <de...@myfaces.apache.org> on 2006/04/25 14:54:07 UTC

[jira] Created: (TOMAHAWK-387) inputSuggestAjax doesn't suppor IME

inputSuggestAjax doesn't suppor IME
-----------------------------------

         Key: TOMAHAWK-387
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-387
     Project: MyFaces Tomahawk
        Type: Bug

  Components: InputSuggestAjax  
 Environment: Windows with Chinese locale
    Reporter: Dan 
    Priority: Critical


inputSuggestAjax respond user's action with key event. So when user presses a key, the component gets invoked. This works fine when typing in English. But with other input method (IME) e.g. Chinese input method, pressing a key doesn't change anything to the inputText i.e typing a letter involves pressing keys serveral times.  By dectecting key pressing event would cause problem in this case. 

I guess inputSuggestAjax should respond with valueChanged event instead of key press event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-387) inputSuggestAjax doesn't suppor IME

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-387?page=comments#action_12376895 ] 

Martin Marinschek commented on TOMAHAWK-387:
--------------------------------------------

But a value changed event is only fired if you tab away from the component or hit enter, so the inputSuggestAjax component wouldn't work for plain English anymore then :(

regards,

Martin

> inputSuggestAjax doesn't suppor IME
> -----------------------------------
>
>          Key: TOMAHAWK-387
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-387
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>  Environment: Windows with Chinese locale
>     Reporter: Dan 
>     Priority: Critical

>
> inputSuggestAjax respond user's action with key event. So when user presses a key, the component gets invoked. This works fine when typing in English. But with other input method (IME) e.g. Chinese input method, pressing a key doesn't change anything to the inputText i.e typing a letter involves pressing keys serveral times.  By dectecting key pressing event would cause problem in this case. 
> I guess inputSuggestAjax should respond with valueChanged event instead of key press event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-387) inputSuggestAjax doesn't suppor IME

Posted by "Dan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-387?page=comments#action_12376914 ] 

Dan  commented on TOMAHAWK-387:
-------------------------------

Any idea to solve this problem?

> inputSuggestAjax doesn't suppor IME
> -----------------------------------
>
>          Key: TOMAHAWK-387
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-387
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>  Environment: Windows with Chinese locale
>     Reporter: Dan 
>     Priority: Critical

>
> inputSuggestAjax respond user's action with key event. So when user presses a key, the component gets invoked. This works fine when typing in English. But with other input method (IME) e.g. Chinese input method, pressing a key doesn't change anything to the inputText i.e typing a letter involves pressing keys serveral times.  By dectecting key pressing event would cause problem in this case. 
> I guess inputSuggestAjax should respond with valueChanged event instead of key press event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-387) inputSuggestAjax doesn't suppor IME

Posted by "Dan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-387?page=comments#action_12376923 ] 

Dan  commented on TOMAHAWK-387:
-------------------------------

in keyup event, the javascript can dectect whether the text is actually changed, if it's not, then no need to notify the server.

> inputSuggestAjax doesn't suppor IME
> -----------------------------------
>
>          Key: TOMAHAWK-387
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-387
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>  Environment: Windows with Chinese locale
>     Reporter: Dan 
>     Priority: Critical

>
> inputSuggestAjax respond user's action with key event. So when user presses a key, the component gets invoked. This works fine when typing in English. But with other input method (IME) e.g. Chinese input method, pressing a key doesn't change anything to the inputText i.e typing a letter involves pressing keys serveral times.  By dectecting key pressing event would cause problem in this case. 
> I guess inputSuggestAjax should respond with valueChanged event instead of key press event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira